Struct crypto::scrypt::ScryptParams [−][src]
pub struct ScryptParams { /* fields omitted */ }The Scrypt parameter values.
Methods
impl ScryptParams[src]
impl ScryptParamspub fn new(log_n: u8, r: u32, p: u32) -> ScryptParams[src]
pub fn new(log_n: u8, r: u32, p: u32) -> ScryptParamsCreate 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]
impl Clone for ScryptParamsfn clone(&self) -> ScryptParams[src]
fn clone(&self) -> ScryptParamsReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Copy for ScryptParams[src]
impl Copy for ScryptParamsAuto Trait Implementations
impl Send for ScryptParams
impl Send for ScryptParamsimpl Sync for ScryptParams
impl Sync for ScryptParams