pub trait CommitUncompressed {
type Input;
type Output;
type Randomizer;
// Required method
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§
Sourcefn commit_uncompressed(
&self,
input: &[Self::Input],
randomizer: &Self::Randomizer,
) -> Result<Self::Output, Error>
fn commit_uncompressed( &self, input: &[Self::Input], randomizer: &Self::Randomizer, ) -> Result<Self::Output, Error>
Returns the commitment to the given input and randomizer.