Bcrypt Hash Generator
This tool makes a bcrypt hash of a text with a cost you choose, and can check a text against an existing hash. It runs in your browser, so nothing is sent to a server.
- Free, no sign-up
- Nothing is sent to a server
- Worldwide
How to use Bcrypt Hash Generator online
- Type the text. A test password.
- Choose the cost. From 4 to 14.
- Copy the hash. Or paste a hash to check.
- Read the result. Hash or match.
Why use this free Bcrypt Hash Generator
- Hash with a random salt
- Cost from 4 to 14
- Check a text against a hash
- Prefix $2b$ or $2a$
- 72-byte limit stated
- Runs in your browser
What bcrypt is
Bcrypt is a way of storing passwords. It turns a password into a hash that cannot be turned back, and it is made slow on purpose so that guessing many passwords takes a long time. Each hash contains a random salt, so the same password gives a different hash each time, and the cost, which says how slow it is.
Making a hash
Type a password and the tool makes a hash of 60 characters. Choose the cost from 4 to 14, which means two to that power rounds: a cost of 10 is 1024 rounds. A higher cost is slower for both you and an attacker. Time it on your own server and pick a cost that takes a fraction of a second. The tool shows how long the hash took.
Checking a hash
Paste an existing hash into the second box and the tool checks whether your text belongs to it, with a clear match or no match. It reads the cost from the hash itself. A string that is not a bcrypt hash is rejected with a message. The prefix $2b$ is the current one and $2a$ is older, and both are supported.
Limits to know
Bcrypt reads only the first 72 bytes of a password, so a longer text is refused here instead of being cut without warning. It was made for passwords and is not a general purpose hash for files. For new systems, newer methods exist, but bcrypt remains widely used and accepted. This tool uses bcryptjs, a pure JavaScript library, which is slower than native code.
Use with care
The page works in your browser and sends nothing, but a real password you use for an account should never be pasted into a web page that you do not fully trust. Use it for testing, for learning and for making hashes of test data. In your own application, hash passwords on the server with a vetted library, and never store them as plain text.
Using the tool
The Bcrypt Hash Generator works again whenever the text or an option changes. Use result as input to pass the answer to the next step.
Bcrypt Hash Generator: frequently asked questions
Why is the hash different each time?
What cost should I choose?
How do I check a password?
Why is a long password refused?
Does the password I type leave my device?
Does the Bcrypt Hash Generator keep a copy of my text?
How do I keep the result of the Bcrypt Hash Generator?
Related searches for Bcrypt Hash Generator
- Bcrypt Hash Generator online
- free Bcrypt Hash Generator
- Bcrypt Hash Generator online free
- Bcrypt Hash Generator for mobile
- Bcrypt Hash Generator without sign up
- Bcrypt Hash Generator – Developer & Web Tools
Bcrypt Hash Generator is a free online tool on MAITBOX, in the Developer & Web Tools group. It runs in your browser, so what you type is not sent to a server. It works on Android and iPhone, and on Windows, Mac and Linux, with no download and no account.