Versions in this module Expand all Collapse all v1 v1.0.14 Dec 7, 2020 Changes in this version + func DesCBCDecryptData(secretData, key []byte) ([]byte, error) + func DesCBCDecryptIvData(secretData, key, iv []byte) ([]byte, error) + func DesCBCEncryptData(originData, key []byte) ([]byte, error) + func DesCBCEncryptIvData(originData, key, iv []byte) ([]byte, error) + func PKCS5Padding(ciphertext []byte, blockSize int) []byte + func PKCS5UnPadding(origData []byte) []byte + func PKCS7Padding(ciphertext []byte, blockSize int) []byte + func PKCS7UnPadding(origData []byte) (bs []byte)