Enum cocoon::CocoonKdf[][src]

pub enum CocoonKdf {
    Pbkdf2,
}
Expand description

Key derivation functions (KDF) to derive master key from user password. PBKDF2 by default.

Variants

Pbkdf2

PBKDF2 with NIST SP 800-132 recommended parameters:

  1. Salt: 16 bytes (128-bit) + predefined salt.
  2. Iterations: 100 000 (10_000 when “weak” KDF is enabled).

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.