Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultParams = Params{
N: 16384,
R: 8,
P: 1,
SaltLen: 8,
KeyLen: 32,
}
DefaultParams returns the recommended default scrypt parameters. N=16384, R=8, P=1, KeyLen=32
Functions ¶
Types ¶
type Params ¶
type Params struct {
// N is the CPU/memory cost parameter.
N int
// R is the block size parameter.
R int
// P is the parallelization parameter.
P int
// SaltLen is the length of the salt.
SaltLen int
// KeyLen is the length of the derived key.
KeyLen int
}
Params defines the scrypt algorithm parameters.
Click to show internal directories.
Click to hide internal directories.