What problem does it solve?
Debugging failed logins and seeding test users when stored bcrypt hashes are incompatible with the application's bcrypt implementation, cost factor, or seed migration process.
Core Features & Use Cases
- Library compatibility guidance: Identify which bcrypt implementation an application uses (.NET BCrypt.Net-Next, Node bcrypt/bcryptjs, Python bcrypt, PHP password_hash) and explain how to generate matching hashes.
- Diagnostic checklist: Steps to find library references in project files, verify cost factors, and locate broken or placeholder seed migration hashes.
- Use Case: When a local admin account fails to authenticate because a hash was generated with a different language's bcrypt library, use these instructions to regenerate and update the database with a compatible hash.
Quick Start
Generate a bcrypt hash with the same library and rounds as the target app, for example use a .NET console to run BCrypt.Net.BCrypt.HashPassword for the admin password.