#elliptic #bls12-381 #pairing #crypto

mcl

Rust FFI bindings for the MCL pairing-based cryptography

7 releases (4 breaking)

0.5.0-alpha Oct 14, 2019
0.4.0-alpha Oct 12, 2019
0.3.0-alpha Oct 10, 2019
0.2.3-alpha Oct 9, 2019
0.1.0-alpha Oct 7, 2019

#2187 in Cryptography

MIT license

20KB
341 lines

MCL

Rust-bindings to the MCL pairing-based cryptography library.

MCL GitHub: https://github.com/herumi/mcl

Installation

First install MCL using the manual in herumi/mcl. You can build the bindings as a usual cargo crate.

If it compiles, then it should work - it was tested against MCL v1.00 (2019/Sep/30).

Disclaimer

Currently under heavy development, many bindings are missing and the API may change significantly.

TODOs

  • Support the full MCL API.
  • Make the code idiomatic
  • Add the docs and more examples (for now, you can see the examples/ directory)

Dependencies

~1.5MB
~38K SLoC