PageSourceSearch

https://betaer.github.io/password-generator/

html betaer.github.io collected 2026-10-03 08:42:23 UTC 19,741 bytes, 215 lines download raw bytes

1<!doctype html>
2<html lang="zh-CN" data-runtime-version="2.0.1" data-product-version="2.1.0">
3<head>
4  <meta charset="UTF-8" />
5  <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
6  <meta name="color-scheme" content="light" />
7  <meta name="referrer" content="no-referrer" />
8  <meta http-equiv="Content-Security-Policy" content="default-src 'none'; script-src 'self' 'sha256-mfWt0aK85Bf+RfaNvF02UcVavkaIcRhgMljtS0PGhzU='; style-src 'self'; connect-src 'self'; img-src 'self' data: blob:; font-src 'self' data:; frame-src 'self'; worker-src 'self'; object-src 'none'; base-uri 'none'; form-action 'none'" />
9  <title>安全随机数据生成器 V2.1|密码、口令、PIN、Token、UUID 与 BIP39</title>
10  <meta name="title" content="安全随机数据生成器 V2.1|密码、口令、PIN、Token、UUID 与 BIP39" />
11  <meta name="application-name" content="安全随机数据生成器 V2.1" />
12  <meta name="description" content="免费、专业的浏览器本地安全随机数据生成器,支持 Password、Passphrase、PIN、Token、API Secret、UUID、Hex、Random Bytes 与 BIP39 Mnemonic。使用 Web Crypto API,生成内容不会作为生成数据上传。" />
13  <meta name="keywords" content="密码生成器,随机密码,强密码,口令,Passphrase,PIN码,Token,API Secret,UUID,Hex,Random Bytes,BIP39,Mnemonic,助记词,安全随机数据生成器,Web Crypto,Password Generator" />
14  <meta name="subject" content="浏览器本地密码、口令、PIN、Token、API Secret、UUID、Hex、随机字节与 BIP39 助记词生成工具" />
15  <meta name="abstract" content="A privacy-first security random data generator for Password, Passphrase, PIN, Token, API Secret, UUID, Hex, Random Bytes and BIP39 Mnemonic, powered by Web Crypto." />
16  <meta name="author" content="betaer" />
17  <meta name="robots" content="index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1" />
18  <meta name="googlebot" content="index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1" />
19  <meta name="bingbot" content="index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1" />
20  <meta name="theme-color" content="#0b5cff" />
21  <link rel="canonical" href="https://betaer.github.io/password-generator/index.html" />
22  <link rel="alternate" hreflang="zh-CN" href="https://betaer.github.io/password-generator/index.html" />
23  <link rel="alternate" hreflang="x-default" href="https://betaer.github.io/password-generator/index.html" />
24  <link rel="icon" type="image/png" sizes="512x512" href="./password-generator-icon.png" />
25  <link rel="sitemap" type="application/xml" href="https://betaer.github.io/sitemap.xml" />
26  <link rel="alternate" type="text/plain" href="https://betaer.github.io/password-generator/llms.txt" title="生成式搜索与 AI 助手说明" />
27
28  <meta property="og:type" content="website" />
29  <meta property="og:site_name" content="安全随机数据生成器 · Security Random Generator" />
30  <meta property="og:locale" content="zh_CN" />
31  <meta property="og:title" content="安全随机数据生成器 V2.1|九类浏览器本地生成器" />
32  <meta property="og:description" content="浏览器本地生成 Password、Passphrase、PIN、Token、API Secret、UUID、Hex、Random Bytes 与 BIP39 Mnemonic;精确生成器指标与攻击场景估算分层展示。" />
33  <meta property="og:url" content="https://betaer.github.io/password-generator/index.html" />
34  <meta property="og:image" content="https://betaer.github.io/password-generator/assets/social-preview-v2.1.png" />
35  <meta property="og:image:secure_url" content="https://betaer.github.io/password-generator/assets/social-preview-v2.1.png" />
36  <meta property="og:image:type" content="image/png" />
37  <meta property="og:image:width" content="1200" />
38  <meta property="og:image:height" content="630" />
39  <meta property="og:image:alt" content="安全随机数据生成器 V2.1:九类数据在浏览器本地生成" />
40
41  <meta name="twitter:card" content="summary_large_image" />
42  <meta name="twitter:title" content="安全随机数据生成器 V2.1|九类浏览器本地生成器" />
43  <meta name="twitter:description" content="本地生成密码、口令、PIN、Token、API Secret、UUID、Hex、随机字节与 BIP39 助记词。" />
44  <meta name="twitter:image" content="https://betaer.github.io/password-generator/assets/social-preview-v2.1.png" />
45  <meta name="twitter:image:alt" content="安全随机数据生成器 V2.1:九类数据在浏览器本地生成" />
46
47  
47<script id="v21-structured-data" type="application/ld+json">
48  {
49    "@context": "https://schema.org",
50    "@graph": [
51      {
52        "@type": "WebSite",
53        "@id": "https://betaer.github.io/#website",
54        "url": "https://betaer.github.io/",
55        "name": "betaer 项目主页",
56        "alternateName": "betaer Projects",
57        "description": "betaer 的公开项目与浏览器端工具集合。",
58        "inLanguage": "zh-CN",
59        "publisher": { "@id": "https://betaer.github.io/#author" }
60      },
61      {
62        "@type": "Person",
63        "@id": "https://betaer.github.io/#author",
64        "name": "betaer",
65        "url": "https://github.com/betaer"
66      },
67      {
68        "@type": "SoftwareApplication",
69        "@id": "https://betaer.github.io/password-generator/index.html#application",
70        "name": "安全随机数据生成器 V2.1",
71        "alternateName": ["Password Generator", "Passphrase Generator", "PIN Generator", "Token Generator", "API Secret Generator", "UUID Generator", "Hex Generator", "Random Bytes Generator", "BIP39 Mnemonic Generator"],
72        "url": "https://betaer.github.io/password-generator/index.html",
73        "description": "浏览器本地运行的九类安全随机数据生成器。精确计算生成空间,并将观察模式和攻击场景作为独立估算展示。生成内容不会作为生成数据上传。",
74        "keywords": ["密码生成器", "Passphrase", "PIN", "Token", "API Secret", "UUID", "Hex", "Random Bytes", "BIP39 Mnemonic", "Web Crypto"],
75        "inLanguage": "zh-CN",
76        "applicationCategory": "SecurityApplication",
77        "applicationSubCategory": "Security Random Data Generation",
78        "operatingSystem": "Web",
79        "browserRequirements": "需要支持 JavaScript、Web Crypto API 与 Web Worker 的现代浏览器",
80        "softwareVersion": "2.1.0",
81        "image": "https://betaer.github.io/password-generator/assets/social-preview-v2.1.png",
82        "isAccessibleForFree": true,
83        "isPartOf": { "@id": "https://betaer.github.io/#website" },
84        "author": { "@id": "https://betaer.github.io/#author" },
85        "offers": { "@type": "Offer", "price": "0", "priceCurrency": "USD" },
86        "sameAs": "https://github.com/betaer/password-generator",
87        "featureList": [
88          "Password、Passphrase 与 PIN 人类凭据生成",
89          "Token、API Secret、Hex 与 Random Bytes 机器密钥材料生成",
90          "UUID v4 与 v7 标准标识符生成",
91          "BIP39 Mnemonic 官方十种语言词表与校验和",
92          "精确生成器指标、观察模式估算与攻击场景估算分层展示",
93          "浏览器 Web Crypto API 本地生成,敏感结果不进入统计字段"
94        ]
95      },
96      {
97        "@type": "BreadcrumbList",
98        "@id": "https://betaer.github.io/password-generator/index.html#breadcrumb",
99        "itemListElement": [
100          { "@type": "ListItem", "position": 1, "name": "项目主页", "item": "https://betaer.github.io/" },
101          { "@type": "ListItem", "position": 2, "name": "安全随机数据生成器 V2.1", "item": "https://betaer.github.io/password-generator/index.html" }
102        ]
103      }
104    ]
105  }
106  </script>
106
107  <link rel="stylesheet" href="./assets/v2.1/app.ca8a0a294f81.css" />
108  <link rel="preload" href="./assets/v2.1/passphrase-packs.fdcfc66d0f6e.js" as="script" />
109  <link rel="preload" href="./assets/v2.1/pin-risk.a206560ebac9.js" as="script" />
110  <link rel="preload" href="./assets/v2.1/bip39.english.578979e364c7.js" as="script" />
111</head>
112<body>
113  <header class="topbar">
114    <div class="topbar-inner">
115      <div class="brand">
116        <img src="./password-generator-icon.png" alt="" width="38" height="38" />
117        <div><span class="brand-kicker">浏览器本地安全工具</span><p class="brand-name">安全随机数据生成器</p></div>
118      </div>
119      <div class="topbar-meta">
120        <span class="status-chip" id="crypto-status-chip" data-state="loading">Web Crypto / 检测中</span>
121        <span class="version-chip">V2.1</span>
122      </div>
123    </div>
124  </header>
125
126  <main class="page">
127    <section class="intro" aria-labelledby="page-title">
128      <div>
129        <p class="eyebrow">一套概率契约 · 九类安全生成器</p>
130        <h1 id="page-title">不只生成密码。<span>生成可解释的安全随机数据。</span></h1>
131        <p class="intro-copy">精确计算生成空间;基于明确假设估算攻击成本。精确生成器指标、观察模式估算与攻击场景估算分层展示,不再混成一个“精确破解结论”。</p>
132      </div>
133    </section>
134
135    <div class="workspace">
136      <nav class="panel mode-panel" aria-labelledby="mode-panel-title">
137        <h2 class="mode-panel-title" id="mode-panel-title"><span>1、</span>选择生成类型</h2>
138        <div class="mode-groups">
139          <div class="mode-group"><p>人类凭据</p><button class="mode-link" type="button" data-mode="password"><span class="mode-label-zh">密码</span><span class="mode-label-en">Password</span></button><button class="mode-link" type="button" data-mode="passphrase"><span class="mode-label-zh">口令</span><span class="mode-label-en">Passphrase</span></button><button class="mode-link" type="button" data-mode="pin"><span class="mode-label-zh">PIN 码</span><span class="mode-label-en">PIN</span></button><button class="mode-link" type="button" data-mode="mnemonic"><span class="mode-label-zh">助记词</span><span class="mode-label-en">Mnemonic</span></button></div>
140          <div class="mode-group"><p>机器密钥</p><button class="mode-link" type="button" data-mode="token"><span class="mode-label-zh">令牌</span><span class="mode-label-en">Token</span></button><button class="mode-link" type="button" data-mode="apiSecret"><span class="mode-label-zh">API 密钥</span><span class="mode-label-en">API Secret</span></button><button class="mode-link" type="button" data-mode="hex"><span class="mode-label-zh">十六进制</span><span class="mode-label-en">Hex</span></button><button class="mode-link" type="button" data-mode="randomBytes"><span class="mode-label-zh">随机字节</span><span class="mode-label-en">Random Bytes</span></button></div>
141          <div class="mode-group"><p>标准标识符</p><button class="mode-link" type="button" data-mode="uuid"><span class="mode-label-zh">UUID 标识符</span><span class="mode-label-en">UUID</span></button></div>
142        </div>
143      </nav>
144
145      <section class="panel config-panel" aria-labelledby="config-title">
146        <div class="panel-heading"><div><span class="panel-index">2、策略配置</span><h2 id="config-title">密码策略配置</h2><p id="config-description">约束感知的精确均匀模型。</p></div><span class="model-badge" id="model-badge">均匀约束模型</span></div>
147        <form id="generator-form" novalidate><div class="config-body" id="config-body"></div><div class="action-bar"><button class="button" type="reset">恢复默认</button><button class="button button-primary" id="generate-button" type="submit">生成</button></div></form>
148      </section>
149
150      <section class="panel result-panel" aria-labelledby="result-title">
151        <div class="panel-heading"><div><span class="panel-index">3、生成结果</span><h2 id="result-title">密码生成结果</h2><p>当前结果默认显示明文;生成不会自动复制,隐藏与显示只在原位置切换。</p></div></div>
152        <div class="result-toolbar" id="result-toolbar" hidden><button class="button button-small button-primary" id="regenerate-all" type="button">重新生成全部</button><button class="button button-small" id="copy-current" type="button">复制第一条</button><button class="button button-small" id="copy-all" type="button">复制全部</button><button class="button button-small button-danger" id="clear-results" type="button">清空结果</button></div>
153        <div class="result-scroll">
154          <div id="result-container"></div>
155          <div class="history-panel-shell">
156            <details class="history-panel" id="history-panel">
157              <summary class="history-summary"><span><strong id="history-title">生成记录 History</strong><small>默认折叠 · 当前页面内存</small></span></summary>
158              <div class="history-body">
159                <div class="history-head"><p>每次会话默认关闭;不持久化开关或秘密。最多保留 100 条,并受 8 MiB 总
159预算限制。<span id="history-budget-status">0 / 8,388,608 字节</span></p></div>
160                <div class="history-results" id="history-container" hidden></div>
161              </div>
162            </details>
163            <div class="history-top-actions">
164              <span class="history-summary-count" id="history-summary-count">未启用</span>
165              <label class="history-top-toggle"><input id="history-toggle" type="checkbox" /><span>启用记录</span></label>
166            </div>
167          </div>
168        </div>
169      </section>
170    </div>
171
172    <div class="resource-strip" id="resource-strip" aria-label="本地安全资源状态"></div>
173
174    <section class="security-note" aria-label="安全与隐私边界">
175      <div><h3>浏览器与秘密边界</h3><p>当前生成结果默认以明文进入可见 DOM;隐藏按钮只改变视觉呈现。JavaScript String 不可变,浏览器不提供可靠内存清零,因此本页不承诺“彻底擦除”。高价值 BIP39 应优先使用硬件钱包或经验证的离线构建。</p></div>
176      <div><h3>剪贴板与隔离页面访问统计</h3><p>只有显式复制才写入系统剪贴板。Google Analytics 只在无 <code>allow-same-origin</code> 的 sandbox iframe 中运行;父页面不加载 Google JS,也不向 iframe 发送类型、配置、输入或结果。无 Cookie page-view ping 仍可能包含浏览器与标准网络层元数据。</p></div>
177    </section>
178
179    <section id="v21-seo-content" class="seo-shell" aria-labelledby="v21-seo-title">
180      <details id="v21-security-verification" class="seo-shell-overview">
181        <summary class="seo-shell-overview-summary"><h2 id="v21-seo-title">V2.1 功能、数学模型与安全边界</h2></summary>
182        <div class="seo-shell-overview-content">
183          <section aria-labelledby="v21-generator-types">
184            <h3 id="v21-generator-types">九类生成器与适用边界</h3>
185            <p><strong>Password、Passphrase 与 PIN</strong> 面向人类凭据;<strong>Token、API Secret、Hex 与 Random Bytes</strong> 面向机器密钥材料;<strong>UUID</strong> 是标识符而不是秘密;<strong>BIP39 Mnemonic</strong> 面向兼容钱包的恢复短语,真实资产应优先使用硬件钱包或经验证的离线环境。</p>
186          </section>
187          <div class="seo-shell-grid">
188            <section><h3>精确生成器指标</h3><p>在页面声明的 CSPRNG 与均匀采样假设下,根据不可变生成模型计算生成空间、名义随机位数、最小熵、Shannon 熵和有限空间的期望猜测次数。</p></section>
189            <section><h3>观察模式估算</h3><p>仅对 Password 与 Passphrase 的具体结果提供经验型模式提示;它不是生成器概率分布的数学证明,也不会覆盖精确生成器指标。</p></section>
190            <section><h3>攻击场景估算</h3><p>破解时间只基于页面明确列出的在线限速、慢速 KDF 与快速离线速率假设。真实成本取决于锁定策略、MFA、哈希算法、参数和攻击硬件。</p></section>
191            <section><h3>浏览器本地数据边界</h3><p>随机核心使用 Web Crypto API;不可用时停止生成,不回退到 Math.random()。生成结果会进入当前页面 DOM 与 JavaScript 运行时,只有显式复制才写入系统剪贴板。</p></section>
192            <section><h3>无 Cookie GA 页面访问统计</h3><p>Google Analytics 仅在无 allow-same-origin 的 sandbox iframe 中执行,并只发送固定页面字段。父页面不发送生成器类型、配置、输入或结果;Google 仍可能接收无 Cookie 请求及标准网络元数据。</p></section>
193            <section><h3>公开验证与版本</h3><p>源代码、概率模型、Worker、资源哈希与浏览器验收均可在 GitHub 审计。正式版为当前 V2.1;V1.7.5 以只读归档入口继续保留。</p></section>
194          </div>
195        </div>
196      </details>
197    </section>
198
199    <footer class="footer"><span>安全随机数据生成器 V2.1 · Web Crypto · 统一概率契约</span><span><a href="./index-v1.75.html">V1.7.5 归档版</a> · <a href="https://github.com/betaer/password-generator" rel="noopener noreferrer" target="_blank">GitHub</a></span></footer>
200  </main>
201
202  <div class="site-floating-actions" role="group" aria-label="网站快捷操作">
203    <button class="site-floating-button site-floating-backtop" id="back-to-top" type="button" hidden aria-label="回到顶部"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 19V5m-6 6 6-6 6 6" /></svg><span class="site-floating-button-label">回到顶部</span></button>
204    <a class="site-floating-button site-floating-github" href="https://github.com/betaer/password-generator" target="_blank" rel="noopener noreferrer" aria-label="在 GitHub 查看源代码,999+ Stars"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 2.8a9.2 9.2 0 0 0-2.9 17.9c.5.1.6-.2.6-.5v-1.8c-2.7.6-3.3-1.2-3.3-1.2-.4-1.1-1.1-1.4-1.1-1.4-.9-.6.1-.6.1-.6 1 0 1.6 1 1.6 1 .9 1.6 2.4 1.1 3 .8.1-.7.4-1.1.6-1.3-2.2-.2-4.5-1.1-4.5-4.6 0-1 .4-1.9 1-2.5-.1-.2-.4-1.2.1-2.5 0 0 .8-.3 2.6 1a9 9 0 0 1 4.7 0c1.8-1.2 2.6-1 2.6-1 .5 1.3.2 2.3.1 2.5.6.7 1 1.5 1 2.5 0 3.5-2.3 4.3-4.5 4.6.4.3.7.9.7 1.7v2.6c0 .4.2.6.7.5A9.2 9.2 0 0 0 12 2.8Z" /></svg><span class="site-floating-button-label">GitHub</span><span class="site-floating-star-badge" aria-hidden="true">999+</span></a>
205    <a class="site-floating-button site-floating-x" href="https://x.com/intent/user?screen_name=betaer" target="_blank" rel="noopener noreferrer" aria-label="在 
205X 关注 Betaer"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231Zm-1.161 17.52h1.833L7.084 4.126H5.117L17.083 19.77Z" /></svg><span class="site-floating-button-label">@Betaer</span></a>
206    <button class="site-floating-button site-floating-copy" id="copy-share" type="button" aria-label="复制网站分享文案"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M8 8h11v11H8zM5 16H4V5h11v1" /></svg><span class="site-floating-button-label">复制分享</span></button>
207  </div>
208
209  <iframe src="./assets/v2.1/analytics-frame.41d10932e4bb.html" title="隔离页面访问统计" aria-hidden="true" tabindex="-1" sandbox="allow-scripts" referrerpolicy="no-referrer" hidden></iframe>
210  <div class="toast" id="toast" role="status" aria-live="polite" hidden></div>
211  
211<script src="./assets/v2.1/runtime.2b2a24b64333.js"></script>
211
212  
212<script src="./assets/v2.1/app.76b10e733c9b.js"></script>
212
213  <noscript><div class="noscript">需要启用 JavaScript 与 Web Crypto 才能安全生成随机数据。</div></noscript>
214</body>
215</html>

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.