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§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.