← Back

Bcrypt Hash Generator

LOCAL

Generate Bcrypt hashes for passwords and secrets.

Input

Result


Hash verifizieren

Verification Result

What is Bcrypt Hash Generator?

Bcrypt Hash Generator creates a salted bcrypt hash and compares a supplied password with a bcrypt hash. A salt is generated for every new hash, so hashing the same input twice normally gives different strings. Verification checks a candidate against the stored hash; it does not decrypt the original password.

How to use Bcrypt Hash Generator

Enter GBZ-demo-only! as Password / Secret, leave cost factor 10 selected and choose Generate Hash. Expect a 60-character bcrypt string containing the cost and salt. Copy it into the Bcrypt hash field, put the same demo value into Password under Verify hash, and choose Verify. Expect a match. Change the candidate to wrong-demo and verify again for a non-match.

When is Bcrypt Hash Generator useful?

The slider allows cost factors 4–15. A higher cost requires more work; raising the cost by one approximately doubles the core workload. This page uses synchronous hashing, so higher settings can make the interface pause. The low end exists for tests and compatibility, not as a production recommendation. Choose real authentication parameters using maintained password-storage guidance and your deployment’s performance measurements.

Example

This interface rejects inputs longer than 72 UTF-8 bytes in both generation and verification, preventing silent bcrypt truncation. Bytes are not characters: some accented letters take two bytes and many emojis take four. A generated hash already contains its salt and cost, so verification does not use the generation slider. The tool does not crack hashes, change account passwords or inspect a database.

Practical notes

Password fields display their contents as text. Use the public demo for shared screenshots and examples. Hashing and verification run in your browser with a CDN-loaded library; the page sends no password to a hashing API. For production storage choices, consult OWASP password-storage guidance; the bcrypt library documentation explains the algorithm’s input limit.