| Crates.io | secret-sharing-cli |
| lib.rs | secret-sharing-cli |
| version | 0.1.2 |
| created_at | 2020-08-03 09:12:52.03277+00 |
| updated_at | 2020-08-04 08:47:39.602534+00 |
| description | A secret sharing command line tool using Shamir's Secret Sharing |
| homepage | |
| repository | https://github.com/DCsunset/secret-sharing-cli |
| max_upload_size | |
| id | 272445 |
| size | 47,546 |
A secret sharing command line tool using Shamir's Secret Sharing.
Make sure you have cargo installed.
cargo install secret-sharing-cli
Run secret-sharing-cli -h to see the help message.
For example, to split a string secret that requires 2 shares to recover and generate 4 shares, run:
secret-sharing-cli split --string <secret> --threshold 2 --number 4
Then to recover the secret, use any two shares:
secret-sharing-cli recover --string <share 1> <share 2>
Besides, splitting binary files is also supported using --file flags.
Thanks to the following crates:
GPL-3.0 License