[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [torspec/master] Fix typo in rend-spec.txt
commit 042bae4495fdfa4b1cc8119fcec70bfe010274c0
Author: David Goulet <dgoulet@xxxxxxxxx>
Date: Wed Apr 6 13:16:36 2016 -0400
Fix typo in rend-spec.txt
Base64 holds 6 bits, not 5. Patch from twim.
Signed-off-by: David Goulet <dgoulet@xxxxxxxxx>
---
rend-spec.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rend-spec.txt b/rend-spec.txt
index 6442ecb..c3b9cd1 100644
--- a/rend-spec.txt
+++ b/rend-spec.txt
@@ -877,7 +877,7 @@
A service provider generates symmetric "descriptor cookies" for his
clients and distributes them outside of Tor. The suggested key size is
128 bits, so that descriptor cookies can be encoded in 22 base64 chars
- (which can hold up to 22 * 5 = 132 bits, leaving 4 bits to encode the
+ (which can hold up to 22 * 6 = 132 bits, leaving 4 bits to encode the
authorization type (here: "0") and allow a client to distinguish this
authorization protocol from others like the one proposed below).
Typically, the contact information for a hidden service using this
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits