Documentation
¶
Overview ¶
Package password hashes passwords and verifies passwords against hashes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Hash ¶
Hash returns a PBKDF2-HMAC-SHA256 hash of password in passlib's "$pbkdf2-sha256$<iterations>$<salt>$<key>" format.
func Validate ¶
Validate returns an error if Verify would return one for hash. Only checking a password against a hash fully establishes that the hash is usable, so Validate does that, and costs as much as a call to Verify.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.