[][src]Trait universal_hash::NewUniversalHash

pub trait NewUniversalHash: Sized {
    type KeySize: ArrayLength<u8>;
    fn new(key: &Key<Self>) -> Self;
}

Instantiate a UniversalHash algorithm.

Associated Types

type KeySize: ArrayLength<u8>

Size of the key for the universal hash function.

Loading content...

Required methods

fn new(key: &Key<Self>) -> Self

Instantiate a universal hash function with the given key.

Loading content...

Implementors

Loading content...