Documentation
¶
Overview ¶
Package envelope implements envelope encryption using a two-tier key hierarchy: system keys (KEKs) protect data encryption keys (DEKs), and DEKs protect application data.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Encryptor ¶
type Encryptor struct {
// contains filtered or unexported fields
}
Encryptor performs envelope encrypt/decrypt using a keyring, key store, and cipher.
func NewEncryptor ¶
NewEncryptor returns an Encryptor wired to the given keyring, store, and cipher.
Click to show internal directories.
Click to hide internal directories.