//
pkg.gl
Category
github.com/rtmzk/component-base
auth
package
0.0.2
Repository:
https://github.com/rtmzk/component-base.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
3
Dependents
0
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.