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