Trait ark_poly_commit::data_structures::PCCommitment[][src]

pub trait PCCommitment: Clone + ToBytes + CanonicalSerialize + CanonicalDeserialize {
    fn empty() -> Self;
fn has_degree_bound(&self) -> bool;
fn size_in_bytes(&self) -> usize; }

Defines the minimal interface of commitments for any polynomial commitment scheme.

Required methods

fn empty() -> Self[src]

Outputs a non-hiding commitment to the zero polynomial.

fn has_degree_bound(&self) -> bool[src]

Does this commitment have a degree bound?

fn size_in_bytes(&self) -> usize[src]

Size in bytes

Loading content...

Implementors

impl<E: PairingEngine> PCCommitment for ark_poly_commit::kzg10::Commitment<E>[src]

impl<E: PairingEngine> PCCommitment for ark_poly_commit::marlin::marlin_pc::Commitment<E>[src]

impl<G: AffineCurve> PCCommitment for ark_poly_commit::ipa_pc::Commitment<G>[src]

Loading content...