Documentation ¶ Index ¶ type AESConfig func (cfg AESConfig) Decrypt(r io.Reader) (io.Reader, error) func (cfg AESConfig) Encrypt(w io.Writer) (io.Writer, error) func (cfg AESConfig) Stream() (cipher.Stream, error) 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.Reader) (io.Reader, error) func (AESConfig) Encrypt ¶ func (cfg AESConfig) Encrypt(w io.Writer) (io.Writer, error) func (AESConfig) Stream ¶ func (cfg AESConfig) Stream() (cipher.Stream, error) Source Files ¶ View all Source files aes.go Click to show internal directories. Click to hide internal directories.