Documentation
¶
Overview ¶
Package password provides password hashing interfaces and Canopy's default Argon2id implementation.
Applications can replace the default hasher by supplying a custom password.Hasher in canopy.Config.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Argon2idHasher ¶
type Argon2idHasher struct {
Memory uint32
Iterations uint32
Parallelism uint8
SaltLength uint32
KeyLength uint32
}
func DefaultHasher ¶
func DefaultHasher() *Argon2idHasher