Re:<input type="password" maxlength="20"> prevents me from l...
by Atheros on Saturday October 03, 2026 @02:36AM
(#49941862)
In case any programmers read this, the better procedure, if you want to use bcrypt, is to hash the password with something else first, like SHA512, then feed the output into bcrypt.
Re:<input type="password" maxlength="20"> prevents me from l...
by efilife on Saturday October 03, 2026 @02:58AM
(#49941967)
what's the point in using bcrypt then? I researched this years ago and nothing ever convinced me it's not redundant
Re:<input type="password" maxlength="20"> prevents me from l...
by Atheros on Saturday October 03, 2026 @03:19AM
(#49942048)
to slow down attackers who want to brute force your password hash. At least that was the idea. I guess it also includes the salt stuff built in so that it's harder for implementers to screw up.
Is a 9-order-of-magnitude slow down worth the trouble? I dunno. Maybe.
The bcrypt hashing algorithm doesn't work on inputs above ~60* characters or so. It will just silently trim your input. Better to do it yourself
*72 bytes