-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
130 lines (108 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
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>Secret message encoder</title>
<!-- Google Search Console verification -->
<meta
name="google-site-verification"
content="IB-wXayF9o_acelBXQh-V4bC_s4v4s-08bhxVjbCShs"
/>
<!-- Canonical URLs -->
<link rel="canonical" href="https://sme-siz.pages.dev" />
<meta property="og:url" content="https://sme-siz.pages.dev" />
<!-- Load CSS -->
<link href="src/style.css" rel="stylesheet" type="text/css" />
<!-- Load SME lib -->
<script src="src/encoders.js"></script>
<!-- Load main script -->
<script src="src/script.js" defer></script>
<!-- SEO keywords -->
<meta
name="keywords"
content="secret, message, encoder, sme, luisafk, invisible, unicode, binary, encrypt"
/>
<!-- PWA manifest -->
<link rel="manifest" href="/assets/manifest.json" />
<!-- Favicons -->
<link
rel="shortcut icon"
href="/assets/favicon96.png"
type="image/png"
sizes="96x96"
/>
<link
rel="shortcut icon"
href="/assets/favicon512.png"
type="image/png"
sizes="96x96"
/>
</head>
<body>
<a
href="https://youtu.be/aJISpi8E6gU"
target="_blank"
rel="noopener noreferer"
id="demo-video"
>Demo video</a
>
<a
href="https://github.com/lafkpages/sme"
target="_blank"
rel="noopener noreferrer"
>GitHub</a
>
<div id="encode">
<h2>Encode message</h2>
<textarea
id="encode-visible"
cols="30"
rows="10"
placeholder="Enter the visible message..."
></textarea>
<textarea
id="encode-secret"
cols="30"
rows="10"
placeholder="Enter the secret message..."
></textarea>
<br />
<input type="checkbox" id="encode-compress" checked />
<label
for="encode-compress"
title="Compressing makes the encoded message smaller, so you can send longer messages"
>Compress?</label
>
<hr />
<textarea
id="encode-output"
cols="30"
rows="10"
placeholder="Encoded message"
readonly
></textarea>
<button class="copy" for="encode-output">Copy</button>
<br />
<span id="encode-length">0</span>
</div>
<div id="decode">
<h2>Decode message</h2>
<textarea
id="decode-message"
cols="30"
rows="10"
placeholder="The encoded message..."
></textarea>
<hr />
<textarea
id="decode-output"
cols="30"
rows="10"
placeholder="Decoded secret"
readonly
></textarea>
<button class="copy" for="decode-output">Copy</button>
</div>
</body>
</html>