Generate cryptographically strong Blowfish-based hashes with an adjustable work factor.
Bcrypt is a password-hashing function based on the Blowfish cipher. It incorporates a salt (random data) to defend against rainbow table attacks, and an adjustable cost factor that makes brute-force attacks progressively slower as hardware improves.
Unlike MD5 or SHA-256, Bcrypt is specifically designed for password storage — it is intentionally slow, making cracking computationally expensive. This is the industry standard for secure password hashing.
$2y$... Bcrypt hash.Processing runs server-side — your password is never logged or stored. Cost 12 is recommended for production.
Each increment doubles the computation time. Cost 12 takes ~250ms — fast enough for users, slow enough to deter attackers.