//
pkg.gl
Category
github.com/coding-hui/common
util
auth
package
0.8.7
Repository:
https://github.com/coding-hui/common.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
3
Dependents
4
Files
31 SLOC
#
Functions
Compare
Compare compares the encrypted text with the plain text if it's the same.
Encrypt
Encrypt encrypts the plain text with bcrypt.
Sign
Sign issue a jwt token based on secretID, secretKey, iss and aud.