forked from igorpereirag/DecodeText
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
64 lines (50 loc) · 2.43 KB
/
index.html
File metadata and controls
64 lines (50 loc) · 2.43 KB
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="pt.br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Decodificador</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap" rel="stylesheet">
<link rel="stylesheet" href="styles.css">
<script src="https://crypto-js.googlecode.com/svn/tags/3.1.2/build/rollups/sha256.js"></script>
<script src="https://crypto-js.googlecode.com/svn/tags/3.1.2/build/rollups/md5.js"></script>
</head>
<body>
<div class="title-principal">
<h1>Decodificador de texto</h1>
</div>
<div class="container-principal">
<div class="container-esquerdo">
<div class="campo-texto">
<label for="inputText">Insira um texto para Criptografar ou Descriptografar 📤</label>
<textarea id="inputText" class="borderless" placeholder="Insira o texto" rows="5"></textarea>
</div>
<div class="buttons-container">
<button onclick="codificarTexto()">Criptografar</button>
<button onclick="descodificarTexto()">Descriptografar</button>
</div>
<div class="algorithm-container">
<select class="borderless" id="algorithmSelector">
<option value="base64">Base64</option>
<option value="sha256">SHA-256</option>
<option value="md5">MD5</option>
</select>
</div>
</div>
<div class="container-direito">
<div id="textoStatus"></div>
<div class="resultText" class="borderless" rows="5">
<div id="resultMessage"></div>
</div>
<button class="button_result" onclick="copy()">Copiar para a Área de Transferência</button>
</div>
</div>
<div class="footer">
<p>Desenvolvido por Igor Pereira 🛠️</p>
<p><a href="https://github.com/Igorpereirag" target="_blank">GitHub</a></p>
</div>
<script src="script.js"></script>
</body>
</html>