-
Notifications
You must be signed in to change notification settings - Fork 0
/
hill.php
37 lines (35 loc) · 848 Bytes
/
hill.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
<p>
<p class="subTitle">Hill Cipher</p>
<form>
<div class="row">
<div class="column">
<textarea name="plain_text" style="width: 240px; height: 173px;" maxlength="3" wrap="soft" placeholder="3 Letter String" class="bigbox"></textarea>
</div>
<div class="column mid">
<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="encryptH()" name="encrypt" value=">> ENCRYPT >>">
</div>
<div class="column">
<textarea name="cipher_text" style="width: 240px; height: 173px;" wrap="soft" placeholder="Cipher text here" readonly class="bigbox"></textarea>
</div>
</div>
</form>
</p>