Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Encryption ¶
type Encryption interface { // NewIV returns an initialization vector. NewIV() []byte // Encrypt the data using the initialization vector. Encrypt(iv, data []byte) ([]byte, error) // Decrypt the data using the initialization vector. Decrypt(iv, data []byte) ([]byte, error) }
Encryption is an interface for encrypting and decrypting data.
Click to show internal directories.
Click to hide internal directories.