Bcrypt Generator & Checker
NOUVEAUHash text with bcrypt at a cost of 4 to 14, or check whether a text matches an existing bcrypt hash.
Fonctionne à 100 % dans votre navigateur — vos données ne sont jamais envoyées ni stockées sur nos serveurs.
Cet outil n'est pas encore entièrement traduit : une partie du texte est encore en anglais. L'outil lui-même fonctionne de la même façon dans toutes les langues.
Hash text
Each +1 in cost doubles the time. Costs of 13–14 can take many seconds on a phone; the page stays usable while it works.
Check text against a hash
Exemples rapides
Des entrées typiques et les résultats produits par cet outil.
Présentation
bcrypt is a password hashing function that mixes a random salt into every hash and repeats its work 2^cost times, which makes brute-force guessing slow on purpose. A bcrypt hash is 60 characters long and stores its version, cost and salt, for example $2b$10$.
This tool hashes text with bcryptjs at any cost from 4 to 14 and shows a busy state while it works, because higher costs take noticeably longer. The checker compares a text with a hash and reports the version, cost and salt it found. Hashing the same text twice gives different results, since the salt is random.
Pourquoi utiliser cet outil ?
- Create a bcrypt hash for seed data, fixtures or config files
- Check a password against a stored hash while debugging
- See the cost and salt inside any bcrypt hash
- Warns when text is past bcrypt’s 72-byte limit
Fonctionnalités
Cost 4 to 14
Choose the work factor; the list shows how many iterations each cost means.
Busy state
Buttons show progress while a slow hash or comparison is running.
Hash checker
Compare text with a hash and get a clear match or no-match result.
Hash details
Read the version, cost and 22-character salt from a hash you paste.
72-byte warning
Alerts you when the UTF-8 input is longer than bcrypt can use.
Runs locally
Hashing is done in your browser with bcryptjs; no text is uploaded.
Mode d'emploi
Enter the text
Type the test password or string you want to hash.
Pick a cost
Use 10 as a starting point; raise it for more work per hash.
Generate the hash
Press Generate hash and wait for the result, then copy it.
Check a hash
In the second block, enter text and a hash, then press Compare.