commit 40723457e2dd41f3063f309134528689eb721e35 Author: Nick Mathewson nickm@torproject.org Date: Fri Nov 23 09:52:40 2012 -0500
Refer to RFC 4648, not the obsolete 3548.
Fix for #6849, reported by grarpamp. --- rend-spec.txt | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/rend-spec.txt b/rend-spec.txt index d1db467..4516b29 100644 --- a/rend-spec.txt +++ b/rend-spec.txt @@ -533,7 +533,7 @@ 2. Let H' = the first 80 bits of H, considering each octet from most significant bit to least significant bit. 3. Generate a 16-character encoding of H', using base32 as defined - in RFC 3548. + in RFC 4648.
(We only use 80 bits instead of the 160 bits from SHA1 because we don't need to worry about arbitrary collisions, and because it will
tor-commits@lists.torproject.org