Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

StackBoot's avatar

Bcrypt vs Argon2

I am planning to build an authentication system where I fetch user password plain text from an external api and compare it with the given one in my app! I want to hash user password and then compare the hashes !

Question:

Which hashing algorithm its better bcrypt or argon2 ?

0 likes
1 reply

Please or to participate in this conversation.