-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
60 lines (58 loc) · 2.82 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
<!DOCTYPE html>
<html>
<head>
<title>HashApp</title>
<meta charset="utf-8">
<meta name="author" content="Federico Augello">
<meta name="description" content="Applicativo per cifrare del testo">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<!-- Icon -->
<link rel="icon" type="img/png" href="img/hashIcon.png" >
<!-- Styles -->
<link rel="stylesheet" type="text/css" href="./css/index.css">
<!-- BootStrap, I imported minified code because I wanted to make it usable offline -->
<link rel="stylesheet" type="text/css" href="./css/bootstrap.min.css">
</head>
<body>
<div id="container-fluid">
<!-- Logo and name -->
<div id="headcontainer">
<header>
<!-- <div>Icons made by <a href="http://www.freepik.com" title="Freepik">Freepik</a> from <a href="https://www.flaticon.com/" title="Flaticon">www.flaticon.com</a> is licensed by <a href="http://creativecommons.org/licenses/by/3.0/" title="Creative Commons BY 3.0" target="_blank">CC 3.0 BY</a></div> -->
<img id="logo" src="img/hashIcon.png" alt="HashApp Logo">
<h1 id="sitename">HashApp</h1>
</header>
</div>
<div id="io_div">
<!-- Form -->
<form id="form-group">
<!-- Input text -->
<input type="text" name="input" id="input" autocomplete="off" placeholder="Insert some text" class="form-control">
<!-- Voilà -->
<input type="button" id="hash" value="Hash" class="btn">
<!-- Output text -->
<input type="text" name="output" id="output" autocomplete="off" placeholder="Encode of input text" readonly class="form-control">
<!-- Reset text fields -->
<input type="reset" id="reset" value="Reset" class="btn">
<!-- Dropdown for choosing hash algorithm -->
<select class="form-control" id="cryptoSelect" name="cryptoSelect">
<option>MD5</option>
<option>SHA-1</option>
<option>SHA-224</option>
<option>SHA-256</option>
<option>SHA-384</option>
<option>SHA-512</option>
<option>SHA-3</option>
</select>
<input type="button" id="copyHash" value="Copy" class="btn">
</form>
</div>
</div>
<footer id="copyright">© Copyright Federico Augello</footer>
<!-- Scripts -->
<!-- Hashing, I imported minified code because I wanted to make it usable offline -->
<script type="text/javascript" src="./js/crypto-js.min.js"></script>
<script type="text/javascript" src="./js/index.js"></script>
</body>
</html>