Versions in this module Expand all Collapse all v1 v1.0.2 Nov 28, 2021 v1.0.1 Nov 28, 2021 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