pub enum KdfProfile {
Argon2idV1,
Argon2idV2,
Pbkdf2HmacSha256,
Pbkdf2HmacSha512,
JwaEcdhEsSha256,
}Expand description
Versioned parameter profile for the KDF.
Variants§
Argon2idV1
Argon2id parameter profile version 1.
Argon2idV2
Argon2id parameter profile version 2.
Pbkdf2HmacSha256
PBKDF2 using HMAC-SHA-256 as the PRF.
Pbkdf2HmacSha512
PBKDF2 using HMAC-SHA-512 as the PRF.
JwaEcdhEsSha256
JWA ECDH-ES Concat KDF using SHA-256.
Trait Implementations§
Source§impl Clone for KdfProfile
impl Clone for KdfProfile
Source§fn clone(&self) -> KdfProfile
fn clone(&self) -> KdfProfile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for KdfProfile
Source§impl Debug for KdfProfile
impl Debug for KdfProfile
Source§impl Display for KdfProfile
impl Display for KdfProfile
impl Eq for KdfProfile
Source§impl PartialEq for KdfProfile
impl PartialEq for KdfProfile
impl StructuralPartialEq for KdfProfile
Auto Trait Implementations§
impl Freeze for KdfProfile
impl RefUnwindSafe for KdfProfile
impl Send for KdfProfile
impl Sync for KdfProfile
impl Unpin for KdfProfile
impl UnsafeUnpin for KdfProfile
impl UnwindSafe for KdfProfile
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