Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrKeyLengthMax = errors.New("key length cannot exceed 32") ErrKeyLengthEmpty = errors.New("key length cannot be empty") ErrPaddingSize = errors.New("padding size error please check the secret key or iv") ErrInvalidBlockSize = errors.New("invalid blocksize") ErrInvalidPKCS7Data = errors.New("invalid PKCS7 data (empty or not padded)") ErrInvalidPKCS7Padding = errors.New("invalid padding on input") )
Functions ¶
func AesCbcDecrypt ¶
aes decrypt
func AesCbcEncrypt ¶
aes encrypt
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.