-
Notifications
You must be signed in to change notification settings - Fork 71
/
hash.html
236 lines (230 loc) · 8.77 KB
/
hash.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
<!DOCTYPE HTML>
<html>
<head>
<title>Hash 生成 - Got Your PW</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="description" content="Got Your PW 是一個簡易的資安資源網站,包含常用的工具,適合初學者的入門教材,和許多值得追蹤的資安相關網站。" />
<!--[if lte IE 8]><script async src="css/ie/html5shiv.js"></script><![endif]-->
<script src="js/jquery.min.js"></script>
<script src="js/skel.min.js"></script>
<script async src="js/jquery.dropotron.min.js"></script>
<script async src="js/jquery.scrollgress.min.js"></script>
<script async src="js/skel-layers.min.js"></script>
<script async src="js/init.js"></script>
<script async src="js/hash.js"></script>
<script async src='js/crypto-js/md5.js'></script>
<script async src='js/crypto-js/sha1.js'></script>
<script async src='js/crypto-js/sha256.js'></script>
<script async src='js/crypto-js/sha512.js'></script>
<script async src='js/crypto-js/sha3.js'></script>
<script async src='js/crypto-js/ripemd160.js'></script>
<script async src='js/crypto-js/pbkdf2.js'></script>
<script async src='js/crypto-js/hmac-md5.js'></script>
<script async src='js/crypto-js/hmac-sha1.js'></script>
<script async src='js/crypto-js/hmac-sha256.js'></script>
<script async src='js/crypto-js/hmac-sha512.js'></script>
<script async src="js/ga.js"></script>
<noscript>
<link rel="stylesheet" href="css/skel.css" />
<link rel="stylesheet" href="css/style.css" />
<link rel="stylesheet" href="css/style-wide.css" />
</noscript>
<!--[if lte IE 8]><link rel="stylesheet" href="css/ie/v8.css" /><![endif]-->
</head>
<body>
<!-- Header -->
<header id="header" class="skel-layers-fixed">
<h1><a href="index.html">Got Your PW</a></h1>
<nav id="nav">
<ul>
<li><a href="index.html">首頁</a></li>
<li><a href="about.html">關於我們</a></li>
<li><a href="grab.html">抓周</a></li>
<li><a href="resources.html">資源</a></li>
<li>
<a href="" class="icon fa-angle-down">工具</a>
<ul>
<li><a href="converter.html">編碼轉換</a></li>
<li><a href="hash.html">Hash 生成</a></li>
<li><a href="encrypt.html">加密 / 解密</a></li>
</ul>
</li>
<li><a href="https://github.com/s3131212/gotyour.pw" class="button" target="_blank">GitHub Repo</a></li>
</ul>
</nav>
</header>
<!-- Main -->
<section id="main" class="container 75%">
<header>
<h2>Hash 生成</h2>
<p>此工具用於在線上生成各種 Hash</p>
</header>
<div class="box">
<h3>Hash (無 Salt)</h3>
<form method="post" action="#">
<div class="row uniform 50%">
<div class="12u">
<h4>明碼</h4>
<input type="text" name="string" id="string" value="" placeholder="Plain Text" />
</div>
</div>
<div class="row uniform 50%">
<div class="12u">
<h4>MD5</h4>
<input type="text" name="md5" id="md5" value="" placeholder="MD5" readonly />
</div>
</div>
<div class="row uniform 50%">
<div class="12u">
<h4>SHA-1</h4>
<input type="text" name="sha1" id="sha1" value="" placeholder="SHA-1" readonly />
</div>
</div>
<div class="row uniform 50%">
<div class="12u">
<h4>SHA-256</h4>
<input type="text" name="sha256" id="sha256" value="" placeholder="SHA-256" readonly />
</div>
</div>
<div class="row uniform 50%">
<div class="12u">
<h4>SHA-512</h4>
<input type="text" name="sha512" id="sha512" value="" placeholder="SHA-512" readonly />
</div>
</div>
<div class="row uniform 50%">
<div class="12u">
<h4>SHA-3</h4>
<input type="text" name="sha3" id="sha3" value="" placeholder="SHA-3" readonly />
</div>
</div>
<div class="row uniform 50%">
<div class="12u">
<h4>RIPEMD-160</h4>
<input type="text" name="ripemd160" id="ripemd160" value="" placeholder="RIPEMD-160" readonly />
</div>
</div>
</form>
</div>
<div class="box">
<h3>Hash (含 Salt)</h3>
<form method="post" action="#">
<div class="row uniform 50%">
<div class="4u 12u(mobilep)">
<h4>明碼</h4>
<input type="text" name="string2" id="string2" value="" placeholder="Plain Text" />
</div>
<div class="4u 12u(mobilep)">
<h4>Salt</h4>
<input type="text" name="salt" id="salt" value="" placeholder="Salt" />
</div>
<div class="4u 12u(mobilep)">
<h4>位置</h4>
<div class="select-wrapper">
<select name="location" id="location">
<option value="before">字串前</option>
<option value="after">字串後</option>
</select>
</div>
</div>
</div>
<div class="row uniform 50%">
<div class="12u">
<h4>PBKDF2</h4>
<h5>128 Bits</h5>
<input type="text" name="pbkdf2_128" id="pbkdf2_128" value="" placeholder="PBKDF2 128 Bits" readonly />
<h5>256 Bits</h5>
<input type="text" name="pbkdf2_256" id="pbkdf2_256" value="" placeholder="PBKDF2 256 Bits" readonly />
<h5>512 Bits</h5>
<input type="text" name="pbkdf2_512" id="pbkdf2_512" value="" placeholder="PBKDF2 512 Bits" readonly />
</div>
</div>
<div class="row uniform 50%">
<div class="12u">
<h4>MD5</h4>
<input type="text" name="md5s" id="md5s" value="" placeholder="MD5" readonly />
</div>
</div>
<div class="row uniform 50%">
<div class="12u">
<h4>SHA-1</h4>
<input type="text" name="sha1s" id="sha1s" value="" placeholder="SHA-1" readonly />
</div>
</div>
<div class="row uniform 50%">
<div class="12u">
<h4>SHA-256</h4>
<input type="text" name="sha256s" id="sha256s" value="" placeholder="SHA-256" readonly />
</div>
</div>
<div class="row uniform 50%">
<div class="12u">
<h4>SHA-512</h4>
<input type="text" name="sha512s" id="sha512s" value="" placeholder="SHA-512" readonly />
</div>
</div>
<div class="row uniform 50%">
<div class="12u">
<h4>SHA-3</h4>
<input type="text" name="sha3s" id="sha3s" value="" placeholder="SHA-3" readonly />
</div>
</div>
<div class="row uniform 50%">
<div class="12u">
<h4>RIPEMD-160</h4>
<input type="text" name="ripemd160s" id="ripemd160s" value="" placeholder="RIPEMD-160" readonly />
</div>
</div>
</form>
</div>
<div class="box">
<h3>HMAC</h3>
<form method="post" action="#">
<div class="row uniform 50%">
<div class="6u 12u(mobilep)">
<h4>明碼</h4>
<input type="text" name="string3" id="string3" value="" placeholder="Plain Text" />
</div>
<div class="6u 12u(mobilep)">
<h4>密語</h4>
<input type="text" name="passphrase" id="passphrase" value="" placeholder="Passphrase" />
</div>
</div>
<div class="row uniform 50%">
<div class="12u">
<h4>MD5</h4>
<input type="text" name="md5h" id="md5h" value="" placeholder="MD5" readonly />
</div>
</div>
<div class="row uniform 50%">
<div class="12u">
<h4>SHA-1</h4>
<input type="text" name="sha1h" id="sha1h" value="" placeholder="SHA-1" readonly />
</div>
</div>
<div class="row uniform 50%">
<div class="12u">
<h4>SHA-256</h4>
<input type="text" name="sha256h" id="sha256h" value="" placeholder="SHA-256" readonly />
</div>
</div>
<div class="row uniform 50%">
<div class="12u">
<h4>SHA-512</h4>
<input type="text" name="sha512h" id="sha512h" value="" placeholder="SHA-512" readonly />
</div>
</div>
</form>
</div>
</section>
<!-- Footer -->
<footer id="footer">
<ul class="icons">
<li><a href="https://github.com/s3131212/gotyour.pw" class="icon fa-github"><span class="label">Github</span></a></li>
</ul>
<ul class="copyright">
<li>© Got Your PW. Some rights reserved. The contents are licensed under the <a href="https://creativecommons.org/licenses/by/4.0/deed.zh_TW" rel="nofollow">CC BY 4.0</a> .</li><li>Website Template: <a href="http://html5up.net" target="_blank" rel="nofollow">HTML5 UP</a>. The template is licensed under <a href="http://creativecommons.org/licenses/by/3.0/" rel="nofollow">CC BY 3.0</a> .</li>
</ul>
</footer>
</body>
</html>