Trait askar_crypto::kdf::KeyDerivation [−][src]
pub trait KeyDerivation { fn derive_key_bytes(&mut self, key_output: &mut [u8]) -> Result<(), Error>; }
Expand description
Trait implemented by key derivation methods
Required methods
fn derive_key_bytes(&mut self, key_output: &mut [u8]) -> Result<(), Error>
[src]
Expand description
Derive the raw bytes of a key from this KDF
Implementors
impl KeyDerivation for Argon2<'_>
[src]
impl KeyDerivation for Argon2<'_>
[src]This is supported on crate feature
argon2
only.impl<Key: KeyExchange + ?Sized> KeyDerivation for Ecdh1PU<'_, Key>
[src]
impl<Key: KeyExchange + ?Sized> KeyDerivation for Ecdh1PU<'_, Key>
[src]impl<Key: KeyExchange + ?Sized> KeyDerivation for EcdhEs<'_, Key>
[src]
impl<Key: KeyExchange + ?Sized> KeyDerivation for EcdhEs<'_, Key>
[src]