3 ms·
I usually see recommendations for a 72 character limit. I doubt there's any particular reason for 72, but as you say, it's enough. Login attempts (should) get
by thaumasiotes 9y ago
I usually see recommendations for a 72 character limit. I doubt there's any particular reason for 72, but as you say, it's enough.
Login attempts (should) get rate limited independently of password length limits, which makes the difference between hashing 8 characters and hashing 72 characters even less meaningful.
- CodesInChaos 9y agoI'd guess it's because bcrypt only supports 72-byte inputs (though there are workarounds, like pre-hashing)