Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DefaultOptions = &Options{
Iterations: 3,
Memory: 64 * 1024,
Threads: 4,
SaltLength: 16,
KeyLength: 32,
}
)
View Source
var (
ErrInvalidForm = errors.New("provided hash is in an invalid form")
)
Functions ¶
This section is empty.
Types ¶
type Argon2Hasher ¶
type Argon2Id ¶
type Argon2Id struct{}
func NewArgon2Id ¶
func NewArgon2Id() Argon2Id
func (Argon2Id) DecodeIntoOptions ¶
Click to show internal directories.
Click to hide internal directories.