crypto::scrypt

Function scrypt

Source
pub fn scrypt(
    password: &[u8],
    salt: &[u8],
    params: &ScryptParams,
    output: &mut [u8],
)
Expand description

The scrypt key derivation function.

ยงArguments

  • password - The password to process as a byte vector
  • salt - The salt value to use as a byte vector
  • params - The ScryptParams to use
  • output - The resulting derived key is returned in this byte vector.