snarkvm_console_algorithms::environment::traits::algorithms

Trait HashUncompressed

Source
pub trait HashUncompressed {
    type Input;
    type Output;

    // Required method
    fn hash_uncompressed(
        &self,
        input: &[Self::Input],
    ) -> Result<Self::Output, Error>;
}
Expand description

A trait for a hash function of an uncompressed variant.

Required Associated Types§

Required Methods§

Source

fn hash_uncompressed( &self, input: &[Self::Input], ) -> Result<Self::Output, Error>

Returns the hash of the given input.

Implementors§

Source§

impl<E: Environment, const NUM_BITS: u8> HashUncompressed for Pedersen<E, NUM_BITS>

Source§

impl<E: Environment, const NUM_WINDOWS: u8, const WINDOW_SIZE: u8> HashUncompressed for BHPHasher<E, NUM_WINDOWS, WINDOW_SIZE>

Source§

impl<E: Environment, const NUM_WINDOWS: u8, const WINDOW_SIZE: u8> HashUncompressed for BHP<E, NUM_WINDOWS, WINDOW_SIZE>