-
Notifications
You must be signed in to change notification settings - Fork 0
/
combined.php
47 lines (45 loc) · 1.28 KB
/
combined.php
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
<p>
<p class="subTitle">Ceaser + Vigenere + Playfair + Hill Cipher</p>
<form>
<div class="row">
<div class="column">
<textarea name="plain_text" style="width: 240px; height: 327px;" wrap="soft" placeholder="Plain text here" class="bigbox"></textarea>
</div>
<div class="column mid">
<p>Enter keys below:</p>
<label for="key1">Ceaser Cipher</label>
<input type="text" id="key1" name="key1" required placeholder="Ceaser cipher key">
<br>
<label for="key2">Vigenere Cipher</label>
<input type="text" id="key2" name="key2" required placeholder="Vigenere cipher key">
<br>
<label for="key3">Playfair Cipher</label>
<input type="text" id="key3" name="key3" required placeholder="Playfair cipher key">
<br>
<p>Hill cipher key:</p>
<table border="1">
<tr>
<td>6</td>
<td>24</td>
<td>1</td>
</tr>
<tr>
<td>13</td>
<td>16</td>
<td>10</td>
</tr>
<tr>
<td>20</td>
<td>17</td>
<td>15</td>
</tr>
</table>
<br>
<input type="button" onclick="encryptComb()" name="encrypt" value=">> ENCRYPT >>">
</div>
<div class="column">
<textarea name="cipher_text" style="width: 240px; height: 327px;" wrap="soft" placeholder="Cipher text here" readonly class="bigbox"></textarea>
</div>
</div>
</form>
</p>