Documentation
¶
Overview ¶
Package password hashes and verifies passwords with argon2id (PHC-encoded). It is the shared hasher for any forge service that stores local credentials.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Argon2id ¶
type Argon2id struct {
// contains filtered or unexported fields
}
Argon2id implements Hasher with the OWASP-recommended argon2id parameters and the standard PHC string encoding.
func NewArgon2id ¶
func NewArgon2id() *Argon2id
Click to show internal directories.
Click to hide internal directories.