#zk-sync #elliptic-curve #blockchain

zksync_pairing

Pairing-friendly elliptic curve library, based on pairing crate

6 releases

0.30.6 Oct 31, 2024
0.30.5 Oct 31, 2024
0.30.1 Sep 5, 2024

#778 in Magic Beans

Download history 583/week @ 2024-09-03 7466/week @ 2024-09-10 6760/week @ 2024-09-17 5432/week @ 2024-09-24 6349/week @ 2024-10-01 11454/week @ 2024-10-08 9092/week @ 2024-10-15 9604/week @ 2024-10-22 8036/week @ 2024-10-29 5786/week @ 2024-11-05

34,393 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.1–2MB
~40K SLoC