4 ms·
In short, for passwords, never use a hash function. Hash functions are made to be fast. If you absolutely must use a hash function, iterate it a few thousand
by seiji 16y ago
In short, for passwords, never use a hash function. Hash functions are made to be fast. If you absolutely must use a hash function, iterate it a few thousand times.
Ideally, use http://www.tarsnap.com/scrypt.html http://www.tarsnap.com/scrypt.html (made to be computationally annoying to brute force).
- cperciva 16y agomade to be computationally annoying to brute force I think the word "annoying" here wins you the understatement-of-the-day award.