#pairing #crypto #elliptic #bls12_381

mcl

Rust FFI bindings for the MCL pairing-based cryptography

7 releases (4 breaking)

✓ Uses Rust 2018 edition

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

#206 in Cryptography

Download history 11/week @ 2019-11-27 14/week @ 2019-12-04 29/week @ 2019-12-11 8/week @ 2019-12-25 2/week @ 2020-01-01 14/week @ 2020-01-08 7/week @ 2020-01-15 1/week @ 2020-01-22 2/week @ 2020-02-05 7/week @ 2020-02-12 15/week @ 2020-02-19 14/week @ 2020-02-26 15/week @ 2020-03-04 7/week @ 2020-03-11

99 downloads per month

MIT license

19KB
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

~0.4–0.9MB
~20K SLoC