pub trait PRF {
type Seed;
type Input;
type Output;
// Required method
fn prf(
&self,
seed: &Self::Seed,
input: &[Self::Input],
) -> Result<Self::Output, Error>;
}
Expand description
A trait for a pseudorandom function.