Documentation ¶
Overview ¶
Package gtbox_encryption 加密库
Index ¶
- func GTDec(srcString string, keyString string) (resultStr string)
- func GTDecryptionGo(srcString string, keyString string) (resultStr string)
- func GTDecryptionGoWithLength(srcString string, keyString string, stringLength int) (resultStr string)
- func GTEnc(srcString string, keyString string) (resultStr string)
- func GTEncryptionGo(srcString string, keyString string) (resultStr string)
- func GTEncryptionGoReturnStringLength(srcString string, keyString string) (resultStr string, stringLength int)
- func GTMD5EncryptionGo(str string) string
- func GetEncryptionLibVersion() (version string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GTDecryptionGo ¶
GTDecryptionGo 自定义解密
func GTDecryptionGoWithLength ¶ added in v0.0.39
func GTDecryptionGoWithLength(srcString string, keyString string, stringLength int) (resultStr string)
GTDecryptionGoWithLength 自定义解密,传入长度
func GTEncryptionGo ¶
GTEncryptionGo 自定义加密
func GTEncryptionGoReturnStringLength ¶ added in v0.0.39
func GTEncryptionGoReturnStringLength(srcString string, keyString string) (resultStr string, stringLength int)
GTEncryptionGoReturnStringLength 自定义加密,并返回长度
func GTMD5EncryptionGo ¶ added in v0.0.99
GTMD5EncryptionGo MD5加密
func GetEncryptionLibVersion ¶ added in v0.1.7
func GetEncryptionLibVersion() (version string)
GetEncryptionLibVersion 获取加密库版本
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.