Rust-language assets for Pirate Chain / Zcash (with modifications to support Qortal cross-chain trades)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Sean Bowe 2d12b9a858
Apply newer rustfmt rules.
7 years ago
benches Simplify `pairing_benches`. 7 years ago
src Apply newer rustfmt rules. 7 years ago
.gitignore Initial commit 7 years ago
COPYRIGHT Add COPYRIGHT file to inform of conditions for contributing and license information. 7 years ago
Cargo.toml Update Clippy to support latest nightly, and fix some lints. 7 years ago
LICENSE-APACHE Modify the LICENSE-APACHE and LICENSE-MIT files. 7 years ago
LICENSE-MIT Modify the LICENSE-APACHE and LICENSE-MIT files. 7 years ago
README.md Release of pairing 0.14.0. 7 years ago

README.md

pairing Crates.io

This is a Rust crate for using pairing-friendly elliptic curves. Currently, only the BLS12-381 construction is implemented.

Documentation

Bring the pairing crate into your project just as you normally would.

If you're using a supported platform and the nightly Rust compiler, you can enable the u128-support feature for faster arithmetic.

[dependencies.pairing]
version = "0.14"
features = ["u128-support"]

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.