Hacker News new | ask | show | jobs
by andirk 1136 days ago
?? sha256 the string and you are not going to be able to get back to the original from that output.

Edit: The small amount of IP addresses makes it easy to brute force through all of them.

2 comments

The hashing doesn’t matter when IPv4 has such a limited dataset. IPv4 has a little under 4.3B addresses, and a cheaper GPU such as the 1080TI has a hash rate of around 4300MH/s, so it crushes that in a few seconds at most.

From there, you have a direct correlation between the IP and its resulting hash. Meaning you can easily see what the original input was.

You don’t need to break a hash to know what the original input was.

ipv4 space is very limited and you can easily compute all the hashes. There is salting and combined with rotating salts it could work but no one guarantees that you’re not storing them