Install
dune-project
Dependency
Authors
Maintainers
Sources
md5=9b4bd4c42e4542b777f13666f72da9e3
sha512=c9465f26c50624d95bb55a878bb78dff2703bd352445221bfef434cad2edb040cef95f33f44dcfe96949e52ba7ff9aeeab24cffd2d80fcb97e45085dad336701
Description
Added to opam-repository:
README
Fast implementation of hash functions over the scalar field of BLS12-381
Use with caution before release 1.0.0
Documentation available here.
This library provides a fast implementation of:
Install
Use a local switch for development
opam switch create ./ 4.14.0
dune buildInstall in an existing local switch
# for the latest published version in ocaml/opam-repository
opam install bls12-381-hash
# for the dev version
opam pin add bls12-381-hash.dev git+https://gitlab.com/dannywillems/ocaml-bls12-381-hash\#mainRun tests
dune runtestTo get the coverage:
dune runtest --instrument-with bisect_ppx --force
bisect-ppx-report htmlRun the benchmarks
Install core_bench:
opam install core_benchSee files listed in the directory benchmark and execute it with dune exec. For instance:
dune exec ./benchmark/bench_anemoi.exeDocumentation
opam install odoc
dune build @doc
Dev Dependencies (2)
-
bisect_ppx
with-test & >= "2.5" -
alcotest
with-test
Optional Dependencies
None
Used by
None
Conflicts
None
Build status
Results of building bls12-381-hash with each compiler on check.ci.ocaml.org, run of against opam-repository 8d8d144. 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) | n/a | good | good | good | good |
| 0.0.1 | 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