-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathindex.html
125 lines (102 loc) · 5.88 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
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
<!DOCTYPE html>
<html itemscope itemtype="http://schema.org/WebApplication">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta itemprop="name" content="HTML5HASH" />
<meta itemprop="description" content="A tool that uses HTML5 features to provide file hashing with crc32, md5, sha1, sha256, sha512, sha3 and ripdemd160 without the need to upload anything." />
<!-- Does anyone parse these? Maybe for future crawlers ;-) -->
<meta itemprop="author" content="Stefan Hacker" />
<meta itemprop="applicationCategory" content="Tool" />
<meta itemprop="applicationSubCategory" content="Hashing tool" />
<meta itemprop="browserRequirements" content="HTML5 support including FileReader(), Blob() with slices as well as Drag & Drop" />
<title>HTML5HASH, hashing files in your browser</title>
<link type="text/css" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/themes/ui-lightness/jquery-ui.min.css" rel="stylesheet" />
<link type="text/css" href="html5hash.css" rel="stylesheet" />
<script type="text/javascript" src="js/md5.js"></script>
<script type="text/javascript" src="js/sha1.js"></script>
<script type="text/javascript" src="js/sha256.js"></script>
<script type="text/javascript" src="js/sha512.js"></script>
<script type="text/javascript" src="js/sha3.js"></script>
<script type="text/javascript" src="js/ripemd160.js"></script>
<script type="text/javascript" src="js/crc32.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js"></script>
<script type="text/javascript" src="html5hash.js"></script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-33847832-1']);
_gaq.push(['_trackPageview']);
(function () {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body id="drop_zone">
<div id="centerfield">
<header>
<fieldset id="algo_selection">
<legend>Algorithm selection</legend>
<form>
<table>
<tr>
<td><input type="checkbox" name="crc32switch" checked="checked" />CRC-32</td>
<td><input type="checkbox" name="MD5-switch" />MD5</td>
<td><input type="checkbox" name="SHA1-switch" />SHA1 </td>
<td id="algosshow"><a href="#">more</a></td>
</tr>
<tr class="additionalalgos">
<td><input type="checkbox" name="RIPEMD-160-switch" />RIPEMD-160</td>
<td><input type="checkbox" name="SHA256-switch" />SHA256</td>
<td><input type="checkbox" name="SHA512-switch" />SHA512</td>
</tr>
<tr class="additionalalgos">
<td><input type="checkbox" name="SHA3-224-switch" />SHA3-224</td>
<td><input type="checkbox" name="SHA3-256-switch" />SHA3-256</td>
<td><input type="checkbox" name="SHA3-384-switch" />SHA3-384</td>
</tr>
<tr class="additionalalgos">
<td><input type="checkbox" name="SHA3-512-switch" />SHA3-512</td>
<td> </td>
<td id="algoshide"><a href="#">less</a></td>
</tr>
</table>
</form>
</fieldset>
<h1>HTML5HASH</h1>
</header>
<article>
<ul id="list">
<li>
<b>File selection</b>
<div id="placeholder">
<b>Drop</b> files here or <b>click to browse.</b>
</div>
<input type="file" id="hiddenFilesSelector" multiple />
</li>
</ul>
</article>
<aside id="explanation">
<span itemprop="description">Hashes are computed locally. No files or information on files will be uploaded.</span>
</aside>
</div>
<footer>
Copyright © 2012 Stefan Hacker
</footer>
<div id="overlay">
</div>
<!-- Work around opacity inheritance by having this seperate. -->
<div id="overlaytextbox">
<h3>Sorry</h3><br />
<div id="nojavascript">This site requires <a href="http://www.enable-javascript.com/" target="_blank">JavaScript</a>.</div>
<div id="missingfeatures"></div>
</div>
<div id="social">
<div class="g-plusone" data-size="small"></div>
<a href="https://twitter.com/share" class="twitter-share-button" data-url="http://hash.hacst.net" data-hashtags="hash">Tweet</a>
<script>!function (d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (!d.getElementById(id)) { js = d.createElement(s); js.id = id; js.src = "//platform.twitter.com/widgets.js"; fjs.parentNode.insertBefore(js, fjs); } }(document, "script", "twitter-wjs");</script>
<iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fhash.hacst.net&send=false&layout=button_count&width=100&show_faces=false&action=like&colorscheme=light&font&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:21px;" allowTransparency="true"></iframe>
</div>
</body>
</html>