3 ms·
It's a bad code smell. We discussed this the other day: "If you need security don't use MD5 (because it's no longer secure). If you don't need security, use som
by wmf 3y ago
It's a bad code smell. We discussed this the other day: "If you need security don't use MD5 (because it's no longer secure). If you don't need security, use something faster than MD5." https://news.ycombinator.com/item?id=38173061 https://news.ycombinator.com/item?id=38173061
- quesera 3y agoIt is not a bad code smell for a language to provide access to old algorithms. Sometimes existing implementations require you to work with algorithms that are not ideal, but still adequate, today. Languages and stdlibs should obviously provide that ability!
- wmf 3y agoI agree that languages and libraries should maintain backwards compatibility. It's a bad code smell to use broken algorithms unless you absolutely have to.
- matheusmoreira 3y agoMaybe some old software uses MD5 as a database primary key for files and rehashing everything would just be too painful.