Versions in this module Expand all Collapse all v0 v0.0.2 Aug 24, 2021 Changes in this version + const AnsiX923Padding + const BASE58 + const CBC + const CFB + const CTR + const ECB + const GCM + const ISO10126Padding + const NoPadding + const OFB + const PKCS1Padding + const PKCS5Padding + const PKCS7Padding + const TBCPadding + const ZeroPadding + var Decrypt = newDecrypt() + type Cipher struct + func NewCipher() *Cipher + func (c *Cipher) CBCDecrypt(block cipher.Block, src []byte) []byte + func (c *Cipher) CBCEncrypt(block cipher.Block, src []byte) []byte + func (c *Cipher) PKCS5Padding(src []byte) []byte + func (c *Cipher) PKCS5UnPadding(src []byte) []byte + func (c *Cipher) PKCS7Padding(src []byte, blockSize int) []byte + func (c *Cipher) PKCS7UnPadding(src []byte) []byte + func (c *Cipher) SetIV(iv interface{}) + func (c *Cipher) SetKey(key interface{}) + func (c *Cipher) SetMode(mode string) + func (c *Cipher) SetPadding(padding string) + func (c *Cipher) ZeroPadding(src []byte, blockSize int) []byte + func (c *Cipher) ZeroUnPadding(src []byte) []byte v0.0.1 Aug 13, 2021 Changes in this version + const BASE32 + const BASE64 + const HEX + var Decode = newDecode() + var Encode = newEncode() + var Encrypt = newEncrypt()