Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckPasswordHash ¶
CheckPasswordHash compares a hashed password with its plain text equivalent
func GenerateJWT ¶
GenerateJWT generates a JWT token for a user
func GenerateRandomKey ¶
GenerateRandomKey creates a secure random key of specified length
func HashPassword ¶
HashPassword hashes a plain text password
Types ¶
Click to show internal directories.
Click to hide internal directories.