https://github.com/ergl/sss
Basic Shamir's Secret Sharing
https://github.com/ergl/sss
cryptography pony-language shamir shamir-secret-sharing
Last synced: 5 months ago
JSON representation
Basic Shamir's Secret Sharing
- Host: GitHub
- URL: https://github.com/ergl/sss
- Owner: ergl
- License: mit
- Created: 2020-01-04T17:54:53.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-05T21:24:43.000Z (over 6 years ago)
- Last Synced: 2025-07-23T06:26:16.835Z (11 months ago)
- Topics: cryptography, pony-language, shamir, shamir-secret-sharing
- Language: Pony
- Homepage:
- Size: 11.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 Python 3 version in its [own repo](https://github.com/ergl/sss_py).
# Build
A simple `make` will do (provided you have `ponyc` installed).
# Usage
By default, the compiled binary will be located in the `_build` folder.
```
$ ./_build/sss -h
usage: sss [] [ ...]
A simple Shamir's secret sharing program
Options:
-h, --help=false
-t, --threshold Share threshold to recover the secret
-n, --shares Number of shares to generate
-e, --encrypt=true Tells sss to encrypt a secret
-d, --decrypt=false Tells sss to decrypt a secret
```