Is bcrypt the same as encryption?
No. Bcrypt is a one-way password hash. You cannot turn the hash back into the password. Software only checks a typed password by hashing it again with the same salt and cost, and comparing the two results.
What does the cost (rounds) number do?
It sets how much work the hash takes. Each increase of one roughly doubles the time, which makes guessing slower for an attacker and your own checks slower too. The value is stored inside the hash after the version marker.
Why do I get a different hash every time?
Each hash gets a new random salt, which is stored in the hash. The same password therefore gives a different string each time, and the verify step still works because it reads the salt from the hash.
Which library and format does this use?
It uses the bcryptjs library, version 3.0.3, running in a web worker. New hashes begin with $2b$ and are 60 characters long. The salt comes from the browser's secure random source.
Is my password sent anywhere?
The work is done in your browser, and the page does not send the password or hash to a server. The password field is cleared when the operation ends. Even so, use test passwords here and never a real one.
Can I use this page to store real user passwords?
No. It is a learning and checking aid, not a way to run a login system. Real systems should hash passwords on the server with a well-reviewed library and follow current security guidance, such as the OWASP cheat sheet, which prefers Argon2id for new systems and keeps bcrypt for legacy systems.
What is the 72 byte limit?
Bcrypt reads only the first 72 bytes of the password. Non-English letters can take two or more bytes each, so the limit may be hit in fewer than 72 characters. Anything after byte 72 is ignored.