Versions in this module Expand all Collapse all v1 v1.8.5 Sep 10, 2019 Changes in this version + const NOPADDING + const PKCS5PADDING + func DesCBCDecrypt(key []byte, cipherText []byte, iv []byte, padding int) ([]byte, error) + func DesCBCEncrypt(key []byte, clearText []byte, iv []byte, padding int) ([]byte, error) + func DesECBDecrypt(key []byte, cipherText []byte, padding int) ([]byte, error) + func DesECBEncrypt(key []byte, clearText []byte, padding int) ([]byte, error) + func PKCS5Padding(text []byte, blockSize int) []byte + func PKCS5Unpadding(text []byte) []byte + func Padding(text []byte, padding int) ([]byte, error) + func TripleDesCBCDecrypt(key []byte, cipherText []byte, iv []byte, padding int) ([]byte, error) + func TripleDesCBCEncrypt(key []byte, clearText []byte, iv []byte, padding int) ([]byte, error) + func TripleDesECBDecrypt(key []byte, cipherText []byte, padding int) ([]byte, error) + func TripleDesECBEncrypt(key []byte, clearText []byte, padding int) ([]byte, error) + func UnPadding(text []byte, padding int) ([]byte, error)