Struct solana_zk_token_sdk::encryption::pedersen::Pedersen [−][src]
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.