Module Commitment.Single

Parameters

module G : Bls.G_sig

Signature

type t = G.t
val t : G.t Repr.ty
type public_parameters = G.Srs.t
type secret = Kzg.Bls.Poly.t
val zero : G.t
val random : ?state:Stdlib.Random.State.t -> unit -> G.t
val alter_proof : G.t -> G.t
val encoding : G.t Data_encoding.encoding
val equal : G.t -> G.t -> bool
val compare : G.t -> G.t -> int
val commit : G.Srs.t -> Kzg.Bls.Poly.t -> G.Srs.elt
val size : int
val commitment_of_bytes_exn : Stdlib.Bytes.t -> G.t
val to_string : G.t -> string
val of_string_opt : string -> G.t option