#zk-sync #elliptic-curve #blockchain

zksync_pairing

Pairing-friendly elliptic curve library, based on pairing crate

6 releases

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

#176 in Magic Beans

Download history 764/week @ 2024-09-04 9206/week @ 2024-09-11 5777/week @ 2024-09-18 5465/week @ 2024-09-25 7289/week @ 2024-10-02 10933/week @ 2024-10-09 8933/week @ 2024-10-16 10303/week @ 2024-10-23 7139/week @ 2024-10-30

39,247 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–2MB
~40K SLoC