Documentation ¶
Index ¶
- func AesDecrypt(cipherByte []byte, keyText string) (plainText string, err error)
- func AesEncrypt(plainText string, keyText string) (cipherByte []byte, err error)
- func RandNumber(n int) string
- func RandNumberAndLetter(n int) string
- func RandNumberAndLetterAndSymbol(n int) string
- func RandString(n int) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AesDecrypt ¶
AesDecrypt AES解密
func AesEncrypt ¶
AesEncrypt Aes加密
func RandNumberAndLetterAndSymbol ¶
RandNumberAndLetterAndSymbol 获取随机数字和字母和符号
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.