From 2ecf074bd8b78d34bd7daa22f6a2d3b6117fba24 Mon Sep 17 00:00:00 2001 From: Daan Sprenkels Date: Wed, 22 May 2019 13:58:47 +0200 Subject: [PATCH] readme: Warn that `x` is not randomized Fixes #21. --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index b607f64..ed71115 100644 --- a/README.md +++ b/README.md @@ -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