#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

#1122 in Cryptography

Download history 114/week @ 2024-07-24 263/week @ 2024-07-31 260/week @ 2024-08-07 234/week @ 2024-08-14 258/week @ 2024-08-21 48/week @ 2024-08-28 26/week @ 2024-09-04 65/week @ 2024-09-11 42/week @ 2024-09-18 74/week @ 2024-09-25 106/week @ 2024-10-02 140/week @ 2024-10-09 36/week @ 2024-10-16 57/week @ 2024-10-23 132/week @ 2024-10-30 124/week @ 2024-11-06

367 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
~137K SLoC