Documentation
¶
Overview ¶
Package password provides utilities for password hashing and verification.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SCRAMSHA1VariationHash ¶ added in v1.22.0
SCRAMSHA1VariationHash computes a variation of SCRAM-SHA-1 and returns a document containing stored key, iteration count, salt, and server key.
It does not conform to the SCRAM-SHA-1 standard due to the custom preparation of the password.
Types ¶
type Password ¶ added in v1.22.0
type Password struct {
// contains filtered or unexported fields
}
Password wraps a password string.
It exist mainly to avoid issues when multiple string parameters are used.
It should be passed by value.
func WrapPassword ¶ added in v1.22.0
WrapPassword returns Password for the given string.
Click to show internal directories.
Click to hide internal directories.