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

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

A trait for a commitment scheme.

Required Associated Types

Required Methods

Returns the commitment to the given input and randomizer.

Trait Implementations

Returns the number of constants, public inputs, private inputs, and constraints.
Returns the mode of the output.

Implementors