Type Alias OuterHash

Source
pub type OuterHash = MultiField32PaddingFreeSponge<OuterVal, Bn254Fr, OuterPerm, WIDTH, RATE, DIGEST_WIDTH>;

Aliased Type§

struct OuterHash { /* private fields */ }

Implementations

Source§

impl<F, PF, P, const WIDTH: usize, const RATE: usize, const OUT: usize> MultiField32PaddingFreeSponge<F, PF, P, WIDTH, RATE, OUT>
where F: PrimeField32, PF: Field,

Source

pub fn new( permutation: P, ) -> Result<MultiField32PaddingFreeSponge<F, PF, P, WIDTH, RATE, OUT>, String>

Trait Implementations

Source§

impl<F, PF, P, const WIDTH: usize, const RATE: usize, const OUT: usize> Clone for MultiField32PaddingFreeSponge<F, PF, P, WIDTH, RATE, OUT>
where F: Clone, PF: Clone, P: Clone,

Source§

fn clone(&self) -> MultiField32PaddingFreeSponge<F, PF, P, WIDTH, RATE, OUT>

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<F, PF, P, const WIDTH: usize, const RATE: usize, const OUT: usize> CryptographicHasher<F, [PF; OUT]> for MultiField32PaddingFreeSponge<F, PF, P, WIDTH, RATE, OUT>

Source§

fn hash_iter<I>(&self, input: I) -> [PF; OUT]
where I: IntoIterator<Item = F>,

Source§

fn hash_iter_slices<'a, I>(&self, input: I) -> Out
where I: IntoIterator<Item = &'a [Item]>, Item: 'a,

Source§

fn hash_slice(&self, input: &[Item]) -> Out

Source§

fn hash_item(&self, input: Item) -> Out

Source§

impl<F, PF, P, const WIDTH: usize, const RATE: usize, const OUT: usize> Debug for MultiField32PaddingFreeSponge<F, PF, P, WIDTH, RATE, OUT>
where F: Debug, PF: Debug, P: Debug,

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more