-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdecrypt.php
More file actions
28 lines (27 loc) · 877 Bytes
/
decrypt.php
File metadata and controls
28 lines (27 loc) · 877 Bytes
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
<?php
if (session_status() !== PHP_SESSION_NONE) {
session_destroy();
}
session_start();
?>
<!DOCTYPE html>
<html>
<head>
<title>The Encryptor</title>
<link rel="stylesheet" href="includes/main.css">
<script src="includes/main.js"></script>
</head>
<body>
<h1>The Encryptor</h1>
<p>Waiting for the message to decrypt...</p>
<div class="form">
<form action="includes/decryptMessage.inc.php" method="post">
<textarea name="message" rows="10" cols="100" placeholder="Write here the message to decrypt." required></textarea>
</div>
<div class="generalDivEndPageButton">
<button>Decrypt</button>
</form>
<button class="home" onclick="home()">Home</button>
</div>
</body>
</html>