🔐 Secure Password Handling Demo
This demo hashes the password before storage using bcrypt
. Even if the database is compromised, raw passwords are never exposed.
🧪 Testing with Postman:
- POST to
/api/secure-crypto
- Set JSON body:
{ "username": "secure_user", "password": "StrongP@ssw0rd" }
- Observe the password is securely hashed in the response.