#secret

bin+lib pvss

Publicly verifiable secret sharing implementations

3 unstable releases

0.2.0 Aug 12, 2023
0.1.1 Nov 9, 2020
0.1.0 Aug 3, 2017

#1620 in Cryptography

MIT license

47KB
1.5K SLoC

Rust PVSS (Publicly Verifiable Secret Sharing)

Crates.io MIT licensed APACHE-2 licensed Build Status

API Docs

This package provide secret sharing schemes which are publicly veriable and recoverable using a simple t out of n (t,n) threshold system.

A secret value can be escrow to N encrypted shares.

This secret value can be recovered by decrypting at least t amount of shares, and combining them.

Publicly Verifiable Secret Sharing (PVSS) scheme implemented:

Crypto

For now the implementation uses the P256R1 elliptic curve by default, through the eccoxide package which wrap fiat-crypto code for this specific curve.

Dependencies

~3.5MB
~70K SLoC