WordPress 密碼哈希生成器

為 WordPress 生成安全密碼哈希

WordPress 密碼哈希計算機

為您的 WordPress 使用者生成安全的密碼哈希

Copied!

關於 WordPress 密碼哈希

WordPress uses a secure hashing algorithm to store passwords in its database. Since version 3.0, WordPress has used the Portable PHP password hashing framework (PHPass) to create hashes using the Blowfish algorithm (CRYPT_BLOWFISH) when available, falling back to MD5-based hashing if necessary.

WordPress 密碼哈希的格式帶有一個前綴,表示所使用的哈希演算法,後跟成本因數和哈希期間使用的鹽。生成的哈希值為60個字元,包括演算法、成本、鹽和哈希密碼本身。

Note:This tool generates WordPress-compatible password hashes using JavaScript. For production environments, it's recommended to use WordPress's built-in password hashing functions (e.g., wp_hash_password()) for maximum security and compatibility.

常見用例

  • 在 WordPress 中手動創建用戶帳戶
  • 在 WordPress 資料庫中重置密碼
  • 將使用者從外部系統導入 WordPress
  • 開發處理密碼的 WordPress 外掛程式或主題
  • 在 WordPress 中測試密碼哈希功能

技術細節

哈希演算法: Blowfish (CRYPT_BLOWFISH)
哈希前綴: $P$ 或 $2y$
成本因素: 10-14 (WordPress default: 12)
鹽長: 22 個字元
哈希長度: 60 個字元

Related Tools