|
|
|
|
|
by tptacek
6266 days ago
|
|
You're not thinking this through. In no well-designed web application is password checking in the 80/20 hotspot of performance. In fact, if it's within a light year of mattering to performance, you've done something horribly wrong. The point of adaptive hashing is that doubling the cost of the hash on the serverside adds negligable overall cost, but doubling the cost of the hash on the attacker's side doubles their cost. This is not a complicated tradeoff. |
|
the attacker can check one word from her dictionary in the same amount of time it takes you to authenticate one user for one page.
if you make that check take longer than 50ms, it will start slowing down your webapp.
at 50ms, an attacker can check 40,000 words in around half an hour.
you can double that to 100ms, but at that point you are starting to slow down page loads, and it's still only taking the attacker an hour to run through that dictionary.