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.

Associated Types

The type of Rng the transcript generates.

Required methods

Generates an RNG from the transcript state and an input rng (in_rng) which should provide system randomness.

Implementors