Trait universal_hash::NewUniversalHash
source · pub trait NewUniversalHash: Sized {
type KeySize: ArrayLength<u8>;
// Required method
fn new(key: &Key<Self>) -> Self;
}
Expand description
Instantiate a UniversalHash
algorithm.
Required Associated Types§
sourcetype KeySize: ArrayLength<u8>
type KeySize: ArrayLength<u8>
Size of the key for the universal hash function.