Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PasswordHasher ¶
type PasswordHasher interface { Hash(password string) (hashed string, err error) Compare(hashedPassword, password string) error }
func NewBcryptHasher ¶
func NewBcryptHasher(cost int) PasswordHasher
Click to show internal directories.
Click to hide internal directories.