Documentation ¶
Index ¶
- func CheckHMACSHA1(message, messageMAC, key []byte) bool
- func HMACSHA1(message, key []byte) string
- func MD5(b []byte) string
- func RsaDecryptByPri(pri_key_file string, ciphertext []byte) ([]byte, error)
- func RsaEncryptByPub(pub_key_file string, origData []byte) ([]byte, error)
- func SHA1(b []byte) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckHMACSHA1 ¶
func RsaDecryptByPri ¶
私钥解密
func RsaEncryptByPub ¶
公钥加密
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.