Skip to content

Password Hashing in PHP, Python and Node: Same Algorithms, Three Different Ways to Get It Wrong

Article DiscussionsSudoSecurity · · 1 min read

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...

Read the full article →

Discussion thread — share findings, corrections and follow-ups below.

0 replies

    Post a comment

    Join the discussion to share your thoughts.

    Sign in