Documentation ¶
Overview ¶
Package pbkdf2 implements HMAC-based Key Derivation Functions, as defined in TTAK.KO-12.0334, NIST SP 800-132, RFC 2898(PKCS #5)
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Generate ¶
Generate a key from the password, salt and iteration count, then returns a []byte of length keylen.
func GenerateParallel ¶
func GenerateParallel(dst, password, salt []byte, iteration, keyLen int, h func() hash.Hash, nThreads int) []byte
Generate a key from the password, salt and iteration count, then returns a []byte of length keylen.
nThreads: the number of goroutines to use. If nThreads <= 0, the number of CPUs is used.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.