Function rust_scrypt::scrypt [] [src]

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

Derive fixed size key for given salt and passphrase

Arguments:

passwd - password to be derived salt - byte array with salt params - parameters for scrypt into ScryptParams output - resulting byte array