Documentation ¶
Overview ¶
Package pwds implements functionality for creating a secure hash of a password and for verifying a password matches a stored hash.
Index ¶
Constants ¶
View Source
const MinLength = 10
MinLength is the shortest password we allow.
Variables ¶
View Source
var ErrBadPassword = errors.New("bad password")
ErrBadPassword is used when an invalid password is given. This is used so we don't send back the bcrypt error message.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.