`PBKDF2` password-based key derivation function. See: [[ https://www.rfc-editor.org/rfc/rfc2898 ]]

Collection Info

View Source
Collection
core
Path
crypto/pbkdf2
Entries
1
Constants 0
Types 0
Procedures 1
Procedure Groups 0
Variables 0

Source Files

Procedures

1

derive #

Source
derive :: proc(hmac_hash: Algorithm, password: []u8, salt: []u8, iterations: u32, dst: []u8) {…}

derive invokes PBKDF2-HMAC with the specified hash algorithm, password, salt, iteration count, and outputs the derived key to dst.