bcrypt is a deliberately slow, salted password hashing function. Every hash includes a random salt and a cost factor, so identical passwords give different hashes and brute-forcing becomes expensive. Hash a password here, or paste an existing hash to check whether a password matches it.
Common uses
- Verifying a downloaded file against its published SHA-256 checksum
- Producing a bcrypt hash to seed a test database
- Generating a throwaway key pair for signing experiments
Frequently asked questions
- What cost should I choose?
- Pick the highest value your servers can afford. Ten to twelve is a common range today, and each step doubles the work.
- Why is the hash different every time?
- A new random salt is generated for each hash, and verification reads the salt back from the stored value.