From e66dd71facedd63bbd5e82fd440249afc358295c Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 20 Dec 2022 12:49:25 -0500 Subject: Clarify that SRV is 256 bits. --- dir-spec.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'dir-spec.txt') diff --git a/dir-spec.txt b/dir-spec.txt index d2f6c4e..ee36100 100644 --- a/dir-spec.txt +++ b/dir-spec.txt @@ -2115,8 +2115,9 @@ Table of Contents this value, and see section [CONS] for why we include old shared random values in votes and consensus. - Value is the actual shared random value encoded in base64. NumReveals - is the number of commits used to generate this SRV. + Value is the actual shared random value encoded in base64. It will + be exactly 256 bits long. NumReveals is the number of commits used + to generate this SRV. "shared-rand-current-value" SP NumReveals SP Value NL @@ -2133,8 +2134,9 @@ Table of Contents See section [SRCALC] of srv-spec.txt for instructions on how to compute this value given the active commits. - Value is the actual shared random value encoded in base64. NumReveals - is the number of commits used to generate this SRV. + Value is the actual shared random value encoded in base64. It will + be exactly 256 bits long. NumReveals is the number of commits used to + generate this SRV. "bandwidth-file-headers" SP KeyValues NL -- cgit v1.2.3-54-g00ecf