#zk-sync #elliptic-curve #blockchain

zksync_pairing

Pairing-friendly elliptic curve library, based on pairing crate

7 releases

new 0.30.9 Nov 21, 2024
0.30.8 Nov 19, 2024
0.30.6 Oct 31, 2024
0.30.1 Sep 5, 2024

#151 in Magic Beans

Download history 1189/week @ 2024-09-05 9932/week @ 2024-09-12 5644/week @ 2024-09-19 5846/week @ 2024-09-26 8611/week @ 2024-10-03 10552/week @ 2024-10-10 9628/week @ 2024-10-17 8906/week @ 2024-10-24 6890/week @ 2024-10-31 5525/week @ 2024-11-07 5684/week @ 2024-11-14

30,069 downloads per month
Used in 43 crates (2 directly)

MIT/Apache

565KB
13K SLoC

pairing "community edition"

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.

Documentation

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.

License

Licensed under either of

at your option.

Contribution

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.

Dependencies

~3MB
~61K SLoC