Documentation ¶
Index ¶
- func AESDecrypt(encrypted string, key string) (string, error)
- func AESEncrypt(originData string, key string) (string, error)
- func Base64Decode(content string) ([]byte, error)
- func Base64Encode(content []byte) string
- func MD5(origin string, salt string) string
- func SHA256(origin string, salt string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Base64Decode ¶ added in v1.1.0
func Base64Encode ¶ added in v1.1.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.