This library provides a implementation of a verifiable secret sharing algorithm: Shamir Secret Sharing with Feldman's scheme for verification.
It is based on the code of verifiable-secret-sharing, but adapted to work with Curve25519/Ristretto.
Note that Feldman's scheme reveals information about the secret to dealer with unlimited computing power.
Warning: This code is a research prototype. Do not use it in production.
In order to natively build, run, test and benchmark the library, you will need the following:
Rust >= 1.61.0
Cargo
To install the latest version of Rust, use the following command (you can also check how to install on the Rust documentation):
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
To build the library, run:
cargo build
To run the tests:
cargo test
To run a specific set of benchmarks, run (note the this process can slow.):
cargo bench