Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidData = errors.New("atedja/gencrypt: invalid data")
Functions ¶
This section is empty.
Types ¶
type AES ¶
type AES struct { Secret []byte // contains filtered or unexported fields }
func New ¶
Create a new AES encryption using a secret key. Secret key length has to be either 16, 24, or 32 bytes to select AES-128, AES-192, or AES-256. See golang crypto/aes for more information.
Click to show internal directories.
Click to hide internal directories.