#secret-sharing #shamir-secret-sharing #dkg #shamir #vss #pvss

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

new 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

#831 in Cryptography

Download history 38/week @ 2024-04-01 3/week @ 2024-04-08 37/week @ 2024-04-15 5/week @ 2024-04-22 5/week @ 2024-04-29 127/week @ 2024-05-06 15/week @ 2024-05-13 17/week @ 2024-05-20 30/week @ 2024-05-27 15/week @ 2024-06-03 11/week @ 2024-06-10 149/week @ 2024-06-17 21/week @ 2024-06-24 18/week @ 2024-07-01 131/week @ 2024-07-15

182 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
~138K SLoC