-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
49 lines (49 loc) · 1.49 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>ZeroSteg</title>
<meta charset="UTF-8">
<!-- Import Roboto Slab -->
<link href="https://fonts.googleapis.com/css?family=Roboto+Slab&display=swap" rel="stylesheet">
<!-- Import CSS and JS -->
<link rel="stylesheet" href="style.css">
<script src="zerosteg.js"></script>
</head>
<body>
<h1>ZeroSteg</h1>
<p>A simple web-based text steganography tool.</p>
<p>ZeroSteg uses zero-width Unicode characters to hide information.</p>
<p>Encoding and decoding are done with client-side JavaScript.</p>
<p>For its source code, visit my repository
<a href="https://github.com/jasonkimprojects/zerosteg">here.</a></p>
<small>Authored by Jason Kim, 2019.</small>
<div class="parent">
<!-- Encode -->
<div class="child">
<p>Message to hide:</p>
<textarea class="textarea-small" id="steg"></textarea>
<p>Text to mask message within:</p>
<textarea class="textarea-small" id="mask"></textarea>
<br>
<br>
<div class="button-wrap">
<button onclick="encode()">Encode</button>
</div>
</div>
<!-- Decode -->
<div class="child">
<p>Ciphertext:</p>
<textarea class="textarea-small" id="ciphertext"></textarea>
<br>
<br>
<div class="button-wrap">
<button onclick="decode()">Decode</button>
</div>
</div>
</div>
<br>
<!-- Result of encode/decode will be inserted here -->
<h3>Result - copy and paste:</h3>
<textarea class="textarea-small" id="result"></textarea>
</body>
</html>