Documentation
¶
Index ¶
- func Base64Decode(s string) ([]byte, error)
- func Base64Encode(data []byte) string
- func Base64EncodeString(s string) string
- func HMACSHA1Base64(data, secret []byte) string
- func HMACSHA1Base64String(data, secret string) string
- func HMACSHA256(data, secret []byte) string
- func HMACSHA256String(data, secret string) string
- func MD5(data []byte) string
- func MD5String(s string) string
- func SHA256(data []byte) string
- func SHA256String(s string) string
- func VerifyHMACSHA256(data, secret []byte, signature string) (bool, error)
- func VerifyHMACSHA256String(data, secret, signature string) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Base64Decode ¶
func Base64Encode ¶
func Base64EncodeString ¶
func HMACSHA1Base64 ¶
func HMACSHA1Base64String ¶
func HMACSHA256 ¶
func HMACSHA256String ¶
func SHA256String ¶
func VerifyHMACSHA256String ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.