Trait crypto_secretbox::Kdf
source · pub trait Kdf {
// Required method
fn kdf(key: &Key, nonce: &GenericArray<u8, U16>) -> Key;
}
Expand description
Key derivation function: trait for abstracting over HSalsa20 and HChaCha20.
Required Methods§
Object Safety§
This trait is not object safe.