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 Sha256ToUpper ¶ added in v0.0.5
Sha256ToUpper Sha256加密大写 *
- @param str 加密字符串
- @return 加密结果 32个字符大写
func UnicodeDecode ¶ added in v0.1.1
UnicodeDecode 将Unicode编码转为字符串 *
- @param str Unicode编码字符串
- @return 字符串
func UnicodeEncode ¶ added in v0.1.1
UnicodeEncode 将字符串转为Unicode编码 *
- @param str 字符串
- @return Unicode编码字符串
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.