by duaneb · 9y ago · 0 comments
Not that it's much better. Is it so hard to allow 50 character passwords?
In the interests of hewing closest to cryptographic reality, I design not to allow a password longer than the algorithm can usefully use.
Everyone's been saying "just use bcrypt", but bcrypt has too many gotchas to be the default choice. We really need to work on getting scrypt and argon2 into the most popular programming languages and frameworks a.s.a.p.
Or you could use a better KDF, e.g. scrypt (even PBKDF2 is better on this metric). Artificial password-length restrictions are symptomatic of poor design.
To upload 100s or even more than a few megs you need a multipart message, a password form won't accept MP http requests.