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§

type Input

type Output

Required Methods§

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>

§

type Input = bool

§

type Output = Group<E>

source§

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

§

type Input = bool

§

type Output = Group<E>

source§

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

§

type Input = bool

§

type Output = Group<E>