Understanding bcrypt: How Salt and Hashing Secure Passwords
The bcrypt library in Node.js provides a simple API to hash passwords, generate salts, and compare hashed data. It has two major features:
Salting: A salt is a random string added to the password before hashing. This ensures that even if two users ha...
harshcodes.dev3 min read