Trait cryptraits::kdf::Kdf
source · pub trait Kdf: Zeroize {
type E: Error;
fn new(salt: Option<&[u8]>, data: &[u8]) -> Self;
fn expand(&self, info: &[u8], okm: &mut [u8]) -> Result<(), Self::E>;
}
Expand description
Trait represents Key Derivation Function.