Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PasswordProvider ¶
type PasswordProvider interface { Generate(password []byte) ([]byte, error) Compare(hashedPassword, password []byte) error }
func NewBcryptPasswordProvider ¶
func NewBcryptPasswordProvider(cost int) PasswordProvider
Click to show internal directories.
Click to hide internal directories.