Skip to content
/ sss_py Public

Basic Shamir's Secret Sharing

License

Notifications You must be signed in to change notification settings

ergl/sss_py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

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

Releases

No releases published

Packages

No packages published

Languages