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
opam install bls12-381-signaturedune runtestTo get the coverage:
dune runtest --instrument-with bisect_ppx --force
bisect-ppx-report htmlInstall core_bench:
opam install core_benchSee files listed in the directory benchmark and execute it with dune exec. For instance:
dune exec ./benchmark/bench_signature.exeopam install odoc
dune build @doc