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 ChaCha20-Poly1305 encrypter. Key must be exactly 32 bytes.
Click to show internal directories.
Click to hide internal directories.