Rust

scrypt

Module

The scrypt password hash.

Contents

use utopia_auth::hashes::scrypt::Scrypt;
Rust
pub struct Scrypt

The scrypt key derivation as a password hash, in lowercase hex.

Options: type, costCpu (N), costMemory (r), costParallel (p), length (bytes) and salt (used as given, a random hex string by default).

Also implements Default.