pub struct Pedersen;
Expand description

Handle for the Pedersen commitment scheme

Implementations

Given a number as input, the function returns a Pedersen commitment of the number and its corresponding opening.

Given a number and an opening as inputs, the function returns their Pedersen commitment.

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

Performs the conversion.

Performs the conversion.

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.