News for hackers. Stuff that matters.
Re:My weekend hack postmortem: Iterating by egwor on Saturday May 26, 2012 @04:46PM (#4028310)
If you hash the ip and then use that for colouring the hash function is likely to be surjective (rather than bijective) but perhaps you could still work back to "it was probably one of these x (255?) ips"? If you then open source the code too, do you make it more susceptible to working back to the original ip? Perhaps you'd need some form of salt too?
Re:My weekend hack postmortem: Iterating by icehero on Saturday May 26, 2012 @04:51PM (#4028327)
The hash should be salted with the id of each thread. Anonymity on all threads.
Re:My weekend hack postmortem: Iterating by ecto on Saturday May 26, 2012 @05:00PM (#4028356)
I'm using MD5 for the hash, so I believe that makes it surjective? I could be very wrong though. Salting by the post ID is a very good idea. I might implement that tonight!