You can further add bucketing, and eventually move closer to FLoC.
But this is aside the point, as the spirit of the law only allows "processing for legitimate interests". The use of technology, cookies or on the server is irrelevant. If thread OP has evaluated their collection[0] as legitimate, they can use whatever technology within guidelines. Otherwise, even a cookie less data collection would require consent.
I apologize for the double negative. What I meant is that hashing doesn't improve privacy because if you know the hash and the hashing function it's easy to build a hashmap of all the possible IPv4s (around 3.5B). Unless the hash uses some sort of expensive key derivation function, but that doesn't scale.
From a stackoverflow post from 12 years ago:
> I know I do 622 million SHA-256's per sec on a Radeon HD5830.
Which would take around 6 seconds to brute force a 32bit address space.