Documentation ¶
Index ¶
- func AesCbcPkcs5Decrypt(cipherData string, keyStr string) (plainText string, err error)
- func AesCbcPkcs5Encrypt(originData string, keyStr string) (encryptText string, err error)
- func HmacSHA1(plainText string, key string) string
- func MD5(plainText string) string
- func PKCS5Padding(plainText []byte, blockSize int) []byte
- func PKCS5UnPadding(cipherText []byte) []byte
- func SHA1(plainText string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AesCbcPkcs5Decrypt ¶
AES/CBC/PKCS5模式解密
func AesCbcPkcs5Encrypt ¶
AES/CBC/PKCS5模式加密
func PKCS5Padding ¶
func PKCS5UnPadding ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.