2 releases

0.0.2 Mar 6, 2025
0.0.1 Mar 5, 2025

#898 in Cryptography

Download history 246/week @ 2025-03-02 39/week @ 2025-03-09

54 downloads per month

MIT and LGPL-3.0+

9KB
165 lines

This crate contains all the functions to generate and share secret keys. The secret keys' bit size is defaulted to 256.


ss-sharing

ss-sharing 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

Dependencies

~3MB
~58K SLoC