Versions in this module Expand all Collapse all v1 v1.16.9 Mar 28, 2022 v1.16.8 Mar 28, 2022 Changes in this version + var IVDefaultValue = "I Love Go Frame!" + func Decrypt(cipherText []byte, key []byte, iv ...[]byte) ([]byte, error) + func DecryptCBC(cipherText []byte, key []byte, iv ...[]byte) ([]byte, error) + func DecryptCFB(cipherText []byte, key []byte, unPadding int, iv ...[]byte) ([]byte, error) + func Encrypt(plainText []byte, key []byte, iv ...[]byte) ([]byte, error) + func EncryptCBC(plainText []byte, key []byte, iv ...[]byte) ([]byte, error) + func EncryptCFB(plainText []byte, key []byte, padding *int, iv ...[]byte) ([]byte, error) + func PKCS5Padding(src []byte, blockSize int) []byte + func PKCS5UnPadding(src []byte, blockSize int) ([]byte, error) + func ZeroPadding(cipherText []byte, blockSize int) ([]byte, int) + func ZeroUnPadding(plaintext []byte, unPadding int) []byte