Module risc0_zkp::core

source ·
Expand description

Core module used to implement a zk-STARK prover and verifier.

Modules§

  • A generic (cross hash) digest, which is always 256 bits and composed of 8 words
  • Traits to configure which cryptographic primitives the ZKP uses
  • An implementation of a number-theoretic transform (NTT).
  • Polynomial utilities (currently only those used in polynomial evaluation).

Traits§

  • Generic trait for generating random values.

Functions§

  • Compute ceil(log_2(value))
  • For x = (1 << po2), given x, find po2.