2 ms·
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
by jedberg 6y ago
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.
- wpietri 6y agoDoesn't that depend on the size of the salt?
- jedberg 6y agoTo 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.
- mattlondon 6y agoIf the salt is a random 64bit number (for example) then "finding out" the salt is not trivial.
- wpietri 6y agoAnd unless I'm missing something, it seems easy to add plenty of bits to the salt until it's no longer practical to reverse.
- YetAnotherNick 6y ago@mattlondon: The salt is known to plausible, that is the only way someone can hash it.