🔑 Password Generator
Create strong random passwords with customizable length and character sets.
📐 工作原理與說明
The chart shows the theoretical entropy upper bound for each random password; with one password, it adds character pools category by category and shows the upper bound as each set is enabled. Passphrases are not estimated from a character pool: their choice space is N words drawn without replacement from 64, plus the independent trailing digit and symbol choices. Fixed capitalization and separators add no entropy.
Generated with a cryptographically secure random source (crypto.getRandomValues), with adjustable length and character sets (upper- and lowercase letters, digits, symbols). Random passwords force at least one character from every enabled category, so the page shows a theoretical upper bound (≤ length × log₂(pool size)); actual randomness is lower. Passphrases draw words without replacement and add any trailing random digit/symbol, so the value shown is the exact entropy of that generation process.
- 建議長度 ≥12、熵 ≥80 bit;含符號可顯著提升抗暴力破解。
- 避免詞典詞與個人資訊;生成後請妥善儲存——除「本次會話記錄」在頁面會話內臨時檢視/複製外,關閉或清空後即從記憶體移除,不寫入本地持久儲存。
- 純瀏覽器生成,不離開本地。
點選生成密碼
After copying, passwords enter the system clipboard and may be retained by clipboard history or device sync; clear it according to your device settings.
強度:-
字元集
僅儲存在當前頁面記憶體中,重新整理或關閉頁面後自動清除。
💡 密碼安全建議
16+
推薦長度
4種
字元型別
90天
更換週期
2FA
雙重驗證
- 長度優先: 密碼長度比複雜度更重要,16位隨機密碼遠強於8位複雜密碼
- 唯一密碼: 每個賬戶使用不同密碼,使用密碼管理器管理
- 避免常見模式: 不要使用生日、姓名、qwerty、123456等常見密碼
- 密碼短語: 由多個單片語成的密碼短語更容易記憶且更安全
- 定期更換: 重要賬戶密碼建議每90天更換一次
- 啟用2FA: 重要賬戶務必開啟雙重驗證
- 不要共享: 不要通過郵件、即時通訊等方式傳送密碼
- 謹慎儲存: 使用專業密碼管理器,不要明文儲存在文件中
Formula & Standard References
| Item | Formula / Note | Source / Standard |
|---|---|---|
| Random password | high-entropy source; length-first | NIST SP 800-63B; RFC 4086 |
⚠️ 使用說明與注意事項
- 本工具純前端執行,資料不會上傳到伺服器
- 建議在主流瀏覽器(Chrome/Safari/Firefox/Edge)中使用
- 計算結果僅供參考,請以實際應用場景為準