Versions in this module Expand all Collapse all v0 v0.1.1 Mar 1, 2021 v0.1.0 Mar 1, 2021 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