package bls12-381

  1. Overview
  2. Docs
Implementation of BLS12-381 and some cryptographic primitives built on top of it

Install

Dune Dependency

Authors

Maintainers

Sources

ocaml-bls12-381-4.0.0.tar.bz2
md5=82faa0c51f5bf5c846c79f35963ef6f2
sha512=8b1620f3ccde4017e6205d18c7040b26f3b5affbc71237ffc263fe2d625a7276e20b44617a632736f1426bcc8eb184705360506ff88f0f1ecb28c7a0514fef29

doc/bls12-381/Bls12_381/index.html

Module Bls12_381Source

Sourcemodule Fr : sig ... end
Sourcemodule type CURVE = sig ... end
Sourcemodule Fq12 : sig ... end

Represents the field extension constructed as described here. The interface does not provide the full requirements to be a field (like the addition).

Sourcemodule G1 : sig ... end

Elliptic curve built over the field Fq and the equation y^2 = x^3 + 4

Sourcemodule G2 : sig ... end

Elliptic curve built over the field Fq^2 and the equation y^2 = x^3 + 4(u + 1)

Sourcemodule GT : sig ... end

Prime subgroup of Fq12, of order Fr.order, represented additively

Sourcemodule Pairing : sig ... end

Provides routines to compute the pairing over G1 x G2 -> GT

Sourcemodule Poseidon128 : sig ... end

Implementation of an instantiation of Poseidon over the scalar field of BLS12-381 for a security of 128 bits and with the permutation x^5. The parameters of the instantiation are:

Sourcemodule Rescue : sig ... end

Implementation of an instantiation of Rescue over the scalar field of BLS12-381 for a security of 128 bits and with the permutation x^5. The parameters of the instantiation are:

Sourceval built_with_blst_portable : bool

Return true if the environment variable `BLST_PORTABLE` was set when building the library, otherwise false. Can be used to detect if the backend blst has been optimised with ADX on ADX-supported platforms.

OCaml

Innovation. Community. Security.