Documentation ¶
Index ¶
- func AesCbcDecrypt(text string, key string) string
- func AesCbcEncrypt(text, key string) string
- func AesEcbDecrypt(text, key string) string
- func AesEcbEncrypt(text, key string) string
- func AesMysqlDecrypt(text, key string) string
- func AesMysqlEncrypt(text, key string) string
- func Hash(str string, seed int) uint64
- func HmacSha256(src string, secret string) string
- func Md5(str string) string
- func RsaPriDecrypt(text, key string) (string, error)
- func RsaPriEncrypt(text, key string) (string, error)
- func RsaPubDecrypt(text, key string) (string, error)
- func RsaPubEncrypt(text, key string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AesMysqlDecrypt ¶
AesMysqlDecrypt 同 mysql aes_decrypt(unhex('text'), 'key')
func AesMysqlEncrypt ¶
AesMysqlEncrypt 同 mysql hex(aes_encrypt('text', 'key'))
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.