Hacker News new | ask | show | jobs
by magnetic 2658 days ago
I don't know what the industry actually does, but what it should probably do is use bcrypt.

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

1 comments

On a project I started last year, I used SHA512 (probably overkill but who cares) and then bcrypt. Allows users to have passwords of arbitrary size with the goodness of bcrypt.

Then AES256 the result and use that. I read somewhere that's what Facebook does.