Trait sigma_fun::ProverTranscript [−][src]
pub trait ProverTranscript<S: Sigma> { type Rng: CryptoRng + RngCore; fn gen_rng<R: CryptoRng + RngCore>(
&self,
sigma: &S,
witness: &S::Witness,
in_rng: Option<&mut R>
) -> Self::Rng; }
Expand description
A Transcript
that can also generate a rng.
The prover needs an rng to generate it’s AnnounceSecret
.