Documentation ¶
Overview ¶
Package bcrypt contains password hashing and checking logic for stored passwords.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PasswordHandler ¶
type PasswordHandler struct {
// contains filtered or unexported fields
}
PasswordHandler can hash and check passwords
func NewPasswordHandler ¶
func NewPasswordHandler() PasswordHandler
NewPasswordHandler creates a password handler with the default cost
Click to show internal directories.
Click to hide internal directories.