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

Best practice is to hash the password. This is good for a lot of reasons, one of which is that the time to compare hash("hunter") vs hash("hunter2") vs hash("hunter21") does not correlate in any meaningful way.

https://en.wikipedia.org/wiki/Hash_function



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

Search: