#zksync #elliptic-curve #blockchain #pairing #user #pairing-friendly #bn256

zksync_pairing

Pairing-friendly elliptic curve library, based on pairing crate

1 unstable release

0.30.1 Sep 5, 2024
0.30.0 Sep 5, 2024

#140 in Magic Beans

Download history 313/week @ 2024-09-01 4048/week @ 2024-09-08

4,361 downloads per month
Used in 40 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

~2.1–2.9MB
~60K SLoC