crypt

package
v0.0.0-...-677f350 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 22, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAesCipher

func NewAesCipher(aesKey []byte) (*aesCipher, error)

Types

type Cipher

type Cipher interface {
	Encrypt(ctx context.Context, reader io.Reader) (io.Reader, error)
	Decrypt(ctx context.Context, reader io.Reader) (io.Reader, error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL