Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckPasswordHash ¶
CheckPasswordHash is a decorator for bcrypt.CompareHashAndPassword. It returns true if the password match the hash or false if it's not.
func HashPassword ¶
HashPassword is a decorator for bcrypt.GenerateFromPassword. It returns a hashed string encrypted with the bcrypt algorithm.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.