#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

12 breaking releases

new 0.14.0 Dec 19, 2024
0.13.0 Jul 18, 2024
0.12.0 Jun 21, 2024
0.10.0 Mar 4, 2024
0.3.0 Mar 29, 2023

#1337 in Cryptography

Download history 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 68/week @ 2024-12-02 39/week @ 2024-12-09

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

Apache-2.0

430KB
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
  10. Verifiable Secret Sharing using hash-commitments

Dependencies

~7.5MB
~136K SLoC