package
0.0.0-20220608003731-3bf80463e334
Repository: https://github.com/opsdata/common-base.git
Documentation: pkg.go.dev

# Functions

Compare compares the encrypted text with the plain text if it is the same.
Encrypt encrypts the plain text with bcrypt.
Sign issues a jwt token based on secretID, secretKey, iss and aud.