Versions in this module Expand all Collapse all v2 v2.0.1 Apr 3, 2023 v2.0.0 Apr 3, 2023 Changes in this version + const NOPADDING + const PKCS5PADDING + func DecryptCBC(cipherText []byte, key []byte, iv []byte, padding int) ([]byte, error) + func DecryptCBCTriple(cipherText []byte, key []byte, iv []byte, padding int) ([]byte, error) + func DecryptECB(cipherText []byte, key []byte, padding int) ([]byte, error) + func DecryptECBTriple(cipherText []byte, key []byte, padding int) ([]byte, error) + func EncryptCBC(plainText []byte, key []byte, iv []byte, padding int) ([]byte, error) + func EncryptCBCTriple(plainText []byte, key []byte, iv []byte, padding int) ([]byte, error) + func EncryptECB(plainText []byte, key []byte, padding int) ([]byte, error) + func EncryptECBTriple(plainText []byte, key []byte, padding int) ([]byte, error) + func Padding(text []byte, padding int) ([]byte, error) + func PaddingPKCS5(text []byte, blockSize int) []byte + func UnPadding(text []byte, padding int) ([]byte, error) + func UnPaddingPKCS5(text []byte) []byte