Generator

Bcrypt Hash Reference

Bcrypt requires Node-side computation. This tool shows the expected hash shape and snippet for server-side hashing.

12 is recommended for 2026 hardware.

Expected hash shape
Type a password
Node.js code (bcryptjs)
import bcrypt from "bcryptjs";

const hash = await bcrypt.hash(password, 12);
const ok = await bcrypt.compare(password, hash);