package tezos-plonk

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type prover = {
  1. srs1 : Srs_g1.t;
  2. encoding_1 : G2.t;
  3. encoding_x : G2.t;
}
val prover_t : prover Repr.t
val to_bytes : int -> prover -> bytes
type verifier = {
  1. encoding_1 : G2.t;
  2. encoding_x : G2.t;
}
val verifier_t : verifier Repr.t
type setup_params = int
val setup_verifier : Srs_g2.t -> verifier
val setup_prover : (Srs_g1.t * Srs_g2.t) -> prover
val setup : 'a -> ((Srs_g1.t * Srs_g2.t) * 'b) -> prover * verifier
OCaml

Innovation. Community. Security.