免费 · 安全与隐私
密码生成器.
生成高强度随机密码、易记的密码短语和 PIN 码,显示强度、熵值和预计破解时间,一次最多 50 个。
Generated in your browser with a cryptographically secure random source (crypto.getRandomValues, unbiased); nothing is sent or stored. Use 16+ characters and a different password for every site, ideally stored in a password manager. Crack-time figures are averages for random guessing and assume the attacker knows how the password was generated.
生成高强度密码、密码短语或 PIN
- 选择类型:随机密码、由单词组成的密码短语,或数字 PIN。
- 设置长度和字符类型(大写、小写、数字、符号),或密码短语的单词数和分隔符。
- 新值会立即出现。可以复制、重新生成,或一次生成 5 到 50 个。
强度指示会显示以比特为单位的熵,以及猜中该值所需的平均时间:离线按每秒 100 亿次尝试计算,在线按每秒 100 次计算。包含全部四类字符的 20 位密码约 129 比特;5 个单词的密码短语约 63 比特。
选项与原理
- 密码长度 4–128 个字符;密码短语 3–12 个单词,取自 2,489 个英文单词的词表;PIN 为 4–16 位数字。
- 可以要求每类字符至少一个、避免 l、1 与 O、0 这类易混字符、排除指定字符,以及自定义符号。
- 所有值来自浏览器的加密安全随机数生成器,并采用无偏的拒绝采样。不会保存或发送任何内容。
- 想检测已在使用的密码,请试试 密码强度检测。如需在多人之间分拆保管一个秘密,请参阅 Shamir 秘密共享。
限制与支持格式
输入内容在您的设备上处理。
英语技术说明
Passwords of 4–128 characters, passphrases of 3–12 words from a 2,489-word English list, PINs of 4–16 digits. Crack times assume random guessing at the stated speeds.
Uses the browser’s cryptographically secure random generator with unbiased rejection sampling. Options: upper/lower case, digits, custom symbols, at least one of each type, avoid look-alike characters, excluded characters, passphrase separators, capitalization and an extra number. Shows entropy in bits and average crack time for offline (10 billion guesses per second) and online (100 per second) attacks. Nothing is stored or sent.
20 characters with upper case, lower case, digits and symbols ≈ 129 bits of entropy; a 5-word passphrase such as Garden-Silver-Mighty4-Ocean-Pilot ≈ 63 bits.
常见问题
密码应该多长?
账户密码建议至少 14–16 个随机字符,或 5 个及以上单词的密码短语。每个网站使用不同的密码。
生成的密码会被保存或发送吗?
不会。密码在您的浏览器中生成,关闭页面后即消失。请存入密码管理器。
密码和密码短语哪个更好?
只要足够长,两者都很安全。密码短语更容易输入和记忆;随机密码用更少的字符提供更高强度。