Versions in this module Expand all Collapse all v1 v1.0.0 Nov 24, 2023 Changes in this version + func DesCBCDecrypt(src, key string) string + func DesCBCEncrypt(src, key string) string + func DesDecrypt(data []byte, key string) ([]byte, error) + func DesEncrypt(data []byte, key string) ([]byte, error) + func PKCS5Padding(encryptedData []byte, blockSize int) []byte + func PKCS5UnPadding(plainData []byte) []byte + func RsaDecryptWithSha1Base64(encryptedData, privateKey string) (string, error) + func RsaEncryptWithSha1Base64(plainData, publicKey string) (string, error)