Documentation
¶
Overview ¶
Package cryptography contains the interfaces and implementations for encrypting and decrypting data.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrIncorrectKeyLength = errors.New("secret is not the right length") // ErrMalformedCiphertext is returned when ciphertext is too short to contain a nonce. ErrMalformedCiphertext = errors.New("malformed ciphertext") )
Functions ¶
This section is empty.
Types ¶
type EncryptorDecryptor ¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package aes contains the interfaces and implementations for encrypting and decrypting data.
|
Package aes contains the interfaces and implementations for encrypting and decrypting data. |
|
Package encryptionmock provides mock implementations of the encryption package's interfaces.
|
Package encryptionmock provides mock implementations of the encryption package's interfaces. |
|
Package salsa20 contains the interfaces and implementations for encrypting and decrypting data.
|
Package salsa20 contains the interfaces and implementations for encrypting and decrypting data. |
Click to show internal directories.
Click to hide internal directories.