cipher

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: May 2, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AESConfig

type AESConfig struct {
	Key []byte
	IV  [aes.BlockSize]byte
}

func (AESConfig) Decrypt

func (cfg AESConfig) Decrypt(r io.ReadCloser) (io.ReadCloser, error)

func (AESConfig) Encrypt

func (cfg AESConfig) Encrypt(w io.WriteCloser) (io.WriteCloser, error)

func (AESConfig) Stream

func (cfg AESConfig) Stream() (cipher.Stream, error)

Jump to

Keyboard shortcuts

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