pub struct ScryptParams {
pub n: u64,
pub r: u32,
pub p: u32,
}
Expand description
The Scrypt parameter values
Fields§
§n: u64
Number of iterations
r: u32
Block size for the underlying hash
p: u32
Parallelization factor
Implementations§
Source§impl ScryptParams
impl ScryptParams
Trait Implementations§
Source§impl Clone for ScryptParams
impl Clone for ScryptParams
Source§fn clone(&self) -> ScryptParams
fn clone(&self) -> ScryptParams
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ScryptParams
impl Debug for ScryptParams
impl Copy for ScryptParams
Auto Trait Implementations§
impl Freeze for ScryptParams
impl RefUnwindSafe for ScryptParams
impl Send for ScryptParams
impl Sync for ScryptParams
impl Unpin for ScryptParams
impl UnwindSafe for ScryptParams
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more