Loading…

How to use Bcrypt Hash Generator

Enter a password, choose a cost factor, and generate a bcrypt hash with a built-in random salt that is safe to store in your database.

Frequently asked questions

Why use bcrypt for passwords?

Bcrypt is deliberately slow and includes a salt, so it resists brute-force and rainbow-table attacks far better than MD5 or SHA.

What is the cost factor?

The work factor (rounds) — each increment doubles the hashing time. 10 to 12 is a common, sensible range.

Do I need to store the salt separately?

No — bcrypt embeds the salt and cost inside the hash string, so a single value is all you store.

More Hash & Crypto Tools

API Token Generator
Generate secure API keys and bearer tokens
OTP Code Generator
Generate real RFC 6238 TOTP codes that match Google Authenticator from a Base32 secret
Simple String Hash
Compare multiple non-cryptographic hash algorithms
XOR Cipher
Encrypt and decrypt text with XOR bitwise operation
Number Base Converter
Convert numbers between binary, octal, decimal, hex
Text to Color Hash
Visualize text as a deterministic color hash
PBKDF2 Key Derivation
Derive a key from a password with PBKDF2-HMAC (SHA-256/384/512), salt and iterations
SHA-3 / Keccak Hash
Generate SHA3-256/384/512 and Keccak-256 digests (used by Ethereum)
Hash Identifier
Identify the likely hash type of a digest from its length and format
Hash Generator (All)
Generate MD5, SHA-1, SHA-256, SHA-512 hashes at once
MD5 Hash Generator
Generate MD5 checksums for text strings
SHA-1 Hash Generator
Generate SHA-1 hash digests from any text input

← View all Hash & Crypto ToolsBrowse all 1,100+ tools →