Struct ark_poly_commit::ipa_pc::CommitterKey [−][src]
pub struct CommitterKey<G: AffineCurve> { pub comm_key: Vec<G>, pub h: G, pub s: G, pub max_degree: usize, }
Expand description
CommitterKey is used to commit to, and create evaluation proofs for, a given
polynomial.
Fields
comm_key: Vec<G>The key used to commit to polynomials.
h: GA random group generator.
s: GA random group generator that is to be used to make a commitment hiding.
max_degree: usizeThe maximum degree supported by the parameters this key was derived from.
Trait Implementations
Reads Self from reader.
Reads Self from reader without compression.
Reads self from reader without compression, and without performing
validity checks. Should be used only when the input is trusted. Read more
Serializes self into writer.
It is left up to a particular type for how it strikes the
serialization efficiency vs compression tradeoff.
For standard types (e.g. bool, lengths, etc.) typically an uncompressed
form is used, whereas for algebraic types compressed forms are used. Read more
Serializes self into writer without compression.
Serializes self into writer without compression, and without
performing validity checks. Should be used only when there is no
danger of adversarial manipulation of the output. Read more
Outputs the maximum degree supported by the universal parameters
Self was derived from. Read more
Outputs the maximum degree supported by the committer key.
prepare PreparedVerifierKey from VerifierKey
Auto Trait Implementations
impl<G> RefUnwindSafe for CommitterKey<G> where
G: RefUnwindSafe, impl<G> Send for CommitterKey<G>impl<G> Sync for CommitterKey<G>impl<G> Unpin for CommitterKey<G> where
G: Unpin, impl<G> UnwindSafe for CommitterKey<G> where
G: UnwindSafe, Blanket Implementations
Mutably borrows from an owned value. Read more
fn hash_uncompressed<H>(&self) -> GenericArray<u8, <H as Digest>::OutputSize> where
H: Digest, [src]type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V