Documentation ¶
Index ¶
- func Base64BydEncode(data []byte) string
- func Base64StdDecode(data string) []byte
- func Base64StdEncode(data string) string
- func HmacMd5(data, key string) string
- func HmacSha1(data, key string) string
- func HmacSha256(data, key string) string
- func HmacSha512(data, key string) string
- func Md5File(filename string) (string, error)
- func Md5String(data string) string
- func Sha1(data string) string
- func Sha256(data string) string
- func Sha512(data string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Base64BydEncode ¶
Base64BydEncode encode byte with base64 encoding
func Base64StdDecode ¶
Base64StdDecode decode a base64 encoded string
func Base64StdEncode ¶
Base64StdEncode encode string with base64 encoding
func HmacSha256 ¶
HmacSha256 return the hmac hash of string use sha256
func HmacSha512 ¶
HmacSha512 return the hmac hash of string use sha512
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.