Skip to content

Commit 731fd6d

Browse files
committed
Added license file, improved README.
1 parent 08e8f9b commit 731fd6d

File tree

2 files changed

+28
-3
lines changed

2 files changed

+28
-3
lines changed

COPYING

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Copyright (c) 2010 Sebastien Martini <[email protected]>
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy
4+
of this software and associated documentation files (the "Software"), to deal
5+
in the Software without restriction, including without limitation the rights
6+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7+
copies of the Software, and to permit persons to whom the Software is
8+
furnished to do so, subject to the following conditions:
9+
10+
The above copyright notice and this permission notice shall be included in
11+
all copies or substantial portions of the Software.
12+
13+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19+
THE SOFTWARE.

README.md

+9-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
# Threshold Secret Sharing
2-
32
Implementation of Shamir's secret sharing scheme [http://tools.ietf.org/html/draft-mcgrew-tss-03](http://tools.ietf.org/html/draft-mcgrew-tss-03)
43

5-
## Example
4+
## Requirements
5+
Python ≥ 2.6 (also compatible with Python 3.x)
6+
7+
## Install
8+
$ sudo pip install tss
69

10+
## Example
711
import tss
812
# Create 8 shares of the secret recoverable from at least 5
913
# differents shares. Use secretid42 as identifier and hash the
@@ -17,6 +21,8 @@ Implementation of Shamir's secret sharing scheme [http://tools.ietf.org/html/dra
1721
pass # Handling error
1822

1923
## Notes
20-
2124
* Operations are _not_ constant-time, and are quite verbose too
2225
* This implementation doesn't provide ECC encoding/decoding
26+
27+
## License
28+
MIT License

0 commit comments

Comments
 (0)