Versions in this module Expand all Collapse all v0 v0.0.2 Nov 9, 2019 Changes in this version + const SHA1 + const SHA256 + func AesNewCBCDecrypter(content []byte, aesKey []byte) ([]byte, error) + func AesNewCBCEncrypter(content []byte, aesKey []byte) ([]byte, error) + func DesDecrypt(crypted, key []byte) ([]byte, error) + func DesEncrypt(originData, key []byte) ([]byte, error) + func Pkcs5Padding(cipherText []byte, blockSize int) []byte + func Pkcs5UnPadding(origData []byte) []byte + func RsaSign(originData []byte, priKey []byte, algorithm string) ([]byte, error) + func RsaVerify(originData []byte, publicKey []byte, sign []byte, algorithm string) (bool, error) + func TripleECBDesDecrypt(crypted, key []byte) ([]byte, error) + func TripleECBDesEncrypt(originData, key []byte) ([]byte, error)