pub trait CommitUncompressed {
    type Input;
    type Output;
    type Randomizer;

    fn commit_uncompressed(
        &self,
        input: &[Self::Input],
        randomizer: &Self::Randomizer
    ) -> Result<Self::Output, Error>; }
Expand description

A trait for a commitment scheme.

Required Associated Types§

Required Methods§

Returns the commitment to the given input and randomizer.

Implementations on Foreign Types§

Returns the BHP commitment of the given input and randomizer as an affine group element.

Returns the Pedersen commitment of the given input and randomizer as a group element.

Implementors§