-
Notifications
You must be signed in to change notification settings - Fork 0
/
en.html
337 lines (298 loc) · 21.5 KB
/
en.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Fidelius · Password generator">
<meta name="author" content="Sirius">
<title>Fidelius · Password generator</title>
<!--Icon Source: https://www.flaticon.com/free-icon/padlock_7718913?term=password&page=3&position=20&origin=search&related_id=7718913-->
<link rel="shortcut icon" href="favicon.ico">
<!--CSS File Source:https://bootswatch.com/quartz/-->
<link type="text/css" rel="stylesheet" href="css/bootstrap.min.css" media="screen, projection">
<link type="text/css" rel="stylesheet" href="css/loading.min.css">
</head>
<body>
<div class="spinner-fullpage" id="loadingSpinner" style="display: none;">
<div class="spinner-border text-warning" role="status">
<span class="visually-hidden">Loading...</span>
</div>
</div>
<div class="container mt-5">
<div class="row justify-content-center">
<div class="input-field col-12 col-sm-12 col-md-10 col-lg-8 col-xl-6">
<div class="page-header mb-2">
<h1>
Fidelius
<small class="text-muted d-none d-sm-inline-block"> · </small>
<small class="text-muted text-nowrap">Password generator</small>
</h1>
</div>
<!--Alert-->
<div class="alert alert-warning" role="alert">
NOTE: The <a href="https://en.wikipedia.org/wiki/Argon2">Argon2</a> algorithm is used in password generation and all operations are performed locally. Click on the button in front of each input box to view detailed instructions, then click on any area outside the button to close the instructions. Password generation time depends on device performance and the page may be unresponsive during the generation process, please be patient.
</div>
<form>
<!--Main Password-->
<div class="input-group mb-2">
<a tabindex="0" class="btn btn-secondary" role="button" data-bs-toggle="popover"
data-bs-trigger="focus" data-bs-placement="left"
data-bs-content="The only password that needs to be remembered, other passwords are generated based on this password, it is not recommended to include personal information (e.g. birthday, name) in this password, minimum length is 8 digits">Main Pwd</a>
<input type="password" class="form-control" id="memoryCode" placeholder="e.g. M3m0RyC@de!" value=""
onkeyup="">
</div>
<!--Distinguish marks/domain hash salts-->
<div class="input-group mb-2">
<a tabindex="0" class="btn btn-secondary" role="button" data-bs-toggle="popover"
data-bs-trigger="focus" data-bs-placement="left"
data-bs-content="Part of the hash salt, can use website domain names, e.g. Twitter can use twitter.com">Unique ID</a>
<input type="text" class="form-control" id="distinguishMark" placeholder="e.g. twitter.com" value="">
</div>
<div class="row align-items-center">
<!--Generate time-->
<div class="col-8 col-md-9">
<div class="input-group mb-2">
<a tabindex="0" class="btn btn-secondary" role="button" data-bs-toggle="popover"
data-bs-trigger="focus" data-bs-placement="left"
data-bs-content="Part of the hash salt, for periodic password changes, e.g. a password generated in 2023 could be filled in with 2023, not required">Gen Date </a>
<input type="text" class="form-control" id="generateTime" placeholder="e.g. 2023"
value="">
</div>
</div>
<!--Contain symbols-->
<div class="col-4 col-md-3">
<div class="input-group mb-2">
<div class="form-check form-switch mx-auto">
<input class="form-check-input" type="checkbox" id="containSymbols" checked>
<label class="form-check-label text-nowrap" for="containSymbols">Symbols</label>
</div>
</div>
</div>
</div>
<div class="row align-items-center">
<!--Password length-->
<div class="col-8 col-md-9">
<div class="input-group mb-2">
<a tabindex="0" class="btn btn-secondary" role="button" data-bs-toggle="popover"
data-bs-trigger="focus" data-bs-placement="left"
data-bs-content="The length of the generated password, the default value is 16 digits, we recommend no less than 8 digits and a minimum of 6 digits">Length </a>
<input type="number" class="form-control" id="pwdLength" placeholder="e.g. 16" value=""
max="60" min="6">
</div>
</div>
<!--Uppercase-->
<div class="col-4 col-md-3">
<div class="input-group mb-2">
<div class="form-check form-switch mx-auto">
<input class="form-check-input" type="checkbox" id="containUppercase" checked>
<label class="form-check-label text-nowrap" for="containUppercase">Capitals</label>
</div>
</div>
</div>
</div>
<!--Customized parameters-->
<div class="accordion" id="advancedSettings">
<div class="accordion-item">
<h2 class="accordion-header" id="headingOne">
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse"
data-bs-target="#collapseOne" aria-expanded="false" aria-controls="collapseOne">
Advanced settings
</button>
</h2>
<div id="collapseOne" class="accordion-collapse collapse" aria-labelledby="headingOne"
data-bs-parent="#advancedSettings">
<div class="accordion-body">
<h6>The following are custom settings, please ignore if you do not need to adjust them.</h6>
<!--Special symbols checkbox-->
Optional special symbols (only for sites with specific requirements for special symbols, the selected symbols may not all be present).
<div class="input-group mb-2 mt-2">
<div class="form-check form-check-inline">
<input class="form-check-input" type="checkbox" id="inlineCheckbox1"
name="customSymbol" value="~">
<label class="form-check-label" for="inlineCheckbox1">~</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="checkbox" id="inlineCheckbox2"
name="customSymbol" value="*">
<label class="form-check-label" for="inlineCheckbox2">*</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="checkbox" id="inlineCheckbox3"
name="customSymbol" value="-">
<label class="form-check-label" for="inlineCheckbox3">-</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="checkbox" id="inlineCheckbox4"
name="customSymbol" value="+">
<label class="form-check-label" for="inlineCheckbox4">+</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="checkbox" id="inlineCheckbox5"
name="customSymbol" value="(">
<label class="form-check-label" for="inlineCheckbox5">(</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="checkbox" id="inlineCheckbox6"
name="customSymbol" value=")">
<label class="form-check-label" for="inlineCheckbox6">)</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="checkbox" id="inlineCheckbox7"
name="customSymbol" value="!">
<label class="form-check-label" for="inlineCheckbox7">!</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="checkbox" id="inlineCheckbox8"
name="customSymbol" value="@">
<label class="form-check-label" for="inlineCheckbox8">@</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="checkbox" id="inlineCheckbox9"
name="customSymbol" value="#">
<label class="form-check-label" for="inlineCheckbox9">#</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="checkbox" id="inlineCheckbox10"
name="customSymbol" value="$">
<label class="form-check-label" for="inlineCheckbox10">$</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="checkbox" id="inlineCheckbox11"
name="customSymbol" value="^">
<label class="form-check-label" for="inlineCheckbox11">^</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="checkbox" id="inlineCheckbox12"
name="customSymbol" value="&">
<label class="form-check-label" for="inlineCheckbox12">&</label>
</div>
</div>
The following are the recommended encryption parameters for Argon2, please leave them as default if you do not need to adjust them.
<!--Iteration number-->
<div class="input-group mb-2 mt-2">
<a tabindex="0" class="btn btn-secondary" role="button" data-bs-toggle="popover"
data-bs-trigger="focus" data-bs-placement="left"
data-bs-content="The number of iterations of the hash operation, which must be an integer value from 1 to 2^(32)-1. If the value entered here is less than 1, then the default value will be used to calculate">Iteration </a>
<input type="number" class="form-control" id="iteration" placeholder="3"
value="" min="1">
</div>
<!--Degree of parallelism-->
<div class="input-group mb-2">
<a tabindex="0" class="btn btn-secondary" role="button" data-bs-toggle="popover"
data-bs-trigger="focus" data-bs-placement="left"
data-bs-content="Degree of parallelism p determines how many independent (but synchronizing) computational chains (lanes) can be run. It MUST be an integer value from 1 to 2^(24)-1. If the value entered here is less than 1, then the default value will be used to calculate">Parallelism</a>
<input type="number" class="form-control" id="parallelism" placeholder="1"
value="" min="1">
</div>
<!--Memory usage in KB-->
<div class="input-group mb-2">
<a tabindex="0" class="btn btn-secondary" role="button" data-bs-toggle="popover"
data-bs-trigger="focus" data-bs-placement="left"
data-bs-content="Memory size m MUST be an integer number of kibibytes from 8*p to 2^(32)-1. The actual number of blocks is m', which is m rounded down to the nearest multiple of 4*p. If the value entered here is less than 8*p, then the default value will be used to calculate">Memory </a>
<input type="number" class="form-control" id="memoryUsage" placeholder="65536"
value="" min="8">
<span class="input-group-text">KB</span>
</div>
<!--Hash length/Tag length-->
<div class="input-group">
<a tabindex="0" class="btn btn-secondary" role="button" data-bs-toggle="popover"
data-bs-trigger="focus" data-bs-placement="left"
data-bs-content="The tag length must be an integer from 4 to 2^(32)-1 bytes, and must be greater than or equal to the password length">Tag Length</a>
<input type="number" class="form-control" id="hashLength" placeholder="64"
value="" min="4">
<span class="input-group-text">Byte</span>
</div>
</div>
</div>
</div>
</div>
<hr>
<!--Generate-->
<div class="form-group">
<div class="d-grid">
<button class="btn btn-lg btn-outline-warning" type="button" id="generatePwd">
Generate
</button>
</div>
</div>
<!-- Result Modal -->
<div class="modal fade" id="resultModal" tabindex="-1" aria-labelledby="resultModalLabel"
aria-hidden="true">
<div class="modal-dialog modal-dialog-centered modal-lg">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="resultModalLabel">Generated results</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal"
aria-label="Close"></button>
</div>
<div class="modal-body">
<!--Copy / Rate-->
<div class="form-group">
<div class="input-group mb-2">
<input class="form-control" id="pwdOutput" type="password" readonly>
<span class="input-group-text btn" onclick="showPwdOutput()"
id="showOrHidePwd" role="button">Show</span>
</div>
<div class="progress">
<div class="progress-bar progress-bar-striped progress-bar-animated"
role="progressbar" id="qualityBar" aria-placeholder="Password strength rating"
aria-valuenow="75" aria-valuemin="0" aria-valuemax="100">bits</div>
</div>
<div class="d-flex justify-content-center mt-1">
<p class="" id="qualityText">
score
</p>
</div>
</div>
</div>
<div class="modal-footer">
<button class="btn btn-outline-secondary" type="button" id="btnCopy">
Copy
</button>
<button class="btn btn-outline-warning" type="button" id="btnCopyClose"
data-bs-dismiss="modal">
Copy & Close
</button>
</div>
</div>
</div>
</div>
<!-- Error Modal -->
<div class="modal fade" id="errorModal" tabindex="-1" aria-labelledby="errorModalLabel"
aria-hidden="true">
<div class="modal-dialog modal-dialog-centered modal-lg">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="errorModalLabel">ERROR!</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal"
aria-label="Close"></button>
</div>
<div class="modal-body">
<div class="form-group">
<textarea class="form-control" id="errorOutput" rows="6"></textarea>
</div>
</div>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
<script type="text/javascript" src="js/lib/clipboard.min.js"></script>
<script type="text/javascript" src="js/lib/bootstrap.bundle.min.js"></script>
<script type="text/javascript" src="js/lib/PasswordQualityCalculator.min.js"></script>
<script type="text/javascript" src="js/en_main.min.js"></script>
</body>
<footer id="footer">
<div class="container mt-5 mb-2">
<div class="row justify-content-center">
<div class="input-field col-12 col-sm-12 col-md-8 col-lg-6">
<span class="badge bg-secondary float-end"><a href="https://siriusq.top/">Back to siriusq.top</a></span>
<span class="badge bg-info"><a href="https://github.com/Siriusq/Fidelius">Open Source on Github</a></span>
<span class="badge bg-secondary"><a href="./index.html">简体中文</a></span>
</div>
</div>
</div>
</footer>
</html>