Expand description
This module contains utilities and traits for dealing with Fiat-Shamir transcripts.
Structs§
- Blake2b
Read - We will replace BLAKE2b with an algebraic hash function in a later version.
- Blake2b
Write - We will replace BLAKE2b with an algebraic hash function in a later version.
- Challenge255
- A 255-bit challenge.
- Challenge
Scalar - The scalar representation of a verifier challenge.
- Keccak256
Read - Keccak256 hash function reader for EVM compatibility
- Keccak256
Write - Keccak256 hash function writer for EVM compatibility
Traits§
- Encoded
Challenge EncodedChallenge<C>
defines a challenge encoding with aSelf::Input
that is used to derive the challenge encoding andget_challenge
obtains the realC::Scalar
that the challenge encoding represents.- Transcript
- Generic transcript view (from either the prover or verifier’s perspective)
- Transcript
Read - Transcript view from the perspective of a verifier that has access to an input stream of data from the prover to the verifier.
- Transcript
Read Buffer - Initializes transcript at verifier side.
- Transcript
Write - Transcript view from the perspective of a prover that has access to an output stream of messages from the prover to the verifier.
- Transcript
Writer Buffer - Manages begining and finising of transcript pipeline.