pub trait HashUncompressed {
    type Input;
    type Output;

    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§

Returns the hash of the given input.

Implementations on Foreign Types§

Returns the Pedersen hash of the given input as a group element.

Returns the BHP hash of the given input as an affine group element.

This uncompressed variant of the BHP hash function is provided to support the BHP commitment scheme, as it is typically not used by applications.

Returns the BHP hash of the given input as an affine group element.

This uncompressed variant of the BHP hash function is provided to support the BHP commitment scheme, as it is typically not used by applications.

Implementors§