Struct rust_scrypt::ScryptParams[][src]

pub struct ScryptParams {
    pub n: u64,
    pub r: u32,
    pub p: u32,
}

The Scrypt parameter values

Fields

Number of iterations

Block size for the underlying hash

Parallelization factor

Methods

impl ScryptParams
[src]

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

impl Clone for ScryptParams
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for ScryptParams
[src]

impl Debug for ScryptParams
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations