Documentation ¶
Index ¶
- func AESDecrypt(ciphertext, key []byte) ([]byte, error)
- func AESEncrypt(plaintext, key []byte) ([]byte, error)
- func Base64Decode(pwd string) (string, error)
- func Base64Encode(pwd string) string
- func MD5(str string) string
- func PasswordEncrypt(pwd string) (string, error)
- func SHA256(src string, salt string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AESDecrypt ¶
func AESEncrypt ¶
func Base64Decode ¶
func Base64Encode ¶
func PasswordEncrypt ¶
PasswordEncrypt encrypt password
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.