Argon2id
Self-hosted open sourceCurrently the most recommended password hashing algorithm: deliberately both slow and memory-hungry, making bulk password guessing on GPUs too costly to be worthwhile.
Best forNew projects that manage user passwords themselves and want the most recommended algorithm from the start.
Avoid whenServers with very little memory or legacy environments where the library is hard to install; using ASP.NET Identity without wanting to replace the hasher yourself.
Consumes both time and memory, which resists GPU and dedicated-hardware cracking well
The preferred recommended algorithm for new projects
Parameters (memory, iterations, parallelism) are tunable and can be raised as hardware improves
You must evaluate the parameters yourself (too high slows logins and exhausts memory; too low is insecure)
.NET has no built-in implementation, so a third-party library is needed
Many concurrent verifications at login peaks use a lot of memory