Security Blog
Guides on password hashing, bcrypt, Argon2, and secure authentication — written for developers.
bcrypt vs bcryptjs: Which Should You Use in Node.js?
We benchmarked bcrypt 6 and bcryptjs 3 on Node 24: one login takes about the same time, eight at once differ 4x. Results, install facts and which to use.
Bcrypt Hash Length: How to Store It in MySQL and PostgreSQL
A bcrypt hash is always 60 characters. Learn the right column type for MySQL and PostgreSQL, why VARCHAR(50) breaks logins, and how to fix a truncated column.
Can You Decrypt a Bcrypt Hash? No, and Here Is What Works Instead
Bcrypt hashes can't be decrypted, online or with the salt. See what "bcrypt decrypt" sites really do, and how to check, reset or migrate passwords instead.
Bcrypt Max Password Length: The 72-Byte Limit Explained
Getting "ValueError: password cannot be longer than 72 bytes"? Bcrypt only uses the first 72 bytes. Tested fixes for Python, passlib, FastAPI, Node and PHP.
Why bcrypt.compare() Returns False (and How to Fix It)
Login failing even with the right password? Work through the real reasons bcrypt compare returns false in Node, PHP and Python, with a fix for each.
How Many Bcrypt Rounds Should You Use in 2026?
Use 12 bcrypt rounds (salt rounds, cost or BCRYPT_ROUNDS) for new apps. Measured timings for 10–14, a benchmark script and code to upgrade old hashes.
Python Bcrypt Tutorial: hashpw, checkpw and gensalt with Examples
Hash and check passwords with bcrypt in Python, with tested bcrypt 5.0, Flask, Django and FastAPI examples and fixes for "Invalid salt" errors.
Bcrypt vs Argon2: Which Should You Use in 2026?
A detailed comparison of bcrypt and Argon2 for password hashing. Learn the differences, what OWASP recommends, and when to choose each algorithm.
Bcrypt in PHP: password_hash() and password_verify() Done Right
Bcrypt in PHP, tested on PHP 8.0 and 8.5: the 8.4 cost change, 72-byte and null-byte pitfalls, Laravel $2y$ errors, and a safe MD5 migration.
Bcrypt in Node.js — Complete Tutorial with Code Examples
Learn how to hash and verify passwords with bcrypt in Node.js. Covers bcryptjs installation, async usage, Express integration, and common mistakes to avoid.
What is Bcrypt? How It Works and What It Is Used For
Bcrypt is a slow, salted password hash. See how bcrypt works step by step in one diagram, what it is used for, and whether it is still secure in 2026.