//
pkg.gl
Category
github.com/BelyaevEI/microservices_auth
internal
utils
package
0.0.0-20241003185054-136c986179b4
Repository:
https://github.com/belyaevei/microservices_auth.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
5
Dependents
2
Files
53 SLOC
#
Functions
GenerateToken
GenerateToken generates jwt token.
HashPassword
HashPassword hashes password.
VerifyPassword
VerifyPassword compares candidate password with hashed password returns true if passwords match.
VerifyToken
VerifyToken verifies jwt token.