pub struct ScryptParams { /* private fields */ }
Expand description
The parameters to the scrypt function.
These parameters determine how much effort will be required in order to
generate or verify an scrypt hash. “Effort” here refers to utilization
of of CPU, memory, and memory bandwidth. For more details on what these
parameters mean and their implications, see The scrypt Parameters. For
sane defaults, see the SCRYPT_PARAMS_XXX
constants.
Implementations§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)