-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
68 lines (66 loc) · 4.3 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="Description" content="Simple application that allows you to paste text and just see hashed output">
<title>Hash in browser</title>
<link rel="icon" href="favicon.png" type="image/png">
<link rel="stylesheet" type="text/css" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css" integrity="sha384-fLW2N01lMqjakBkx3l/M9EahuwpSfeNvV63J5ezn3uZzapT0u7EYsXMjQV+0En5r" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<a href="https://github.com/ginden/hash">
<img style="position: absolute; top: 0; left: 0; border: 0;"
src="https://camo.githubusercontent.com/567c3a48d796e2fc06ea80409cc9dd82bf714434/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f6c6566745f6461726b626c75655f3132313632312e706e67"
alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_left_darkblue_121621.png">
</a>
<div class="container theme-showcase">
<h2><a style="color: black" href="https://ginden.github.io/hash/">Hashing can be simple</a></h2>
<p>To protect your privacy all operations are performed on the browser side. <a href="https://github.com/ginden/hash">Site source code is available</a> under the MIT license.</p>
<input type="text" id="input" placeholder="just type or paste it">
<input type="checkbox" id="auto" checked><label for="auto">Calculate as you type</label>
<button type="button" id="compute" class="btn btn-lg btn-primary">calculate hash</button>
<table class="table">
<thead>
<tr>
<td>Method</td>
<td>Hex</td>
</tr>
</thead>
<tbody>
</tbody>
</table>
<div class="timing" title="Hashing time can be overestimated due to asynchronicity of operations">Hashing time: <span id="timing"></span>ms (<span id="ops-per-sec"></span> operations per second)</div>
<div class="learn-more">
<h2>Learn more</h2>
<ul>
<li><a href="https://en.wikipedia.org/wiki/MD5">Wikipedia article on MD5</a></li>
<li><a href="https://en.wikipedia.org/wiki/SHA-1">Wikipedia article on SHA-1</a></li>
<li><a href="https://en.wikipedia.org/wiki/SHA-2">Wikipedia article on SHA-2 hash function family</a> (SHA-256, SHA-384, SHA-512)</li>
<li><a href="https://en.wikipedia.org/wiki/Whirlpool_%28cryptography%29">Wikipedia article on Whirlpool hash</a></li>
<li><a href="http://www.sunsean.com/Whirlpool.html">Whirlpool implementation used on this page</a></li>
<li><a href="https://github.com/blueimp/JavaScript-MD5">MD5 implementation used on this page</a></li>
<li><a href="https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.html">Web cryptography specification</a></li>
<li><a href="https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto">MDN on SubtleCrypto interface</a></li>
<li><a href="http://security.stackexchange.com/q/19906/69263">Is MD5 considered insecure</a>? Yes, it is.</li>
<li><a href="http://arstechnica.com/security/2012/10/sha1-crypto-algorithm-could-fall-by-2018/">SHA1 crypto algorithm underpinning Internet security could fall by 2018</a></li>
</ul>
</div>
</div>
<script src="md5.js" defer></script>
<script src="whirlpool.js" defer></script>
<script src="app.js" defer></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-68157263-1', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>