Hacker News new | ask | show | jobs
by tomesco 1695 days ago
> The whole idea of a hash is that a tiny perturbation makes the output completely different.

That would be a cryptographic hash you are describing. Not all hash functions share that property. As long as arbitrary input is mapped to a fixed size output it is a hash function. For example see NeuralHash [1] which is a hash function designed to be "insensitive to small changes in the input image."

[1] https://towardsdatascience.com/apples-neuralhash-how-it-work...

1 comments

If it's insensitive to small changes in the input image then it leaks substantial information about that input image.