Skip to main content
DevTools24

Bcrypt生成ツール

認証システム用に設定可能なコストファクターで安全なbcryptパスワードハッシュを生成します。

Generate Hash

10
Higher = more secure but slower. 10-12 recommended.

Verify Password

About Bcrypt:
  • • Bcrypt is a password hashing algorithm designed to be slow
  • • The cost factor determines the number of iterations (2^cost)
  • • Each hash includes a random salt, so the same password produces different hashes
  • Note: This is a demo implementation. Use bcryptjs in production.

Bcryptハッシュ - 技術的な詳細

Bcryptは遅くなるように設計されており、ブルートフォース攻撃を実用的でなくします。コストファクター(10-12推奨)は実行される反復回数を決定します。各ハッシュにはランダムなソルトが含まれます。

コマンドラインでの代替方法

// Bcrypt hash format\n$2b$10$salt22chars.hash31characters\n\n$2b = algorithm\n$10 = cost (2^10 iterations)\nsalt = 22 char random salt