Earlier quoted context omitted.
You can’t hash an ipv4 address. It’s trivial to brute force all possibilities given the limited problem space.
But you could use a salt, right?
Of course, it would be just as simple to use the salt as-is, in that case, since you have to look it up anyway.