//
pkg.gl
Category
github.com/go-grain/go-utils
encrypt
package
1.0.1
Repository:
https://github.com/go-grain/go-utils.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
8
Dependents
1
Files
80 SLOC
#
Functions
AesDecrypt
AES解密函数,使用CBC模式和PKCS7填充.
AesEncrypt
AES加密函数,使用CBC模式和PKCS7填充.
ComparePasswords
No description provided by the author
EncryptPassword
No description provided by the author
GenerateAesIV
No description provided by the author
PKCS7Padding
使用PKCS7进行填充,返回填充后的数据.
PKCS7UnPadding
去除PKCS7填充,返回去除填充后的数据.