Struct tiny_ped_com::Committer
[−]
[src]
pub struct Committer;
Committer is the party who is commiting to a value.
Methods
impl Committer
[src]
pub fn commit<T: Rng>(
rng: &mut T,
val: &CommitmentValue,
pk: &VerifierPublicKey
) -> (Commitment, CommitmentOpening)
[src]
rng: &mut T,
val: &CommitmentValue,
pk: &VerifierPublicKey
) -> (Commitment, CommitmentOpening)
Generates the data to commit the Commiter to the provided value.