Function crypto::scrypt::scrypt [] [src]

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

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.