-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpass.html
122 lines (121 loc) · 4.31 KB
/
pass.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
---
layout: page
title: "Password Hasher"
description: ""
---
{% include JB/setup %}
<form name="form" onsubmit="return validate(this)" action="javascript:update(true)">
<ul>
<li><h2>Password Hasher</h2></li>
<li><h3>Site Tag</h3></li>
<li><input type="text" id="site-tag" class="lg-text" placeholder="site name"></li>
<li><h3>Master Key</h3></li>
<li><input id="master-key" type="password" class="lg-text"></li>
<li><h3>Hash Word</h3></li>
<li><input type="text" id="hash-word" class="lg-text"></li>
<li>
<input id="submit" type="submit" value="OK" class="lg-button" onfocus="onEnterSubmitButton(this);" onblur="onLeaveField(this);" data-widget="button">
</li>
<li>
<fieldset>
<legend><h3>Requirements</h3></legend>
<ul class="buttonset" data-widget="buttonset">
<li>
<input id="digit" type="checkbox" checked onclick="update();" data-widget="button">
<label for="digit" class="med-button">
Digit
</label>
</li>
<li>
<input id="punctuation" type="checkbox" checked onclick="update();" data-widget="button">
<label for="punctuation" class="med-button">
Punctuation
</label>
</li>
<li>
<input id="mixedCase" type="checkbox" checked onclick="update();" data-widget="button">
<label for="mixedCase" class="med-button">
Mixed Case
</label>
</li>
</ul>
</fieldset>
<fieldset>
<legend><h3>Restrictions</h3></legend>
<ul class="buttonset" data-widget="buttonset">
<li>
<input id="noSpecial" type="checkbox" onclick="onNoSpecial(this);" data-widget="button">
<label for="noSpecial" class="med-button">
No Special
</label>
</li>
<li>
<input id="digitsOnly" type="checkbox" onclick="onDigitsOnly(this);" data-widget="button">
<label for="digitsOnly" class="med-button">
Digits Only
</label>
</li>
</ul>
</fieldset>
<fieldset>
<legend><h3>Size</h3></legend>
<ul id="sizelist">
<li class="optionrow">
<input id="s4" name="size" type="radio" value="4" onclick="update(this);" data-widget="button">
<label for="s4" class="sm-button">4</label>
</li>
<li class="optionrow">
<input id="s6" name="size" type="radio" value="6" onclick="update(this);" data-widget="button">
<label for="s6" class="sm-button">6</label>
</li>
<li class="optionrow">
<input id="s8" name="size" type="radio" value="8" checked="" onclick="update(this);" data-widget="button">
<label for="s8" class="sm-button">8</label>
</li>
<li class="optionrow">
<input id="s10" name="size" type="radio" value="10" onclick="update(this);" data-widget="button">
<label for="s10" class="sm-button">10</label>
</li>
<li class="optionrow">
<input id="s12" name="size" type="radio" value="12" onclick="update(this);" data-widget="button">
<label for="s12" class="sm-button">12</label>
</li>
<li class="optionrow">
<input id="s14" name="size" type="radio" value="14" onclick="update(this);" data-widget="button">
<label for="s14" class="sm-button">14</label>
</li>
<li>
<input id="s16" name="size" type="radio" value="16" onclick="update(this);" data-widget="button">
<label for="s16" class="sm-button">16</label>
</li>
<li>
<input id="s18" name="size" type="radio" value="18" onclick="update(this);" data-widget="button">
<label for="s18" class="sm-button">18</label>
</li>
<li>
<input id="s20" name="size" type="radio" value="20" onclick="update(this);" data-widget="button">
<label for="s20" class="sm-button">20</label>
</li>
<li>
<input id="s22" name="size" type="radio" value="22" onclick="update(this);" data-widget="button">
<label for="s22" class="sm-button">22</label>
</li>
<li>
<input id="s24" name="size" type="radio" value="24" onclick="update(this);" data-widget="button">
<label for="s24" class="sm-button">24</label>
</li>
<li>
<input id="s26" name="size" type="radio" value="26" onclick="update(this);" data-widget="button">
<label for="s26" class="sm-button">26</label>
</li>
</ul>
</fieldset>
</li>
</ul>
</form>
<script src="/assets/js/PasswordHasher.js"></script>
<script type="text/javascript">
$(function() {
onLoad();
});
</script>