Documentation
¶
Index ¶
- func Md5(text string) string
- func Md5File(file io.Reader) string
- func RSADecrypt(encryptedData string, pemPriKey []byte) (string, error)
- func RSAEncrypt(data, pemPubKey []byte) (string, error)
- func RSASign(data []byte, pemPriKey []byte, hash crypto.Hash) (string, error)
- func RSAVerify(src []byte, sign string, pemPubKey []byte, hash crypto.Hash) error
- func Sha1(text string) string
- func Sha256(text string) string
- func Sha512(text string) string
- func Sign(values url.Values, app_secret string, hash ...string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RSAEncrypt ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.