Password Hashing in PHP, Python and Node: Same Algorithms, Three Different Ways to Get It Wrong
- Created
- 29 Nov 2026
- Last reply
- about 8 hours ago
- Replies
- 0
- Views
- 0
- Reactions
- 0
Discussion of the blog article 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...
Discussion thread — share findings, corrections and follow-ups below.