Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidHash = errors.New("the encoded hash is not in the correct format") ErrIncompatibleVersion = errors.New("incompatible version of argon2") )
Functions ¶
This section is empty.
Types ¶
type Argon2ID ¶
type Argon2ID struct {
// contains filtered or unexported fields
}
Argon2ID implements the Hasher interface. Underneath, it uses the Argon2ID implementation to hash passwords and compare passwords.
func NewArgon2ID ¶
func (*Argon2ID) ComparePasswordAndHash ¶
Click to show internal directories.
Click to hide internal directories.