Documentation ¶
Overview ¶
Package aes transforms values for storage at rest using AES-GCM.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInvalidBlockSize = fmt.Errorf("the stored data is not a multiple of the block size")
)
Functions ¶
func NewCBCTransformer ¶
func NewCBCTransformer(block cipher.Block) value.Transformer
NewCBCTransformer takes the given block cipher and performs encryption and decryption on the given data.
func NewGCMTransformer ¶
func NewGCMTransformer(block cipher.Block) value.Transformer
NewGCMTransformer takes the given block cipher and performs encryption and decryption on the given data.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.