3 releases
0.1.2 | Aug 4, 2020 |
---|---|
0.1.1 | Aug 3, 2020 |
0.1.0 | Aug 3, 2020 |
#19 in #shamir-secret-sharing
17KB
137 lines
secret-sharing-cli
A secret sharing command line tool using Shamir's Secret Sharing.
Install
Make sure you have cargo installed.
cargo install secret-sharing-cli
Usage
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.
Dependencies
Thanks to the following crates:
License
GPL-3.0 License
Dependencies
~3MB
~47K SLoC