https://github.com/sam701/secret-sharing
Secrets sharing with Shamir's secret scheme
https://github.com/sam701/secret-sharing
cli secret-sharing shamir shamir-secret-sharing
Last synced: 9 months ago
JSON representation
Secrets sharing with Shamir's secret scheme
- Host: GitHub
- URL: https://github.com/sam701/secret-sharing
- Owner: sam701
- Created: 2017-05-01T20:54:31.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-01-28T21:06:29.000Z (over 8 years ago)
- Last Synced: 2025-07-07T22:12:22.526Z (11 months ago)
- Topics: cli, secret-sharing, shamir, shamir-secret-sharing
- Language: Go
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# secret-sharing
*Secrets sharing with Shamir's secret scheme*
This is a wrapper around the [Vault](https://github.com/hashicorp/vault)'s implementation of the [Shamir's scheme](https://en.wikipedia.org/wiki/Shamir%27s_Secret_Sharing).
## Build
```sh
glide install
go install
```
## Usage
### Split file
To split a file into 3 parts with threshold (number of parts required to combine the original file) 2:
```sh
secret-sharing split --parts 3 --threshold 2
```
### Combine file
To combine a file from 2 parts:
```sh
secret-sharing combine --output
```