Re:PHP: md5('240610708') == md5('QNKCDZO')
by sarciszewski on Monday May 04, 2015 @11:15AM
(#9486643)
No, the problem is using a shitty function like MD5 for any practical purpose.
[ Parent
| on HN ]
The hash function is completely irrelevant to this bug - whether you use a hash that returns 0 for every input, or invent a hash function that returns a perfectly unique and unpredictable hash for all inputs, PHP will still shoot you in the foot.