gravity-rs
gravity-rs copied to clipboard
A Rust implementation of the Gravity-post-quantum signature schemes
gravity-rs
A Rust implementation of the Gravity-post-quantum signature schemes.
Configuration
To configure the scheme's parameters (height of Merkle trees, number of subtrees, size of cache, etc.), modify them in the file src/config.rs
.
There is currently no option to do this at runtime.
Testing
Extensive unit tests are implemented to check the logic of the signature scheme. High-level test vectors generated with the reference C implementation check the overall consistency.
You may want to use cargo test --release
, because the implementation is quite slow in non-release mode.
Disclaimer
The Gravity-SPHINCS signature scheme is still young and has not yet been independently audited, nor has this code. For now, this is simply a proposal so don't use it in production!
License
MIT