-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathhash.html
64 lines (56 loc) · 1.8 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<!--
EVERYTHING IS PHYSICAL
EVERYTHING IS FRACTAL
EVERYTHING IS RECURSIVE
NO MONEY
MO MINING
NO PROPERTY
LOOK AT THE INSECTS
LOOK AT THE FUNGI
LANGUAGE IS HOW THE MIND PARSES REALITY
-->
<link href="data:image/x-icon;base64,AAABAAEAEBAQAAEABAAoAQAAFgAAACgAAAAQAAAAIAAAAAEABAAAAAAAgAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAA/wAAAAD//wAA/wAAAAD/AP8A/wAApv8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFUAAARGAAIxFVUABEYAAjMRFQAARGYiIjMRAABERmZiIzEAAARERGZiMwAAAARERGYiAAAAAABERiL4PwAA+78AAPu/AAD33wAA9V8AAPVfAAD1XwAA998AAOADAADhAAAA4AAAAPAAAADwAAAA+AAAAP4AAAD/wAAA" rel="icon" type="image/x-icon" />
<!--Stop Google:-->
<META NAME="robots" CONTENT="noindex,nofollow">
</head>
<body>
<a href = "index.html">index.html</a>
<h2>Find hash of strings using sha256(via PHP)</h2>
<table>
<tr>
<td>data:</td>
<td>
<input id = "datainput"/>
</td>
</tr>
<tr>
<td>hash(sha256):</td>
<td>
<input id = "hashinput"/>
</td>
</tr>
</table>
<script>
document.getElementById("datainput").value = "";
document.getElementById("hashinput").value = "";
document.getElementById("datainput").onchange = function(){
data = this.value;
var httpc = new XMLHttpRequest();
httpc.onreadystatechange = function(){
if (this.readyState == 4 && this.status == 200) {
hash = this.responseText;
document.getElementById("hashinput").value = hash;
}
}
httpc.open("GET", "hash.php?data=" + data, true);
httpc.send();
}
</script>
<style>
</style>
</body>
</html>