package bls12-381-hash
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Implementation of some cryptographic hash primitives using the scalar field of BLS12-381
Install
dune-project
Dependency
Authors
Maintainers
Sources
ocaml-bls12-381-hash-0.0.4.tar.bz2
md5=5c79c937147dfb3f953296d8e6bc4ab9
sha512=ad04b93254f5134914d527193289def1cea3455ae5e1e3b5e015de1274e6c3f22e8df02e87507564725e1259cb34798cc33387a50e9888e5231279d15bf09cca
doc/README.html
OCaml implementation of BLS12-381
Use with caution before release 1.0.0
This library provides a fast implementation of:
- an instantiation of Poseidon providing a security of 128 bits. See the documentation for more information on the used parameters.
- an instantiation of Rescue providing a security of 128 bits. See the documentation for more information on the used parameters.
- an instantiation of Anemoi providing a security of 128 bits. See the documentation for more information on the used parameters.
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
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page