Documentation ¶
Index ¶
- func AesDecrypt(data []byte, key string) ([]byte, error)
- func AesEncrypt(data []byte, key string) ([]byte, error)
- func Decrypt(data string, key string) string
- func DecryptBase64(data string, key string) string
- func Encrypt(data string, key string) string
- func EncryptBase64(data string, key string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncryptBase64 ¶
EncryptByAes Aes加密 后 base64 再加转字符串
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.