package bls12-381-signature

All checked builds pass
  1. Overview
  2. Docs
Implementation of BLS signatures for the pairing-friendly curve BLS12-381

Install

dune-project
 Dependency

Authors

Maintainers

Sources

ocaml-bls12-381-signature-1.0.0.tar.bz2
md5=f98a01a1bba2579ef09f50e2d439e897
sha512=9b66d8cb26234b306548c1c31069fc91228018336b519c8fa05a2e11fee084b97d0400321390cefd823429ec4e62628221c3730cf639fface9b8a11d4628afb5

Description

Added to opam-repository:

README

OCaml implementation of BLS signatures for BLS12-381

Follow the BLS signatures described in this specification. Both instantiations, i.e. the one minimizing the public key size and the one minimizing the signature size, are provided.

Documentation available here

Install

opam install bls12-381-signature

Run tests

dune runtest

To get the coverage:

dune runtest --instrument-with bisect_ppx --force
bisect-ppx-report html

Run the benchmarks

Install core_bench:

opam install core_bench

See files listed in the directory benchmark and execute it with dune exec. For instance:

dune exec ./benchmark/bench_signature.exe

Documentation

opam install odoc
dune build @doc

Dependencies (3)

  1. bls12-381 >= "5.0.0"
  2. dune >= "2.8.4"
  3. ocaml >= "4.08"

Dev Dependencies (3)

  1. integers_stubs_js with-test
  2. bisect_ppx with-test & >= "2.5"
  3. alcotest with-test

Optional Dependencies

None

Used by

None

Conflicts

None

Build status

Results of building bls12-381-signature with each compiler on check.ci.ocaml.org, run of against opam-repository 78c202b. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
1.0.0 (this version) good good good good good
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure