Re:Fast Perfect Hashing
by bjourne on Wednesday February 13, 2019 @02:30PM
(#19155994)
The identity function is a perfect hash function, no quotes needed. Several programming languages uses it as the default function for hashing integers. But it doesn't have a good avalanche which is important for some use cases. You could, for example, use it to make guessing urls harder.
https://en.wikipedia.org/wiki/Avalanche_effect