- Executors
-
Learn
Python Learning Hub Runnable examples, NumPy, pandas, and more C & C++ Learning Hub Pointers, memory, STL, and modern C++ C# Learning HubC# basics, OOP, LINQ, async, and .NET exercises Python Algorithms Search, sorting, recursion, and visualizers O(n) C & C++ Algorithms Compare algorithms implemented in C and C++
- Challenges
Security
Bcrypt Hash Generator
Hash a password with bcrypt, or verify a password against a bcrypt hash.
- Runs in your browser
- Instant results
- Free, no sign-up
Loading the tool…
How to use the Bcrypt Generator
- Enter a password and choose the cost.
- Click Hash and copy the result.
- To check, enter a password and a hash, then click Check.
Frequently asked questions
Which cost should I use?
10-12 for typical web apps. Each +1 doubles the time, so pick the highest your server can afford per login.
Why is the hash different every time?
bcrypt adds a random salt, which is stored inside the hash, so the same password never gives the same hash.
Is there a password length limit?
Yes. bcrypt only uses the first 72 bytes of a password.
Practice Python with coding challenges
Solve hands-on problems right in this editor: run the sample tests, submit, and get an AI code review.