package
0.0.0-20240309204842-b5b9788f6f96
Repository: https://github.com/etiennerqt/go_rest_api.git
Documentation: pkg.go.dev

# Functions

CheckPasswordHash compares a plaintext password against a hashed password to check if they match.
GenrateToken generates a JWT token for the given email and userID, with a 24 hour expiration.
HashPassword hashes the provided password using bcrypt with a cost of 14.
VerifyToken parses and validates the provided JWT token using the secret signing key.