Pairing-friendly elliptic curve library

2 releases

0.18.1 Sep 30, 2020
0.18.0 Jul 31, 2020

#1879 in Cryptography

Download history 55/week @ 2023-06-26 142/week @ 2023-07-03 52/week @ 2023-07-10 74/week @ 2023-07-17 74/week @ 2023-07-24 28/week @ 2023-07-31 61/week @ 2023-08-07 71/week @ 2023-08-14 26/week @ 2023-08-21 31/week @ 2023-08-28 78/week @ 2023-09-04 48/week @ 2023-09-11 51/week @ 2023-09-18 53/week @ 2023-09-25 45/week @ 2023-10-02 67/week @ 2023-10-09

217 downloads per month
Used in 6 crates (via fawkes-crypto-bellman_ce)


11K SLoC

pairing "community edition"

Forked from kobigurk/phase2-bn254.

Now published as pairing_ce to crates.io for users convenience.

Originally developed by ZCash, with extensions from us to make it a little more pleasant.

This is a Rust crate for using pairing-friendly elliptic curves. Currently, only the BLS12-381 and BN256 curves are implemented.


Bring the pairing crate into your project just as you normally would.

Security Warnings

This library does not make any guarantees about constant-time operations, memory access patterns, or resistance to side-channel attacks.


Licensed under either of

at your option.


Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.


~63K SLoC