Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComparePassword ¶
ComparePassword compares a hashed password with its possible plaintext equivalent.
func IsPasswordPwned ¶
IsPasswordPwned determines whether or not the password is weak.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager holds information for managing credentials.
func CreateManager ¶
func CreateManager(checkHIBP bool, c configuration.CryptoConfig) *Manager
CreateManager instanciates a credential manager.
Click to show internal directories.
Click to hide internal directories.