package bls12-381-js

  1. Overview
  2. Docs
JavaScript version of BLS12-381 primitives implementing the virtual package bls12-381

Install

Dune Dependency

Authors

Maintainers

Sources

ocaml-bls12-381-0.4.3.tar.bz2
md5=f81a4562579a69cc0312d6c948678d35
sha512=b9997e85babe1e160bd5ed1d1986584f375a544e120258a18b1f27bf01b86c9a243181e09120ed69fbd611d5ca4721c89a9e3a18e1cf89f7419a430d5b9b2aef

doc/bls12-381-js/G1/Uncompressed/index.html

Module G1.UncompressedSource

Sourceexception Not_on_curve of Bytes.t
Sourcetype t = Bls12_381_gen__G1.MakeUncompressed(Fr)(Bls12_381_js_gen.G1.MakeUncompressedStubs(Stubs)).t
Sourceval size_in_bytes : int
Sourcemodule Scalar : sig ... end
Sourceval empty : unit -> t
Sourceval check_bytes : Bytes.t -> bool
Sourceval of_bytes_opt : Bytes.t -> t option
Sourceval of_bytes_exn : Bytes.t -> t
Sourceval to_bytes : t -> Bytes.t
Sourceval zero : t
Sourceval one : t
Sourceval is_zero : t -> bool
Sourceval random : ?state:Random.State.t -> unit -> t
Sourceval add : t -> t -> t
Sourceval double : t -> t
Sourceval negate : t -> t
Sourceval eq : t -> t -> bool
Sourceval mul : t -> Scalar.t -> t
Sourceval of_z_opt : x:Z.t -> y:Z.t -> t option
OCaml

Innovation. Community. Security.