[tor-bugs] #2435 [Metrics]: Preserving hashed IP addresses in sanitized bridge descriptors

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Thu Feb 3 10:14:50 UTC 2011


#2435: Preserving hashed IP addresses in sanitized bridge descriptors
-------------------------+--------------------------------------------------
 Reporter:  karsten      |       Owner:  karsten
     Type:  enhancement  |      Status:  new    
 Priority:  normal       |   Milestone:         
Component:  Metrics      |     Version:         
 Keywords:               |      Points:         
   Parent:               |  
-------------------------+--------------------------------------------------

Comment(by karsten):

 Ian suggests on [http://archives.seul.org/or/dev/Feb-2011/msg00007.html
 or-dev] to use a 31 byte long secret here.  The idea is to fit IP address,
 bridge identity, and secret in one SHA block which is 447 bits long.  The
 IP address is 32 bits, the bridge identity is 160 bits, so that we have
 255 bits left, or 31 bytes because we're byte-aligned.

 Ian also suggests using SHA-256 instead of SHA-1, mostly because SHA-1
 shouldn't be used for anything new at this point.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2435#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list