.env · security

Bcrypt 生成器 — 在线哈希和验证密码

在浏览器中用 bcrypt 对密码进行哈希。选择成本因子,验证现有哈希,复制结果。不向任何服务器发送数据。

Be the first to rate
Password / plaintext
Cost factor (rounds) — higher = slower = more secure
Rounds 10–12 are standard. Each +1 doubles hashing time.
CLI equivalents
Node.js (bcryptjs)
node -e "const b=require('bcryptjs'); console.log(b.hashSync('pw',12))"
Python (bcrypt)
python3 -c "import bcrypt; print(bcrypt.hashpw(b'pw',bcrypt.gensalt(12)))"
Full tool page:/bcrypt-generator