#schnorr #threshold #sss

bin+lib thresh-sig

A threshold signature library

3 releases

0.0.5 Mar 18, 2025
0.0.4 Mar 17, 2025
0.0.3 Mar 17, 2025

#517 in Cryptography

Download history 304/week @ 2025-03-17 25/week @ 2025-03-24

329 downloads per month

MIT and LGPL-3.0+

16KB
296 lines

This crate contains all the functions to implement threshold signature systems.


thresh-sig

thresh-sig is a threshold signature library that implements both Schnorr Threshold and Shamir Secret Sharing.

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

  • Optimize the Schnorr implementation.

Dependencies

~5.5MB
~100K SLoC