fix README and make decoding more tolerant w.r.t. white space

This commit is contained in:
Sebastian Gesemann
2015-01-29 20:15:10 +01:00
parent f39f129a32
commit 3a9e9d2e59
3 changed files with 12 additions and 9 deletions

View File

@ -16,15 +16,13 @@ $ echo This is a secret | secretshare -e2,5
2-5-5a/DPbTp0cSaww4Fuckh5wM
```
Decoding a subset (2nd and 3rd) of shares (one share per line):
The parameters following the `-e` option tell `secretshare` to create 5 shares of which 2 will be necessary for decoding.
Decoding a subset of shares (one share per line) can be done like this:
```
$ echo -e "2-2-HkctX9qblUhW7EGutTxNKvs \n 2-3-O94PSafi5nzDilhF3htZBQ0" | secretshare -d
2-1-cfFLZV0QABT0RmqOCFVxW/w
2-2-HkctX9qblUhW7EGutTxNKvs
2-3-O94PSafi5nzDilhF3htZBQ0
2-4-wDbhK8mQovAPpRfu0u41yPU
2-5-5a/DPbTp0cSaww4Fuckh5wM
This is a secret
```
# Building