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-0.0.1.tar.bz2
md5=cdbf6e9ebfbdb85d1c711d0e4e88ec92
sha512=25ecba471bebbc648f91476521680e4e93b6172c271797344b42d9f64100ef63efca133af1e1f6562d74d10a3d35db5d369033b97e468716fe5a1237ec267e1e

Description

Published: 24 Aug 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

None

Conflicts

None

OCaml

Innovation. Community. Security.