Lurker News
Back to discussion

Comment by jedberg

jedberg1 reply#
A one way hash of an IPv4 address is no more private than the address itself. If you know the has algorithm, you can build a rainbow table of all the hashes in under a second. Even with a random salt it doesn't take long to build a rainbow table with all possible salts.
wpietri1 reply#
Doesn't that depend on the size of the salt?
jedberg2 replies#
To an extent, but there are easy ways to cut the search space. For example, you could make a unique request with garbage on it from a known IP every day, and then all you have to do is build a rainbow table for that one IP to find out what the salt is for each day, and then you can fully reconstruct the logs.
mattlondon1 reply#
If the salt is a random 64bit number (for example) then "finding out" the salt is not trivial.

Continue this thread — 1 reply

YetAnotherNick#
@mattlondon: The salt is known to plausible, that is the only way someone can hash it.