-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
64 lines (56 loc) · 2.13 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
<!DOCTYPE html>
<html>
<head>
<script src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/4.0.0/crypto-js.min.js"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-MND5VSFMKW"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-MND5VSFMKW');
</script>
<link rel="stylesheet" href="assets/styles.css">
<!-- make site responsive -->
<meta content='width=device-width, initial-scale=1' name='viewport'/>
<!-- favicons -->
<link rel="apple-touch-icon" sizes="180x180" href="assets/favicon_io/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="assets/favicon_io/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="assets/favicon_io/favicon-16x16.png">
<link rel="manifest" href="assets/favicon_io/site.webmanifest">
</head>
<body>
<div>
<h1>Encrypt/Decrypt</h1>
<div class="fields">
<textarea id="Text" type="text" name="Text" value="" placeholder=Text ></textarea>
</div>
<div class="fields">
<input id="Password" type="password" class="password" name="Password" value="" placeholder=Password >
</div>
<div class="fields">
<button id="Encrypt">Encrypt</button>
</div>
<div class="fields">
<button id="Decrypt">Decrypt</button>
</div>
<div class="fields">
<textarea id="Ciphertext" type="text" name="result" placeholder="Cipher Text"></textarea>
</div>
<div class="footer">
This is a simple site for encrypting any text data.
<br>
No data is stored or sent anywhere.
<br>
Algorithm used: AES 256 CBC with PBKDF2 function.
<br>
Compatible with OpenSSL!
<br>
<a href="https://github.com/bsgrigorov/text-encrypt">GitHub repo</a>
</div>
</div>
<script src="encryption.js"></script>
<!-- google adsense -->
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4243933021225460" crossorigin="anonymous"></script>
</body>
</html>