Struct message_verifier::DerivedKeyParams
source · pub struct DerivedKeyParams { /* private fields */ }
Expand description
Key derivation parameters for PBKDF2 function.
Trait Implementations§
source§impl Default for DerivedKeyParams
impl Default for DerivedKeyParams
source§fn default() -> DerivedKeyParams
fn default() -> DerivedKeyParams
The default mimics Rails’ secure cookie setup which is 64 bytes (512 bits) for the key size and 1000 iterations.
ActiveSupport::KeyGenerator will default to 2^16 (65536) iterations.
Auto Trait Implementations§
impl RefUnwindSafe for DerivedKeyParams
impl Send for DerivedKeyParams
impl Sync for DerivedKeyParams
impl Unpin for DerivedKeyParams
impl UnwindSafe for DerivedKeyParams
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