Crates.io | snowbridge-amcl |
lib.rs | snowbridge-amcl |
version | 1.0.2 |
source | src |
created_at | 2024-01-19 14:35:32.559313 |
updated_at | 2024-01-22 18:31:50.296695 |
description | The Apache Milagro Cryptographic Library (version 3) |
homepage | |
repository | https://github.com/Snowfork/incubator-milagro-crypto-rust.git |
max_upload_size | |
id | 1105337 |
size | 1,106,705 |
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