Documentation
¶
Index ¶
- func Base64Decode(S1 string) string
- func Base64Encode(S1 string) string
- func HMACSHA512Encode(s string, key string) string
- func MD5Encode(S1 string) string
- func MD5EncodeByte(B1 []byte) string
- func MD5EncodeFile(file_path string) (r string)
- func SHA1Encode(S1 string) string
- func SHA256Encode(S1 string) string
- func TryBase64Decode(S1 string) (r string)
- func TryBase64DecodeRawURL(S1 string) (r string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Base64Decode ¶
func Base64Encode ¶
func HMACSHA512Encode ¶
func MD5EncodeByte ¶
func MD5EncodeFile ¶
func SHA1Encode ¶
func SHA256Encode ¶
func TryBase64DecodeRawURL ¶
尝试 Base64 RawURL 解码,失败时返回 原字符串 而不是 空
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.