Versions in this module Expand all Collapse all v1 v1.1.2 Mar 20, 2024 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