mundane::password::scrypt

Function scrypt_generate

Source
pub fn scrypt_generate(password: &[u8], params: &ScryptParams) -> ScryptHash
Expand description

Generates an scrypt hash for the given password.

scrypt_generate uses scrypt to generate a hash for the given password using the provided params.