package bls12-381-hash
Implementation of some cryptographic hash primitives using the scalar field of BLS12-381
Install
Dune Dependency
Authors
Maintainers
Sources
ocaml-bls12-381-hash-1.0.0.tar.gz
md5=9b4bd4c42e4542b777f13666f72da9e3
sha512=c9465f26c50624d95bb55a878bb78dff2703bd352445221bfef434cad2edb040cef95f33f44dcfe96949e52ba7ff9aeeab24cffd2d80fcb97e45085dad336701
README.md.html
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 build
Install 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\#main
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_anemoi.exe
Documentation
opam install odoc
dune build @doc
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>