Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AESCryptor ¶
type AESCryptor interface {
CBCEncrypt(data []byte) ([]byte, error)
CBCDecrypt(cipher []byte) ([]byte, error)
}
func NewAESCryptor ¶
func NewAESCryptor(key []byte) AESCryptor
Click to show internal directories.
Click to hide internal directories.