Versions in this module Expand all Collapse all v1 v1.0.1 Feb 22, 2022 v1.0.0 Jan 18, 2022 Changes in this version + func DecryptCBC(key string, cipherText []byte) ([]byte, error) + func DecryptECB(key string, cipherText []byte) ([]byte, error) + func EncryptCBC(key string, plainText []byte) ([]byte, error) + func EncryptECB(key string, plainText []byte) ([]byte, error) + func PKCS5Padding(plainText []byte, blockSize int) ([]byte, error) + func PKCS5UnPadding(plainText []byte) ([]byte, error) + func PKCS7Padding(plainText []byte, blockSize int) []byte + func PKCS7UnPadding(plainText []byte) ([]byte, error) + func ZeroPadding(plainText []byte, blockSize int) []byte + func ZeroUnPadding(plainText []byte) []byte