pub trait HashMany {
type Input;
type Output;
// Required method
fn hash_many(
&self,
input: &[Self::Input],
num_outputs: u16,
) -> Vec<Self::Output>;
}
Expand description
A trait for a hash function that produces multiple outputs.