#zk-sync #elliptic-curve #blockchain

zksync_pairing

Pairing-friendly elliptic curve library, based on pairing crate

8 releases

0.30.10 Nov 28, 2024
0.30.9 Nov 21, 2024
0.30.6 Oct 31, 2024
0.30.1 Sep 5, 2024

#10 in #zksync

Download history 339/week @ 2024-09-02 4325/week @ 2024-09-09 9056/week @ 2024-09-16 5460/week @ 2024-09-23 5300/week @ 2024-09-30 11715/week @ 2024-10-07 8970/week @ 2024-10-14 10471/week @ 2024-10-21 8329/week @ 2024-10-28 5696/week @ 2024-11-04 5778/week @ 2024-11-11 4985/week @ 2024-11-18 3923/week @ 2024-11-25 3592/week @ 2024-12-02 2589/week @ 2024-12-09

15,178 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

~1.2–2.1MB
~41K SLoC