-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
68 lines (68 loc) · 3.54 KB
/
index.html
File metadata and controls
68 lines (68 loc) · 3.54 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
65
66
67
68
<!DOCTYPE html>
<html lang="de-DE">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Dekodierung</title>
<link rel="stylesheet" href="css/main.css">
</head>
<body>
<script src="jquery.min.js"></script>
<script src="score.js"></script>
<script src="decryption/viginere.js"></script>
<script src="decryption/substitution.js"></script>
<script src="decryption/ceasar.js"></script>
<script type="module" src="main.js"></script>
<main>
<h1>Dekodierung</h1>
<form action="#">
<div class="form-item">
<p>Text</p>
<textarea name="text" id="text" rows="10" placeholder="Schreibe hier deinen Text rein"></textarea>
<select name="language" id="language">
<option value="deutsch">Deutsch</option>
<option value="englisch">Englisch</option>
</select>
</div>
<div class="controls">
<div class="menu-bar">
<div id="haeufigkeitsanalyse_menu_control" class="menu-tab">Häufigkeitsanalyse</div>
<div id="ceasar_menu_control" class="menu-tab">Cäsar</div>
<div id="viginere_menu_control" class="menu-tab">Vigenère</div>
<a href="https://github.com/Tom1432006/decryption/blob/main/README.md" target="_blank" id="info_menu_control">Info</a>
</div>
<div class="content_wrapper">
<div class="controls-tab" id="haeufigkeitsanalyse_controls">
<button id="submit_button" type="button">Analysieren</button>
<br>
<input type="text" id="from" placeholder="AB">
<button type="button" id="change_button">Buchstaben Tauschen</button>
<br>
<button type="button" id="copy_button">Geheimalphabet kopieren</button>
<br>
<input type="text" id="key">
<button type="button" id="import_button">Geheimalphabet Importieren</button>
<br>
<input type="text" id="changes_allowed" inputmode="numeric" placeholder="Tausche">
<input type="text" id="depth_search" inputmode="numeric" placeholder="Tiefe">
<button type="button" id="solve_button">Lösen</button>
</div>
<div class="controls-tab" id="ceasar_controls">
<button type="button" id="caesar_button">Verschieben</button>
</div>
<div class="controls-tab" id="viginere_controls">
<button type="button" id="viginere_load_text">Text Laden</button>
<input type="text" id="viginere_key" placeholder="key">
<button type="button" id="viginere_set_key">Einsetzen</button>
<button type="button" id="viginere_get_key_length">Länge herausfinden (Kasiski-Test)</button>
<button type="button" id="viginere_calculate_key">Key berechnen</button>
<button type="button" id="viginere_guess_key">Key herausfinden (Brute-Force)</button>
</div>
</div>
</div>
</form>
<div id="result"></div>
</main>
<footer>© <a href="http://tom.reinisch.net/" target="_blank">Tom Reinisch</a></footer>
</body>
</html>