Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrMissmatchedNonceSize = errors.New("missmatched nonce size")
Functions ¶
This section is empty.
Types ¶
type Encrypter ¶
type Encrypter struct {
// contains filtered or unexported fields
}
func NewEncrypter ¶
NewEncrypter creates a new AES encrypter with the provided key. Key should be 16, 24, or 32 bytes for AES-128, AES-192, or AES-256.
Click to show internal directories.
Click to hide internal directories.