Hacker News new | ask | show | jobs
by drdaeman 4625 days ago
Doubt about this exact case, but I've seen MD5 being (ab)used in a really weird ways, which I attributed to mindless "oh, I'll just use MD5 here, heard it's good for security!"

One particular case I remember was use of md5(md5(md5(unix_timestamp()))) to generate "secure" session tokens.

1 comments

That scheme would be insecure even if it was SHA3(SHA2(SHA1(unix_timestamp()))