mirror of
https://github.com/pezkuwichain/bizinikiwi-bn.git
synced 2026-06-23 01:31:03 +00:00
Version bump.
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "bn"
|
||||
version = "0.3.0"
|
||||
version = "0.4.0"
|
||||
authors = ["Sean Bowe <ewillbefull@gmail.com>"]
|
||||
description = "Pairing cryptography with the Barreto-Naehrig curve"
|
||||
keywords = ["pairing","crypto","cryptography"]
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
# bn [](https://crates.io/crates/bn) [](https://travis-ci.org/zcash/bn)
|
||||
|
||||
This is a [pairing cryptography](https://en.wikipedia.org/wiki/Pairing-based_cryptography) library written in pure Rust. It makes use of the Barreto-Naehrig (BN) curve construction from [[BCGTV13]](http://eprint.iacr.org/2013/507) to provide two cyclic groups **G<sub>1</sub>** and **G<sub>2</sub>**, with an efficient bilinear pairing:
|
||||
This is a [pairing cryptography](https://en.wikipedia.org/wiki/Pairing-based_cryptography) library written in pure Rust. It makes use of the Barreto-Naehrig (BN) curve construction from [[BCTV2015]](https://eprint.iacr.org/2013/879.pdf) to provide two cyclic groups **G<sub>1</sub>** and **G<sub>2</sub>**, with an efficient bilinear pairing:
|
||||
|
||||
*e: G<sub>1</sub> × G<sub>2</sub> → G<sub>T</sub>*
|
||||
|
||||
**This code is still in early development and should not be used in production software.**
|
||||
## Security warnings
|
||||
|
||||
This library, like other pairing cryptography libraries implementing this construction, is not resistant to side-channel attacks.
|
||||
|
||||
## Usage
|
||||
|
||||
@@ -12,7 +14,7 @@ Add the `bn` crate to your dependencies in `Cargo.toml`...
|
||||
|
||||
```toml
|
||||
[dependencies]
|
||||
bn = "0.3.0"
|
||||
bn = "0.4.0"
|
||||
```
|
||||
|
||||
...and add an `extern crate` declaration to your crate root:
|
||||
|
||||
Reference in New Issue
Block a user