Versions in this module Expand all Collapse all v0 v0.0.1 Jun 13, 2023 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