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:
bls12_381
- the BLS12-381 curve.
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.
Bring the pairing
crate into your project just as you normally would.
This library does not make any guarantees about constant-time operations, memory access patterns, or resistance to side-channel attacks.
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.
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
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.