Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Are you seriously suggesting sha-1 as a good replacement to md5... for security reasons?


Ahh poop, looks like I was out of date. Apparently a practical demonstration of an attack with complexity ~2^60 was recently demonstrated against legacy GPG (the v1.4 defaults) for less than $50k USD. [1] That being said, it looks like it still required ~2 months and ~900 GPUs versus MD5 at 2^18 (less than a second on a single commodity desktop processor).

So yeah, I agree, add SHA-1 to the list of algorithms to reflexively avoid for any and all purposes unless you have a _really_ good reason to use it.

[1] https://www.schneier.com/blog/archives/2020/01/new_sha-1_att...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: