SALT and HASH password in nodejs w/ crypto
In whatever persistence mechanism (database) you’re using, you would store the resulting hash alongside the salt and number of iterations, both of which would be plaintext. If each password uses different salt (which you should do), you must also save that information. You would then compare the new plain text password, hash that using the … Read more