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

So migrate? Hash the hashes with Bcrypt or PBKDF2.

Bcrypt(MD5(password)) is just as effective as Bcrypt(password) at knocking brute force attempts on the head.



Unless the Bad Guys already have the MD5 hashes


Then the problem is not "I support an app that uses md5 hashes" any more. Your problem in that case is "all my users accounts were broken."


Right, but you can still perform the migration I suggested and flag accounts for a password reset on next login.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

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

Search: