This repository contains the implementation of the Verifiable Secret Sharing scheme, as presented in the paper titled VSS from Distributed ZK Proofs and Applications. The paper is publicly available on the IACR eprint archive and was authored by Shahla Atapoor, Karim Baghery, Daniele Cozzo, and Robi Pedersen. The implementations are done by Robi Pedersen and Karim Baghery.
Current implementation is done using SageMath and the code includes the implementaiton of following schemes:
- Shamir Secret Sharing
- Pedersen Verifiable Secret Sharing
- Our new Verifiable Secret Sharing
WARNING: This is an academic proof-of-concept prototype, and in particular has not received careful code review. This implementation is NOT ready for production use.
A simple way to run our code is to copy the source code from this repository into the SageMath terminal and push the Enter press!
Alternatively, you can run the code directly in an online SageMath terminal by clicking the following link: Run Online
Please note that the online terminal may have memory limitations and cannot support more than n=512 parties due to these constraints.
This library is licensed under either of the following licenses, at your discretion.
- Apache License Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)