Re:Mass Assignment Vulnerability Exposes Max Verstappen Pass...
by veqq on Wednesday October 22, 2025 @04:34PM
(#45674810)
What hash do you use?
[ Parent
| on HN ]
Re:Mass Assignment Vulnerability Exposes Max Verstappen Pass...
by scq on Wednesday October 22, 2025 @04:42PM
(#45674884)
bcrypt is the industry standard.
Re:Mass Assignment Vulnerability Exposes Max Verstappen Pass...
by maxbond on Wednesday October 22, 2025 @06:08PM
(#45675775)
`bcrypt` is probably the "standard" in the sense that it has the widest adoption, but since 2015 [1] the "standard" in terms of what you should recommend for new work has been `argon2id` (and you can find parameter recommendations here [2]).
[1] https://en.wikipedia.org/wiki/Password_Hashing_Competition
[2] https://cheatsheetseries.owasp.org/cheatsheets/Password_Stor...
Re:Mass Assignment Vulnerability Exposes Max Verstappen Pass...
by tom1337 on Thursday October 23, 2025 @05:36AM
(#45679969)
Also argon doesn't care about input length compared to bcrypt which only ever compares the first 72 bytes of a hash.
Okta actually fell victim to this because they concatenated userid + username + password. If userid + password were over 72 bytes then the password would never be checked thus you could login with userid + username.
https://trust.okta.com/security-advisories/okta-ad-ldap-dele...