2 releases
new 0.0.2 | Mar 6, 2025 |
---|---|
0.0.1 | Mar 5, 2025 |
#1 in #keys
39 downloads per month
9KB
165 lines
sss
sss
is an implementation of the Shamir Secret Sharing algorythm for numbers of any number of bits (defaulted to 256).
Features
- Creation of secret shares.
- Recover secret from shares.
- Key generation.
Usage
Run the program:
cargo run
Run cargo test --lib
to test the crate on bulk.
Documentation
Generate documentation and open:
cargo doc --open
Requirements
- Cargo installed
Future Work
- Optimization
lib.rs
:
This crate contains all the functions to generate and share secret keys. The secret keys' bit size is defaulted to 256.
Dependencies
~4MB
~66K SLoC