pub struct KdfParams {
pub id: KdfId,
pub memory_kib: u32,
pub iterations: u32,
pub lanes: u8,
}Expand description
Parameters for the key derivation function.
Fields§
§id: KdfIdFunction identifier.
memory_kib: u32Memory cost in KiB.
iterations: u32Iteration count.
lanes: u8Parallelism (lanes).
Implementations§
Trait Implementations§
impl Copy for KdfParams
impl Eq for KdfParams
impl StructuralPartialEq for KdfParams
Auto Trait Implementations§
impl Freeze for KdfParams
impl RefUnwindSafe for KdfParams
impl Send for KdfParams
impl Sync for KdfParams
impl Unpin for KdfParams
impl UnsafeUnpin for KdfParams
impl UnwindSafe for KdfParams
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