Function openssl::pkcs5::scrypt[][src]

pub fn scrypt(
    pass: &[u8],
    salt: &[u8],
    n: u64,
    r: u64,
    p: u64,
    maxmem: u64,
    key: &mut [u8]
) -> Result<(), ErrorStack>

Derives a key from a password and salt using the scrypt algorithm.

Requires OpenSSL 1.1.0 or newer.