Sphere
Log in Join
☆ 5

bcrypt or Argon2id for password hashing in 2026?

New project, no legacy hashes. I keep seeing Argon2id recommended. Is there any reason to stick with bcrypt?

⚑ Report

3 replies

☆ 0
T Theo ·2026-11-08#1

Argon2id is the better default if your runtime supports it. Tune memory and iterations to your hardware and measure the login latency.

⚑ Report
☆ 0
E Emma ·2026-11-08#2

We might run in a constrained Workers-like environment with memory limits.

⚑ Report
☆ 0
B Ben ·2026-11-08#3

Then test the exact runtime. If Argon2 needs more memory than the limit, bcrypt with a sane cost is still acceptable. Compatibility beats theory.

⚑ Report
Log in to reply.