DEV Community

slidenerd
slidenerd

Posted on

Correct parameters to migrate from Bcrypt to Argon2 for express?

As per security.stackexchange.com the recommended number of rounds for Bcrypt is a number such that it takes atleast 250 ms to hash your password. Argon2 on the other hand takes multiple parameters it seems. What is the equivalent configuration you need for Argon2? I am talking about an express webserver here with passportjs if that helps

Discussion (0)