pub enum KeyDerivationMethod {
Bip39Argon2,
ChaCha20Poly1305Keygen,
}Expand description
Key derivation methods supported by the system
Variants§
Bip39Argon2
BIP39 mnemonic phrase with Argon2 key derivation
This is the standard method for user-controlled key derivation using a BIP39 mnemonic phrase combined with Argon2 for key stretching.
ChaCha20Poly1305Keygen
Direct ChaCha20-Poly1305 key generation
Used for fallback scenarios or when no mnemonic is provided. Keys are generated directly without mnemonic derivation.
Implementations§
Trait Implementations§
Source§impl Clone for KeyDerivationMethod
impl Clone for KeyDerivationMethod
Source§fn clone(&self) -> KeyDerivationMethod
fn clone(&self) -> KeyDerivationMethod
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 KeyDerivationMethod
impl Debug for KeyDerivationMethod
Source§impl<'de> Deserialize<'de> for KeyDerivationMethod
impl<'de> Deserialize<'de> for KeyDerivationMethod
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for KeyDerivationMethod
impl Display for KeyDerivationMethod
Source§impl FromStr for KeyDerivationMethod
impl FromStr for KeyDerivationMethod
Source§impl PartialEq for KeyDerivationMethod
impl PartialEq for KeyDerivationMethod
Source§impl Serialize for KeyDerivationMethod
impl Serialize for KeyDerivationMethod
impl Eq for KeyDerivationMethod
impl StructuralPartialEq for KeyDerivationMethod
Auto Trait Implementations§
impl Freeze for KeyDerivationMethod
impl RefUnwindSafe for KeyDerivationMethod
impl Send for KeyDerivationMethod
impl Sync for KeyDerivationMethod
impl Unpin for KeyDerivationMethod
impl UnwindSafe for KeyDerivationMethod
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
§impl<T> Classify for T
impl<T> Classify for T
type Classified = T
fn classify(self) -> T
§impl<T> Classify for T
impl<T> Classify for T
type Classified = T
fn classify(self) -> T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Declassify for T
impl<T> Declassify for T
type Declassified = T
fn declassify(self) -> T
§impl<T> Declassify for T
impl<T> Declassify for T
type Declassified = T
fn declassify(self) -> T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more