Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HashPassword ¶
HashPassword hashes a plaintext password using bcrypt with a cost of 10.
func VerifyPassword ¶
VerifyPassword compares a plaintext password against a bcrypt hash. Returns true if the password matches the hash.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.