3 ms·
> This is not a full-blown hash function Meaning it's super easy to create collisions? How easy exactly?
by MuffinFlavored 5y ago
> This is not a full-blown hash function
Meaning it's super easy to create collisions? How easy exactly?
- ivanbakel 5y agoNot the GP, but in the sense that it can't be used to hash arbitrary (word-padded) data. This "hash" can only turn words into other words. A true hash function needs to produce a hash from a multi-word buffer, and do so in a way that all the data in the buffer is equally significant to the final hash value.
- GuB-42 5y agoNo, it means it does only half of the job. It can only take an input of fixed size and return an output of the same size. "True" hash functions take an input buffer of an arbitrary size, and return an output of a fixed size. The mixer can be a part of the complete hash function, often the key part, but it is not the entire thing.
- deleted 5y ago[deleted]