Module snarkvm_marlin::fiat_shamir[][src]

Expand description

RNGs for the Marlin SNARK.

Re-exports

pub use traits::*;

Modules

Traits for the Fiat-Shamir RNG.

Structs

An RNG from any algebraic sponge

Building the Fiat-Shamir sponge’s gadget from any algebraic sponge’s gadget.

Implements a Fiat-Shamir based Rng that allows one to incrementally update the seed based on new messages in the proof transcript. Use a ChaCha stream cipher to generate the actual pseudorandom bits. Use a digest function to do absorbing.

The sponge for Poseidon

the gadget for Poseidon sponge

Enums

A enum specifying the possible failure modes of FiatShamir.