Documentation
¶
Index ¶
Constants ¶
View Source
const (
N = 1 << 14
)
The recommended parameters for interactive logins as of 2009 are N=16384, r=8, p=1.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
Create derives a key from the password+pepper, salt, and cost parameters, returning a byte slice of length keyLen that can be used as cryptographic key.
pepper is taken from environment var SCRYPT_PEPPER
output format <---keylen---><----16----><--4--><--4--><--4-->
pass+pepper salt N r p
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.