-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathindex.html
More file actions
201 lines (175 loc) · 9.93 KB
/
Copy pathindex.html
File metadata and controls
201 lines (175 loc) · 9.93 KB
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
<!DOCTYPE html>
<html>
<head lang="en">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<meta charset="UTF-8">
<meta name="description" content="">
<meta name="author" content="Peter Ryszkiewicz">
<title>Simple Hash Generator</title>
<script type="text/javascript" src="deps/jquery.min.js"></script>
<script type="text/javascript" src="deps/bootstrap.min.js"></script>
<script type="text/javascript" src="deps/angular.min.js"></script>
<script type="text/javascript" src="deps/blake2b.js"></script>
<script type="text/javascript" src="js/main.js"></script>
<link href="./css/bootstrap.min.css" rel="stylesheet">
<link href="./css/jumbotron-narrow.css" rel="stylesheet">
<link href="./css/main.css" rel="stylesheet">
<link href="./css/dragAndDrop.css" rel="stylesheet">
</head>
<body>
<div class="container" ng-app="generatedHashList" ng-controller="generatedHashListController">
<div class="header clearfix">
<nav>
<ul class="nav nav-pills pull-right">
<li class="nav-item">
<a class="nav-link" href="https://github.com/pRizz/Simple-Hash-Generator">Source</a>
</li>
<li id="projectsDropdown" class="dropdown">
<a href="javascript:void(0)" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Projects <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="https://prizziota.com/">Home</a></li>
<li class="divider"></li>
<h6 class="dropdown-header">IOTA Tools</h6>
<li><a href="https://prizziota.com/IOTA-Address-Utilities/index.html">IOTA Address Utilities</a></li>
<li><a href="https://prizziota.com/iota-buy-strategy/index.html">IOTA Buy Strategy</a></li>
<li><a href="https://prizziota.com/iota-seed-encryptor-decryptor/index.html">IOTA Seed Encryptor/Decryptor</a></li>
<li><a href="https://prizziota.com/iota-transaction-spammer-webapp/index.html">IOTA Transaction Spammer</a></li>
<li><a href="https://prizziota.com/My-IOTA-Balance/index.html">My IOTA Balance</a></li>
<li class="divider"></li>
<h6 class="dropdown-header">Third Party IOTA Tools</h6>
<li><a href="https://open-iota.prizziota.com/">Open IOTA - Tangle Explorer</a></li>
<li><a href="https://prizziota.com/IOTA-Reattacher/index.html">IOTA Reattacher</a></li>
<li class="divider"></li>
<h6 class="dropdown-header">Monero Tools</h6>
<li><a href="https://prizziota.com/Monero-Donator/index.html">Monero Donator</a></li>
<li class="divider"></li>
<h6 class="dropdown-header">General Tools</h6>
<li><a href="https://prizziota.com/Easy-File-Encryptor-Decryptor/index.html">Easy File Encryptor/Decryptor</a></li>
</ul>
</li>
</ul>
</nav>
<h3 class="text-muted">Simple Hash Generator</h3>
</div>
<div class="row marketing text-justify">
<div class="col-md-5">
<div class="panel panel-default">
<div class="panel-body">
<h3>
Text input to be hashed:
</h3>
<textarea id="inputToHash" class="form-control" type="text" placeholder="Paste your text to hash here" ng-model="inputToHash" data-ng-trim="false"></textarea>
<br>
<div>{{inputSize}}</div>
</div>
</div>
</div>
<div class="col-md-2 text-center">
<h3>
Or
</h3>
</div>
<div class="col-md-5">
<div class="panel panel-default">
<div class="panel-body">
<h3>
File input to be hashed:
</h3>
<form id="fileToHashForm" novalidate class="box text-center" ng-model="fileToHash">
<div class="box__input">
<svg class="box__icon" xmlns="http://www.w3.org/2000/svg" width="50" height="43" viewBox="0 0 50 43"><path d="M48.4 26.5c-.9 0-1.7.7-1.7 1.7v11.6h-43.3v-11.6c0-.9-.7-1.7-1.7-1.7s-1.7.7-1.7 1.7v13.2c0 .9.7 1.7 1.7 1.7h46.7c.9 0 1.7-.7 1.7-1.7v-13.2c0-1-.7-1.7-1.7-1.7zm-24.5 6.1c.3.3.8.5 1.2.5.4 0 .9-.2 1.2-.5l10-11.6c.7-.7.7-1.7 0-2.4s-1.7-.7-2.4 0l-7.1 8.3v-25.3c0-.9-.7-1.7-1.7-1.7s-1.7.7-1.7 1.7v25.3l-7.1-8.3c-.7-.7-1.7-.7-2.4 0s-.7 1.7 0 2.4l10 11.6z"></path></svg>
<input type="file" name="files[]" id="file" class="box__file" data-multiple-caption="{count} files selected" multiple />
<label for="file"><strong>Choose a file</strong><span class="box__dragndrop"> or drag it here</span>.</label>
</div>
</form>
<br>
<div>{{fileInputSize}}</div>
</div>
</div>
</div>
</div>
<div class="row marketing text-justify">
<div class="col-md-10 col-md-offset-1">
If you want to see more hash functions, you can request them by <a href="https://github.com/pRizz/Simple-Hash-Generator/issues">making an issue here</a>, or implement it and <a href="https://github.com/pRizz/Simple-Hash-Generator/pulls">make a pull request here</a>. I will gladly merge them in :-)
</div>
</div>
<div>
<div class="row marketing text-justify" ng-repeat="generatedHashRow in generatedHashRows">
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-default">
<div class="panel-body">
<h3>{{generatedHashRow.name}}</h3>
<textarea class="form-control" type="text" placeholder="Generated hash will be rendered here">{{generatedHashRow.hash}}</textarea>
<br>
<div>{{generatedHashRow.generationDurationText}}</div>
</div>
</div>
</div>
</div>
</div>
<div class="row marketing text-center">
<div class="col-md-8 col-md-offset-2">
<h1>Disclaimer</h1>
<h2>
All hashing is done directly in the browser. Your data is not sent to any server, ever. If you are skeptical, which I respect, I recommend <a href="https://github.com/pRizz/Simple-Hash-Generator/releases">downloading the latest release here</a>, turning off your internet, unzip the release, open index.html, check out the network debugger, and see that hashing still works. Or if you are a developer, you can <a href="https://github.com/pRizz/Simple-Hash-Generator">audit the source code here</a>.
</h2>
</div>
</div>
<div class="row marketing text-center">
<div class="col-md-8 col-md-offset-2">
<h1>About the Author</h1>
<h2>
This project was originally created by Peter Ryszkiewicz (<a href="https://github.com/pRizz">pRizz@GitHub</a>), software engineer in Chicago, IL.
</h2>
</div>
</div>
<div class="row marketing text-center">
<div class="col-md-8 col-md-offset-2">
<h1>About the Project</h1>
<h2>
This project is hosted on GitHub at <a href="https://github.com/pRizz/Simple-Hash-Generator">https://github.com/pRizz/Simple-Hash-Generator</a> under the MIT license.
</h2>
</div>
</div>
<div class="row marketing text-center">
<div class="col-md-8 col-md-offset-2">
<pre>
MIT License
Copyright (c) 2017 Peter Ryszkiewicz
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
</pre>
</div>
</div>
<footer class="footer">
<p>
If you want to support me or my projects, please consider donating:
</p>
<div>IOTA: <code>ARDPDHLZPQZRDBPKTZBIK9OFKCJMGCHFQJTQEXL9KRIVSHNRGHJCEOCMRFXGJMQXDVGNFTTS9GUIOJXXW9RONFYJKW</code></div>
<p>Monero: <code>49RzM7gNHkpbhBGXQHnfnNbbvS39EG2gzLEjdxtDfNtUakYBqSg6m8zWJ69PRbBHgG61HaxnXwhyPicBbWyzxCNUDeCVgFt</code></p>
<p>
Don't have any coins? You can donate some of your CPU time at my <a href="https://prizziota.com/Monero-Donator/index.html">Monero Donator</a>
</p>
<p>Thank you!</p>
<p>© Peter Ryszkiewicz 2017</p>
</footer>
</div> <!-- /container -->
</body>
<script type="text/javascript" src="deps/dragAndDrop.js"></script>
</html>