//
pkg.gl
Category
github.com/marmotedu/component-base
pkg
auth
package
1.6.2
Repository:
https://github.com/marmotedu/component-base.git
Documentation:
pkg.go.dev
Overview
Versions
2
Dependencies
3
Dependents
9
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.