pub enum CocoonKdf {
Pbkdf2 = 1,
}Expand description
Key derivation functions (KDF) to derive master key from user password. PBKDF2 by default.
Variants§
Pbkdf2 = 1
PBKDF2 with NIST SP 800-132 recommended parameters:
- Salt: 16 bytes (128-bit) + predefined salt.
- Iterations: 100 000 (10_000 when “weak” KDF is enabled).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CocoonKdf
impl RefUnwindSafe for CocoonKdf
impl Send for CocoonKdf
impl Sync for CocoonKdf
impl Unpin for CocoonKdf
impl UnwindSafe for CocoonKdf
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