#secret-sharing #shamir-secret-sharing #secret-key

no-std secret_sharing_and_dkg

Secret sharing schemes like Shamir's, Feldman's, Pedersen's and Publicly Verifiable Secret Sharing scheme and DKGs like Gennaro's and FROST's

11 breaking releases

0.13.0 Jul 18, 2024
0.11.0 May 10, 2024
0.10.0 Mar 4, 2024
0.9.0 Oct 10, 2023
0.3.0 Mar 29, 2023

#1112 in Cryptography

Download history 288/week @ 2024-08-12 233/week @ 2024-08-19 160/week @ 2024-08-26 9/week @ 2024-09-02 51/week @ 2024-09-09 58/week @ 2024-09-16 58/week @ 2024-09-23 124/week @ 2024-09-30 106/week @ 2024-10-07 73/week @ 2024-10-14 53/week @ 2024-10-21 87/week @ 2024-10-28 155/week @ 2024-11-04 186/week @ 2024-11-11 328/week @ 2024-11-18 165/week @ 2024-11-25

834 downloads per month
Used in 5 crates (3 directly)

Apache-2.0

415KB
9K SLoC

Secret sharing and distributed key generation

Implements Secret Sharing (SS), Verifiable Secret Sharing (VSS), Distributed Verifiable Secret Sharing (DVSS), Distributed Key Generation (DKG) and Publicly Verifiable Secret Sharing (PVSS) algorithms. DVSS and DKG do not require a trusted dealer. Also implements a distributed discrete log check.

  1. Shamir secret sharing (Requires a trusted dealer)
  2. Pedersen Verifiable Secret Sharing
  3. Pedersen Distributed Verifiable Secret Sharing
  4. Feldman Verifiable Secret Sharing
  5. Feldman Distributed Verifiable Secret Sharing
  6. Gennaro DKG from the paper Secure Distributed Key Generation for Discrete-Log Based Cryptosystems
  7. Distributed Key Generation from FROST
  8. Distributed discrete log (DLOG) check
  9. Publicly Verifiable Secret Sharing

Dependencies

~7.5MB
~136K SLoC