p3_symmetric

Trait CompressionFunction

Source
pub trait CompressionFunction<T, const N: usize>: PseudoCompressionFunction<T, N> { }
Expand description

An N-to-1 compression function.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T, H, const N: usize, const CHUNK: usize> CompressionFunction<[T; CHUNK], N> for CompressionFunctionFromHasher<H, N, CHUNK>