[or-cvs] Make service IDs 80 bits, not 128

Nick Mathewson nickm at seul.org
Tue Mar 30 19:20:13 UTC 2004


Update of /home/or/cvsroot/doc
In directory moria.mit.edu:/tmp/cvs-serv10592/doc

Modified Files:
	rend-spec.txt 
Log Message:
Make service IDs 80 bits, not 128

Index: rend-spec.txt
===================================================================
RCS file: /home/or/cvsroot/doc/rend-spec.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- rend-spec.txt	28 Mar 2004 08:46:38 -0000	1.1
+++ rend-spec.txt	30 Mar 2004 19:20:11 -0000	1.2
@@ -171,16 +171,15 @@
    ~16-octet hash of Bob's service's public key, computed as follows:
 
          1. Let H = H(PK).
-         2. Let H' = the first 130 bits of H, considering each octet from
+         2. Let H' = the first 80 bits of H, considering each octet from
             most significant bit to least significant big.
          2. Generate a 26-character encoding of H', taking H' 5 bits at
             a time, and mapping each 5-bit value to a character as follows:
                0..25 map to the characters 'a'...'z', respectively.
               26..31 map to the characters '0'...'5', respectively.
 
-   (We only use 130 bits instead of the 160 bits from SHA1 because we don't
-   need to worry about man-in-the-middle attacks.  We use 130 instead of 128
-   in order to have an even multiple of 5.)
+   (We only use 80 bits instead of the 160 bits from SHA1 because we don't
+   need to worry about man-in-the-middle attacks.)
 
    [Yes, numbers are allowed at the beginning.  See RFC1123. -NM]
 



More information about the tor-commits mailing list