ToolPal

Bcrypt哈希生成器

在浏览器中使用PBKDF2-SHA256生成并验证bcrypt格式的密码哈希。

本工具使用PBKDF2-HMAC-SHA256(Web Crypto API),输出bcrypt兼容的$2b$格式。所有处理在浏览器中完成,密码不会发送到服务器。

越高越安全,但越慢。推荐默认值为10。

使用方法

在浏览器中使用PBKDF2-SHA256生成并验证bcrypt格式的密码哈希。

  1. 1Type or paste the password or text you want to hash into the Password field.
  2. 2Choose a cost factor (4–14). Cost 10 is the recommended default for most applications.
  3. 3Click 'Generate Hash' and copy the resulting $2b$... hash to use in your project.
  4. 4To verify, switch to the Verify tab, enter the original password and the hash, then click Verify.

主要功能

  • PBKDF2-HMAC-SHA256 with bcrypt-compatible $2b$ output format
  • Configurable cost factor 4–14 with live iteration count display
  • One-click copy for generated hashes
  • Built-in verify tab — check any password against its hash instantly
  • 100% browser-based — no passwords ever leave your device

常见问题

了解更多