pub struct ProofCommittedBuilder<B, C, const P: usize, const S: usize> where
    B: Clone + Copy + Debug + Default + ConstantTimeEq + PartialEq + Eq + Curve<AffineRepr = C>,
    C: GroupEncoding + Debug
{ /* private fields */ }
Expand description

A builder struct for creating a proof of knowledge of messages in a vector commitment each message has a blinding factor

Implementations

Create a new builder

Add a specified point and generate a random blinding factor

Commit a specified point with the specified scalar

Return the point and blinding factor at the specified index

Convert the committed values to bytes for the fiat-shamir challenge

Generate the Schnorr challenges given the specified secrets by computing p = r + c * s

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.