Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EncryptManager ¶
type EncryptManager interface {
UpdateKeys(keyringConfig config.DatabaseEncryptionKey)
Encrypt(plaintext string) ([]byte, error)
Decrypt(data []byte) (string, error)
}
func NewEncryptManager ¶
func NewEncryptManager() EncryptManager
Click to show internal directories.
Click to hide internal directories.