8 breaking releases

0.10.0 Mar 4, 2024
0.9.0 Oct 10, 2023
0.8.0 Oct 2, 2023
0.6.0 Jun 23, 2023
0.3.0 Mar 29, 2023

#1264 in Cryptography

Download history 4/week @ 2023-12-18 5/week @ 2024-02-12 12/week @ 2024-02-19 19/week @ 2024-02-26 157/week @ 2024-03-04 180/week @ 2024-03-11 8/week @ 2024-03-18 13/week @ 2024-03-25 38/week @ 2024-04-01

247 downloads per month
Used in 4 crates (2 directly)

Apache-2.0

240KB
5K SLoC

Secret sharing and distributed key generation

Implements Secret Sharing (SS), Verifiable Secret Sharing (VSS), Distributed Verifiable Secret Sharing (DVSS) and Distributed Key Generation (DKG) algorithms. DVSS and DKG do not require a trusted dealer.

  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. Secure Distributed Key Generation for Discrete-Log Based Cryptosystems
  7. Distributed Key Generation from FROST

Note: This is largely a reimplementation of secret-sharing-schemes but based on arkworks-rs with some change in the API. Moreover, implements the Gennaro DKG and FROST's DKG

Dependencies

~8MB
~152K SLoC