readme: Warn that x is not randomized

Fixes #21.
This commit is contained in:
Daan Sprenkels
2019-05-22 13:58:47 +02:00
committed by GitHub
parent 77c7be27f5
commit 2ecf074bd8

View File

@@ -74,6 +74,13 @@ using the `sss_combine_shares` functions. The shares are octet strings of
This library is implemented in such a way that the maximum number of shares
is 255.
Moreover, every share includes an ID, which is implemented as a counter.
This ID is not considered a secret by the library, and an participants may be
able to infer the amount of shares from these ids (for example, if I have a
share with ID=3, I expect that ID∈{1,2} will also exist.
If you require random share IDs, then you should generate 255 different
shares, and randomly throw away the excess shares.
### Example
```c