package
0.0.10
Repository: https://github.com/binbinly/pkg.git
Documentation: pkg.go.dev

# Functions

Compare compares the encrypted text with the plain text if it's the same.
Encrypt encrypts the plain text with bcrypt.
Parse validates the token with the specified secret, and returns the payloads if the token was valid.
Sign signs the payload with the specified secret.

# Structs

Payload is the data of the JSON web token.