Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Block ¶
type Block interface { Decrypt([]byte) ([]byte, error) // Decrypt decrypts the provided data DecryptFromString(string) ([]byte, error) // DecryptFromString decrypts data stored in a hex encoded string Encrypt([]byte) ([]byte, error) // Encrypt encrypts the provided data EncryptToString([]byte) (string, error) // EncryptToString encrypts the provided data and returns it as a nex encoded string }
Block is an interface that wraps an AES Cipher to be used for encryption and decryption of data.
Click to show internal directories.
Click to hide internal directories.