binius_hash

Type Alias Vision32b

Source
pub type Vision32b<P> = VisionHasher<BinaryField32b, P>;
Expand description

The vision specialization over BinaryField32b as per Vision Mark-32

Aliased Type§

struct Vision32b<P> { /* private fields */ }

Trait Implementations

Source§

impl<F: Clone, P: Clone> Clone for VisionHasher<F, P>

Source§

fn clone(&self) -> VisionHasher<F, P>

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<U, F, P> FixedLenHasher<P> for VisionHasher<F, P>

Source§

type Digest = <U as PackScalar<F>>::Packed

The hash function output type.
Source§

fn new(msg_len: u64) -> Self

Constructor. Read more
Source§

fn update(&mut self, msg: impl AsRef<[P]>)

Source§

fn chain_update(self, msg: impl AsRef<[P]>) -> Self

Source§

fn finalize(self) -> Result<Self::Digest, HashError>

Source§

fn reset(&mut self)

Resets with length initialized to the current context