Versions in this module Expand all Collapse all v2 v2.0.6 Jun 10, 2022 Changes in this version + const IVDefaultValue + 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 v2.0.6-1 Jun 11, 2022