pub enum KdfAlgorithm {
Argon2id,
Pbkdf2,
ConcatKdf,
}Expand description
Password-based key derivation algorithm identifier.
Variants§
Argon2id
Argon2id memory-hard KDF.
Pbkdf2
PBKDF2 password-based KDF for legacy interop.
ConcatKdf
NIST Concat KDF as profiled by JOSE/JWA ECDH-ES.
Trait Implementations§
Source§impl Clone for KdfAlgorithm
impl Clone for KdfAlgorithm
Source§fn clone(&self) -> KdfAlgorithm
fn clone(&self) -> KdfAlgorithm
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 KdfAlgorithm
Source§impl Debug for KdfAlgorithm
impl Debug for KdfAlgorithm
Source§impl Display for KdfAlgorithm
impl Display for KdfAlgorithm
impl Eq for KdfAlgorithm
Source§impl PartialEq for KdfAlgorithm
impl PartialEq for KdfAlgorithm
impl StructuralPartialEq for KdfAlgorithm
Auto Trait Implementations§
impl Freeze for KdfAlgorithm
impl RefUnwindSafe for KdfAlgorithm
impl Send for KdfAlgorithm
impl Sync for KdfAlgorithm
impl Unpin for KdfAlgorithm
impl UnsafeUnpin for KdfAlgorithm
impl UnwindSafe for KdfAlgorithm
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