Documentation ¶
Overview ¶
Package cryptoKit 加密工具包
Index ¶
- func Base64Decode(str string) (string, error)
- func Base64Encode(str string) string
- func Md5(str string) string
- func Md5ToUpper(str string) string
- func Sha256(str string) string
- func Sha256ToUpper(str string) string
- func UnicodeDecode(str string) (string, error)
- func UnicodeEncode(str string) string
- func UrlDecode(str string) (string, error)
- func UrlEncode(str string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Base64Decode ¶ added in v0.0.9
Base64Decode Base64解密 @param str 解密字符串 @return 解密结果
func Base64Encode ¶ added in v0.0.9
Base64Encode Base64加密 @param str 加密字符串 @return 加密结果
func Md5ToUpper ¶
Md5ToUpper Md5加密大写 @param 加密字符串 @return 加密结果 32个字符大写
func Sha256ToUpper ¶ added in v0.0.5
Sha256ToUpper Sha256加密大写 @param 加密字符串 @return 加密结果 32个字符大写
func UnicodeDecode ¶ added in v0.1.1
UnicodeDecode 将Unicode编码转为字符串 @param str 字符串
func UnicodeEncode ¶ added in v0.1.1
UnicodeEncode 将字符串转为Unicode编码 @param str 字符串
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.