dev-passwords

Generate bcrypt password hashes matching the target application's library and cost factor.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/ecnepsyroc-bot/Dejavara --skill dev-passwords
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dev-passwords
Source: https://github.com/ecnepsyroc-bot/Dejavara/tree/main/deploy/skills/dev-passwords
Command: npx skills add https://github.com/ecnepsyroc-bot/Dejavara --skill dev-passwords

SYSTEM DOCUMENTATION & REQUIREMENTS

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.

Frequently Asked Questions about dev-passwords

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
Why does my bcrypt password hash fail to authenticate during database seeding?

Bcrypt password hash authentication fails during database seeding when the stored hash uses a different bcrypt implementation or cost factor than the application's authentication library. Matching the exact library and rounds ensures compatibility and successful login.

How do I generate a bcrypt hash compatible with a Node.js or .NET application?

To generate a compatible bcrypt hash for Node.js or .NET, identify the specific library used, such as bcryptjs or BCrypt.Net-Next, and apply the same cost factor. Use that library's hash generation function to produce the matching hash for your database.

Does a bcrypt hash generated in Python work with a PHP password_hash authentication system?

A bcrypt hash generated in Python may not work with a PHP password_hash system if the bcrypt implementations or cost factors differ. Verifying library compatibility and aligning the rounds ensures the hash is valid across different language stacks.

What is the best way to diagnose bcrypt library mismatches in project files?

The best way to diagnose bcrypt library mismatches is to scan project files and seed migrations for library references, verify the configured cost factor, and locate broken or placeholder hashes. Comparing these against the active authentication library resolves login failures.

When should I regenerate bcrypt hashes for local test users?

You should regenerate bcrypt hashes for local test users when integrating a new authentication library, updating the bcrypt cost factor, or replacing placeholder seed migration hashes. This ensures the test database contains valid hashes recognized by the target application.