Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultCost = bcrypt.DefaultCost
DefaultCost is the default cost value used when creating new a password hash.
Variables ¶
This section is empty.
Functions ¶
func NewPasswordService ¶
NewPasswordService creates a new password service capable of generating and verifying bcrypt password hashes. The cost value controls the number of key expansion operations executed when creating a password hash as a power of 2.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.