Concept Flow - Password hashing with bcrypt
User inputs password
bcrypt.hash(password, saltRounds)
Generate salt + hash password
Store hashed password
User login attempt
bcrypt.compare(inputPassword, storedHash)
Returns true if match, false if not
Allow or deny access
This flow shows how bcrypt hashes a password, stores it, and later compares input to verify login.