package octez-libs

  1. Overview
  2. Docs
type prover = {
  1. srs1 : Kzg.Bls.Srs_g1.t;
  2. encoding_1 : Bls.G2.t;
  3. encoding_x : Bls.G2.t;
}
val prover_t : prover Repr.t
type verifier = {
  1. encoding_1 : Bls.G2.t;
  2. encoding_x : Bls.G2.t;
}
val verifier_t : verifier Repr.t
type setup_params = int
val setup_verifier : Kzg.Bls.Srs_g2.t -> verifier
val setup_prover : (Kzg.Bls.Srs_g1.t * Kzg.Bls.Srs_g2.t) -> prover
val get_commit_parameters : prover -> Kzg.Bls.Srs_g1.t
OCaml

Innovation. Community. Security.