Hash passwords using bcrypt with configurable salt rounds. Verify passwords against bcrypt hashes.
$2b$Algorithm identifier (bcrypt version)XX$Cost factor (number of iterations = 2^cost)22 charsBase64-encoded salt (128-bit)31 charsBase64-encoded hash (184-bit)Type the password to hash.
Choose salt rounds (10-12 recommended).
Bcrypt hash is generated.
Salt rounds determine the computational cost. Higher rounds are slower but more secure.
10-12 rounds is a good balance of security and performance.
Bcrypt is specifically designed for password hashing with built-in salting and adjustable cost.