Documentation ¶
Index ¶
- func AesDecrypt(crypted, key []byte) ([]byte, error)
- func AesDecryptString(pass64 string, aeskey []byte) ([]byte, error)
- func AesEncrypt(origData, key []byte) ([]byte, error)
- func AesEncryptString(orginString, aeskey []byte) (string, error)
- func PKCS5Padding(ciphertext []byte, blockSize int) []byte
- func PKCS5UnPadding(origData []byte) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AesDecrypt ¶
func AesDecryptString ¶
AesDecryptString 用户密码解密函数
func AesEncrypt ¶
func AesEncryptString ¶
AesEncryptString 用户密码加密函数
func PKCS5Padding ¶
func PKCS5UnPadding ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.