pub enum KdfAlgorithm {
Argon2d,
Argon2id,
Aes256_Kdbx4,
Aes256_Kdbx3_1,
Unknown(Uuid),
}
Expand description
Algorithm used for converting from credentials to crypto keys
Variants§
Argon2d
Argon2d KDF
Argon2id
Argon2id KDF
Aes256_Kdbx4
AES 256 as used in KDBX4+
Aes256_Kdbx3_1
AES 256 as used in KDBX3.1
Unknown(Uuid)
Unknown key derivation function
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 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for KdfAlgorithm
impl Debug for KdfAlgorithm
Source§impl From<KdfAlgorithm> for Uuid
impl From<KdfAlgorithm> for Uuid
Source§fn from(algo: KdfAlgorithm) -> Uuid
fn from(algo: KdfAlgorithm) -> Uuid
Converts to this type from the input type.
Source§impl From<Uuid> for KdfAlgorithm
impl From<Uuid> for KdfAlgorithm
Source§fn from(uuid: Uuid) -> KdfAlgorithm
fn from(uuid: Uuid) -> KdfAlgorithm
Converts to this type from the input type.
Source§impl PartialEq for KdfAlgorithm
impl PartialEq for KdfAlgorithm
impl Copy for KdfAlgorithm
impl Eq 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 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