Struct crypto::scrypt::ScryptParams [-] [+] [src]

pub struct ScryptParams {
    // some fields omitted
}

The Scrypt parameter values.

Methods

impl ScryptParams

fn new(log_n: u8, r: u32, p: u32) -> ScryptParams

Create a new instance of ScryptParams.

Arguments

  • log_n - The log2 of the Scrypt parameter N
  • r - The Scrypt parameter r
  • p - The Scrypt parameter p

Trait Implementations

Derived Implementations

impl Copy for ScryptParams

impl Clone for ScryptParams

fn clone(&self) -> ScryptParams

fn clone_from(&mut self, source: &Self)