pub trait Transcript {
    // Required methods
    fn append<S: CanonicalSerialize>(&mut self, label: &'static [u8], point: &S);
    fn challenge_scalar<F: Field>(&mut self, label: &'static [u8]) -> F;
}
Expand description

Transcript is the application level transcript to derive the challenges needed for Fiat Shamir during aggregation. It is given to the prover/verifier so that the transcript can be fed with any other data first. Taken from https://github.com/nikkolasg/snarkpack

Required Methods§

source

fn append<S: CanonicalSerialize>(&mut self, label: &'static [u8], point: &S)

source

fn challenge_scalar<F: Field>(&mut self, label: &'static [u8]) -> F

Implementations on Foreign Types§

source§

impl Transcript for Merlin

source§

fn append<S: CanonicalSerialize>(&mut self, label: &'static [u8], element: &S)

source§

fn challenge_scalar<F: Field>(&mut self, label: &'static [u8]) -> F

Implementors§