Password Hashing in PHP, Python and Node: Same Algorithms, Three Different Ways to Get It Wrong
I timed Argon2id, bcrypt and scrypt in PHP 8.6, Python 3.15 and Node 26 and tested each one's edge cases. PHP and bcryptjs still accept two different passwords that share their first 72 bytes, Python and Node both reject OWASP's own top scrypt setting at their default memory limit, and Node's...