Type Alias InnerHash

Source
pub type InnerHash = PaddingFreeSponge<InnerPerm, 16, 8, 8>;

Aliased Type§

struct InnerHash { /* private fields */ }

Implementations

Source§

impl<P, const WIDTH: usize, const RATE: usize, const OUT: usize> PaddingFreeSponge<P, WIDTH, RATE, OUT>

Source

pub const fn new(permutation: P) -> PaddingFreeSponge<P, WIDTH, RATE, OUT>

Trait Implementations

Source§

impl<P, const WIDTH: usize, const RATE: usize, const OUT: usize> Clone for PaddingFreeSponge<P, WIDTH, RATE, OUT>
where P: Clone,

Source§

fn clone(&self) -> PaddingFreeSponge<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<T, P, const WIDTH: usize, const RATE: usize, const OUT: usize> CryptographicHasher<T, [T; OUT]> for PaddingFreeSponge<P, WIDTH, RATE, OUT>

Source§

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

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<P, const WIDTH: usize, const RATE: usize, const OUT: usize> Debug for PaddingFreeSponge<P, WIDTH, RATE, OUT>
where P: Debug,

Source§

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

Formats the value using the given formatter. Read more
Source§

impl<P, const WIDTH: usize, const RATE: usize, const OUT: usize> Copy for PaddingFreeSponge<P, WIDTH, RATE, OUT>
where P: Copy,