Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckPassword ¶
CheckPassword checks if a password matches a hash.
func GenerateToken ¶
GenerateToken generates a cryptographically secure random token.
func HashPassword ¶
HashPassword hashes a password using bcrypt.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.