commit | 2436d2fc48d7d9a29cd26afddf5de4a71e6bec69 | [log] [tgz] |
---|---|---|
author | Kirk Baird <baird.k@outlook.com> | Fri Oct 02 15:11:51 2020 +1000 |
committer | Kirk Baird <baird.k@outlook.com> | Fri Oct 02 15:11:51 2020 +1000 |
tree | b3a93cb275075266fc9f3fa76004153071736092 | |
parent | 09c76994af628d736f9bfebe8cf0d29d5938ec8d [diff] |
Reject secret key zero Signed-off-by: Kirk Baird <baird.k@outlook.com>
BLS12-381 has been updated to the the most recent standards being bls-signatures-04 and hash-to-curve-09.
Updated to Rust 2018.
This version of the library requires Version 1.31+ of Rust for the 2018 edition.
AMCL version 2 is distributed as a cargo crate.
Modulues (namespaces) are used to separate different curves.
Unit testing can be done using cargo testing framework.
Note: --all-features
may be replaced by --features xx
where xx
is the desired feature e.g. bls381
.
cargo test --all --all-features --release
cargo bench --features bench
Note SHA-2
and SHA-3
features will always be compiled however all other features require the feature flag --features xx