3 ms·
I think I am seeing the light now. Assume the database is compromised. Does it really matter how many iterations if you are up against a nation state attacker?
by bob1029 4y ago
I think I am seeing the light now.
Assume the database is compromised. Does it really matter how many iterations if you are up against a nation state attacker? I agree with the article on this one.
Assume the database cannot be compromised (i.e. my original case of simply defending the login form from brute force). Using any form of computationally-intensive hashing is a total waste of energy. I agree - Task.Delay(xxx), not arbitrary PBKDF2 iterations. Taking to the absolute extreme - does hashing even matter if you can hypothetically guarantee no inappropriate access?
Taking the extremes for what they are, I might be inclined to look at storing passwords as simple salted SHA256 or worse. All of this password hardening crap is starting to sound like a half-hearted attempt to protect users from themselves and provides little value to site operators. Being able to tell the public "well at least we used a billion iterations of argon2" doesn't make the root cause of that whole situation sound much better.