Documentation ¶ Index ¶ func AesDecryptECB(encryptedStr, keyStr string) string func AesEncryptECB(origDataStr, keyStr string) string func CheckSign(obj any, app string) bool func GenSign(obj any, app string) string func Md5(str string) string func PasswordHash(pwd string) string func PasswordVerify(pwd, hash string) bool Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func AesDecryptECB ¶ func AesDecryptECB(encryptedStr, keyStr string) string 解密 func AesEncryptECB ¶ func AesEncryptECB(origDataStr, keyStr string) string 加密 func CheckSign ¶ func CheckSign(obj any, app string) bool func GenSign ¶ func GenSign(obj any, app string) string func Md5 ¶ func Md5(str string) string func PasswordHash ¶ func PasswordHash(pwd string) string PasswordHash 生成密码hash func PasswordVerify ¶ func PasswordVerify(pwd, hash string) bool PasswordVerify 验证密码 Types ¶ This section is empty. Source Files ¶ View all Source files bcrypt.go crypto.go sign.go Click to show internal directories. Click to hide internal directories.