//
pkg.gl
Category
github.com/robert-tyssen/go-auth-jwt-demo
internal
utils
password
package
0.0.0-20240422234044-55d825fae797
Repository:
https://github.com/robert-tyssen/go-auth-jwt-demo.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
2
Dependents
1
Files
22 SLOC
#
Functions
ComparePasswordHash
Compares a password with a hash to determine if the password is correct.
HashPassword
Receives a password as an input and returns a hash that can be stored in the database.
ValidatePassword
Validates that a password meets complexity requirements.