Documentation ¶
Index ¶
- func AESDecrypt(key string, decodeString string) string
- func AESEncrypt(key string, plaintext string) string
- func AesDecryptByECB(data, key string) string
- func AesEncryptByECB(data, key string) string
- func DESDecrypt(cipherText string, key string) string
- func DESEncrypt(plainText string, key string) string
- func Md5(str string) string
- func PKCS7Padding(originByte []byte, blockSize int) []byte
- func PKCS7UNPadding(originDataByte []byte) []byte
- func Sha1(str string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AESDecrypt ¶ added in v0.15.0
AESDecrypt AES解密
func AESEncrypt ¶ added in v0.15.0
AESEncrypt AES加密
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.