package bls12-381-signature

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

Install

Dune Dependency

Authors

Maintainers

Sources

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

Description

Published: 26 Sep 2022

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

Used by (1)

  1. tezos-crypto >= "15.0" & < "17.1"

Conflicts

None