halo2_axiom

Module transcript

Source
Expand description

This module contains utilities and traits for dealing with Fiat-Shamir transcripts.

Structs§

  • We will replace BLAKE2b with an algebraic hash function in a later version.
  • We will replace BLAKE2b with an algebraic hash function in a later version.
  • A 255-bit challenge.
  • The scalar representation of a verifier challenge.
  • Keccak256 hash function reader for EVM compatibility
  • Keccak256 hash function writer for EVM compatibility

Traits§

  • EncodedChallenge<C> defines a challenge encoding with a Self::Input that is used to derive the challenge encoding and get_challenge obtains the real C::Scalar that the challenge encoding represents.
  • Generic transcript view (from either the prover or verifier’s perspective)
  • Transcript view from the perspective of a verifier that has access to an input stream of data from the prover to the verifier.
  • Initializes transcript at verifier side.
  • Transcript view from the perspective of a prover that has access to an output stream of messages from the prover to the verifier.
  • Manages begining and finising of transcript pipeline.