package octez-libs

  1. Overview
  2. Docs
type t = Srs_g2.t
val t : t Repr.t
type elt = Bls12_381.G2.t
val empty : t
val get : t -> int -> elt
val size : t -> int
val of_bigstring : ?len:int -> Bigstringaf.t -> (t, [> `End_of_file of string | `Invalid_point of int ]) result
val generate_insecure : int -> Bls12_381.Fr.t -> t
val pippenger : ?offset:int -> ?len:int -> t -> polynomial -> elt
val to_array : ?len:int -> t -> elt array
val of_array : elt array -> t
OCaml

Innovation. Community. Security.