Documentation ¶
Overview ¶
Package password provides utilities for password hashing and verification.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PlainVerify ¶
PlainVerify verifies the password against the document returned by PlainHash.
The returned error is safe for logging, but should not be exposed to the client.
func SCRAMSHA1Hash ¶ added in v1.21.0
SCRAMSHA1Hash computes SCRAM-SHA-1 credentials and returns the document that should be stored.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.