Documentation ¶
Index ¶
Constants ¶
View Source
const NonceSize = 12
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cryptor ¶
func NewCryptor ¶
func NewCryptor(keyManager KeyManager, prng io.Reader) Cryptor
type EncryptionConfig ¶
type KeyManager ¶
func NewKeyManager ¶
func NewKeyManager(encryptionKey Key, decryptionKeys []Key) (KeyManager, error)
Click to show internal directories.
Click to hide internal directories.