-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
41 lines (32 loc) · 1.47 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Encryting Strings to Color-Block-Image</title>
<link rel="stylesheet" href="./src/style.css">
</head>
<body>
<canvas id="testCanvas" class="panel"></canvas>
<!-- <canvas id="characterCanvas" class="panel"></canvas>-->
<div id="navigation" class="panel">
<textarea id="textField" data-instance="cryptical" placeholder="Input the text you want to encrypt..."></textarea>
<div style="width: 50%; background: none; ">
<div class="keys">
<h3>Color-Key</h3>
<h3>Pixel-Size</h3>
</div>
<div class="keys">
<input id="color-key" type="number" min="0" max ="200" placeholder="Color-Key" data-instance="cryptical" value ="93" onkeyup="if(this.value > 200) this.value = 200;">
<input id="canvas-key" type="number" min="1" max="200" placeholder="Canvas-Key" data-instance="cryptical"value="20" onkeyup="if(this.value > 200) this.value = 200">
</div>
</div>
<button id="encrypt-button" class="btn panel" data-instance="cryptical">Encrypt Text</button>
<label id="pseudoButton" for="imageInput" class="btn panel" data-instance="cryptical">Upload & Decrypt Image</label>
<input type="file" id="imageInput" style="display:none;" accept="image/*"
data-instance="cryptical">
<input type="" id="textInput" style="display:none;" accept="">
</div>
<script type="module" src="./src/index.js"></script>
</body>
</html>