Hash BCrypt

Generate and verify bcrypt password hashes

Input

4 (Fast)16 (Slow/Secure)

Bcrypt Hash

Hash will appear here

Acerca de esta herramienta

Almost every hashing algorithm is designed to be fast. BCrypt is deliberately slow, and that inversion is the entire point. When an attacker steals a password database, their attack is offline and unlimited - they can try billions of guesses per second against a fast hash like SHA-256. Making each hash take a measurable fraction of a second reduces that to thousands, which turns a few hours of cracking into years. The cost factor controls how slow: each increment doubles the work, so 12 is roughly four times slower than 10. BCrypt also salts automatically, which is why hashing the same password twice produces two different outputs - and why precomputed rainbow tables are useless against it. The verify function is what checks a login, because it extracts the salt from the stored hash and recomputes. Note this tool processes on the server, so use test passwords rather than real credentials.

Cómo usar esta herramienta

  1. Enter a password to hashUse a test value. This runs server-side, so real credentials should not be pasted here.
  2. Choose a cost factor12 is the current sensible default. Each increment doubles the computation time.
  3. Generate the hashThe salt is included in the output string, which is why no separate salt column is needed.
  4. Use verify to check a matchVerification extracts the salt from the hash and recomputes - you never compare hashes directly.

Por qué usarla

  • Deliberately slow, which is exactly what makes offline cracking impractical.
  • Salting is automatic and stored inside the hash, removing a whole class of implementation mistakes.
  • Adjustable cost factor, so the hash can be strengthened as hardware gets faster.
  • Verify mode included, for testing that a password matches an existing hash.
  • No account and no limit.

Usos comunes

  • Understanding how BCrypt hashes are structured while implementing authentication.
  • Generating a test hash for a development database seed.
  • Verifying that your application produces the hash you expect.
  • Comparing cost factors to choose one for production.
  • Learning why password hashing differs from general-purpose hashing.

Consejos para mejores resultados

  • Use a cost factor of 12 or above for new systems. Recalibrate over time - what was slow enough in 2015 is not in 2026.
  • Never store a separate salt. BCrypt embeds it in the hash string, and a hand-rolled salt column usually signals a misunderstanding.
  • Always compare with the verify function, never with string equality on two hashes - the salts differ, so equality is always false.
  • BCrypt truncates input beyond 72 bytes. That matters for very long passphrases, which is one reason Argon2 is often preferred now.
  • For new systems, Argon2id is the current recommendation. BCrypt remains a perfectly reasonable choice and is far better than a fast hash.

Errores a evitar

  • Using MD5 or SHA-256 for passwords. They are fast by design, which is precisely the wrong property here.
  • Comparing two BCrypt hashes directly and concluding the password is wrong - different salts guarantee different hashes.
  • Choosing a low cost factor to keep logins snappy, which hands attackers a much cheaper offline attack.
  • Adding your own salt column, which suggests the embedded salt was not understood.
  • Pasting production passwords into any online tool, including this one - it processes server-side.

Preguntas frecuentes

BCrypt is deliberately slow and includes a built-in salt, making it far more resistant to brute-force and rainbow-table attacks than fast general-purpose hashes like MD5/SHA-256, which were never designed for password storage.

No - BCrypt includes a random salt each time, so the same password produces a different hash output every time it's hashed. This is intentional and is what makes it resistant to precomputed rainbow-table attacks.

No - use test values. BCrypt hashing is computationally heavy by design and runs on the server here, so the password you type is transmitted. It is not stored, but real production credentials should never be pasted into any third-party tool regardless.

12 or above for new systems. Each increment doubles the work, so the right number is whatever keeps login times acceptable on your hardware while making offline cracking expensive - and it should be raised over the years as hardware improves.

Because BCrypt generates a random salt each time and embeds it in the output. That is deliberate - it defeats rainbow tables. Always check a password with the verify function, which reads the salt back out of the stored hash.

Argon2id is the current recommendation for new systems, mainly because it resists GPU and custom-hardware attacks better and has no input length limit. BCrypt remains a solid, widely-supported choice and is vastly better than any fast hash.

Yes. Bcrypt is free for normal use with no account required, and ToolBox does not add a watermark to your result.

Most tools in this category run in your browser so the file stays on your device. If a tool needs a temporary server job, files are handled for that job only and are not kept as a lasting archive.

La gente también busca

  • bcrypt hash generator
  • bcrypt vs argon2
  • password hashing best practice
  • bcrypt cost factor
  • verify bcrypt hash online
  • why not use md5 for passwords
  • bcrypt salt explained

Related guides