by fruchtose · 13y ago · 0 comments
Protecting against a DoS attack this way is done in the webserver, which doesn't care about individual fields. Sure this means there's an implicit password length limit, but not in any application-level sense.
hash(saltFromServer + hash(password))
And then the server would do hash(user.salt + clientHash)
I'm not sure, but this seems reasonable to me.