package bls12-381
OCaml binding for bls12-381 from librustzcash
Install
Dune Dependency
Authors
Maintainers
Sources
ocaml-bls12-381-0.3.15.tar.gz
md5=bc2be5f59fbdabc1faf64f4c7be79aff
sha512=88282ebaf59aa722ce7499e71e24e5313c7933a137c15f95cce58becd50ed30c4df8ca5eb6b00ee98ed4af6aa4412f6e620e23328b381a4372b2d516122464cc
Description
Published: 02 Feb 2021
README
OCaml implementation of BLS12-381
Install
Setup environment
opam switch create ./ 4.09.1 --deps-only
eval $(opam env)
Install Rust dependencies and install the library
./build_deps.sh
opam install . -y
Play with utop
opam install utop
dune utop
Run tests
dune build @install
opam install alcotest
dune runtest
Run the benchmarks
USE THE RELEASE VERSION OF THE RUST LIBRARY TO GET PRODUCTION BENCHMARKS (cargo build --release)
opam install core_bench
dune exec benchmark/bench_ec.exe
dune exec benchmark/bench_ff.exe
dune exec benchmark/bench_pairing.exe
Documentation
Use
dune build @doc
to generate the API documentation.
Dependencies (9)
-
tezos-rust-libs
= "1.0"
- ctypes-foreign
-
ctypes
>= "0.17.1" & < "0.18.0"
-
zarith
>= "1.10" & < "2.0"
-
ff
>= "0.4.0" & < "0.5.0"
-
dune-configurator
build
-
dune
>= "2.0"
-
ocaml
>= "4.08"
-
conf-rust
build
Dev Dependencies (1)
-
alcotest
with-test
Used by (2)
-
scaml
>= "1.5.0"
-
tezos-crypto
>= "8.0" & < "11.0"
Conflicts
None
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page