Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ergl/sss_py

Basic Shamir's Secret Sharing
https://github.com/ergl/sss_py

cryptography shamir shamir-secret-sharing

Last synced: about 1 month ago
JSON representation

Basic Shamir's Secret Sharing

Awesome Lists containing this project

README

        

# Shamir's Secret Sharing Scheme

A basic Shamir's Secret Sharing implementation, built for the Cryptography and Coding Theory course at UCM, 2019/2020.

You can find the Pony version in its [own repo](https://github.com/ergl/sss).

## Usage

Requires Python 3.6 or above.

```
$ python sss.py -h
usage: sss [-h] [-e | -d] -t threshold -n shares

A simple Shamir's secret sharing program

optional arguments:
-h, --help show this help message and exit
-e, --encrypt Tells sss to encrypt a secret
-d, --decrypt Tells sss to decrypt a secret
-t threshold, --threshold threshold
Share threshold to recover the secret
-n shares, --shares shares
Number of shares to generate
```