3 ms·
How is reversing the hash of an IP easy? Are you saying because there are only 4billion ipv4s? Hash should be fine for ipv6 still, right?
by dgrin91 6y ago
How is reversing the hash of an IP easy? Are you saying because there are only 4billion ipv4s? Hash should be fine for ipv6 still, right?
- Philippe_H 6y agoWell hashing is (usually) a symmetric function and we are open source... Meaning you could recover the key in the code (or intercept it during transfer). I think Private/Public key is a simpler approach, reusable elsewhere in the code and it's known to be safe. But I'm not the CTO either, I could be mistaken.
- Philippe_H 6y ago(but I think they already send it through HTTPS)
- floren 6y agoHashes aren't symmetric and don't use a key.
- genuinebyte 6y agoHere, I found this really useful to understand hashes: https://crackstation.net/hashing-security.htm https://crackstation.net/hashing-security.htm
- dx034 6y agoBut would you want to only block single IPv6 addresses? Usually whole blocks are assigned as far as I know? So just hashing a single ipv6 would probably not work very well.