Documentation
¶
Index ¶
Constants ¶
View Source
const ( Algorithm = "pbkdf2_sha256" DefaultIterations = 1000000 )
View Source
const MinLength = 8
Variables ¶
View Source
var ( ErrMalformed = errors.New("malformed password hash") ErrUnsupported = errors.New("unsupported password hash algorithm") )
Functions ¶
func NeedsRehash ¶
func Validate ¶
func Validate(plain string, about Attributes) error
Types ¶
Click to show internal directories.
Click to hide internal directories.