bcrypt Generator - Adaptive Password Hashing
Generate bcrypt hashes - the time-tested adaptive password hashing based on Blowfish cipher.
What Is bcrypt?
bcrypt is a password hashing function based on the Blowfish cipher, using a salt and adaptive cost factor to resist brute-force attacks. It has been widely used for password hashing since 1999.
Specifications
Use Cases
- Unix/Linux system password storage
- Web application password hashing
- PHP password_hash() default
- Legacy system password upgrades
- Systems requiring proven track record
Security Notice
bcrypt is limited to 72-byte passwords and truncates null bytes. For new systems, Argon2id is recommended.
Related Tools
Utilities
Implementation Notes
Practical usage details for this browser-based bcrypt tool.
How to Generate a bcrypt derived value
- Choose UTF-8, Hex, Base64 input mode.
- Enter the text or encoded bytes you want to process.
- Adjust the bcrypt options if your use case requires non-default settings.
- Click Generate bcrypt Derived Value and copy the result.
Example Input
Sample input:
abc
Use this sample input, then copy the generated derived value from the result panel.
When Not to Use bcrypt
- Do not use it when you need general-purpose key derivation; choose a KDF such as HKDF, PBKDF2, scrypt, or Argon2 instead.
- Do not use it when your workflow requires very fast computation.
Recommended Alternatives
Review related tools when you need a different output size, security margin, or keyed construction.
bcrypt Test Vectors
Input: password + fixed 16-byte salt
bcrypt output is encoded with salt, cost, and version, so exact output depends on those parameters.
Command Line Alternatives
python -c "import bcrypt; print(bcrypt.hashpw(b'password', bcrypt.gensalt(rounds=12)))"
Security Guidance
bcrypt remains widely deployed, but it truncates inputs at 72 bytes. Prefer Argon2id for new systems when available.