zkcrypto / pairing

Pairing-friendly elliptic curve library.
Other
341 stars 119 forks source link

pairing Crates.io

pairing is a crate for using pairing-friendly elliptic curves.

pairing provides basic traits for pairing-friendly elliptic curve constructions. Specific curves are implemented in separate crates:

RFC process

This crate follows the zkcrypto RFC process. If you want to propose "substantial" changes to this crate (in particular to the pairing traits), please create an RFC for wider discussion.

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.

Minimum Supported Rust Version

Requires Rust 1.56 or higher.

Minimum supported Rust version can be changed in the future, but it will be done with a minor version bump.

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.