-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
60 lines (58 loc) · 3.03 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Шифрование и дешифрование</title>
<link rel="stylesheet" href="./style.css">
</head>
<body>
<div class="container">
<h1>Шифрование и дешифрока слов</h1>
<div class="form-action">
<div class="text-content">
<textarea maxlength="150" name="content-text" id="fromtext" class="fromtext"></textarea>
</div>
<div class="viborshifra">
<label for="method-shifra" class="shifr-name">Выберите шифр</label>
<select name="shifr-select" id="method-shifra">
<option class="no-deshif" value="Shifr_md5">md5</option>
<option class="select_key" value="Shifr_AES">AES-256</option>
<option class="select_key" value="Shifr_DES">DES</option>
<option class="no-deshif" value="Shifr_sha-1">sha-1</option>
<option class="no-deshif" value="Shifr_sha-256">sha-256</option>
<option class="no-deshif" value="Shifr_sha-512">sha-512</option>
<option class="select_language" value="atbash">шифр Атбащ</option>
<option class="select_language select_sdvig" value="chezar">Шифр Цезаря</option>
<option class="select_language" value="bekon">Шифр Бэкона</option>
<option class="select_language select_key" value="vizhener">Шифр Виженера</option>
<!-- <option class="no-deshif" value="Shifr_md5">Шифр md5</option>
<option class="no-deshif" value="8">Шифр md5</option> -->
</select>
</div>
<div class="select-acction">
<label for="acction" class="acction">Выберите действие</label>
<select name="acction" id="acction">
<option value="shifrovka">шифровка</option>
<option id="deshif" value="deshifrovanie" disabled="true">дешифровка</option>
</select>
</div>
<div class="language" id="language-container">
</div>
<div class="sdvig" id="sdvig-container">
<!-- <label for="sdvig_number" class="sdvig-text">Выберите шаг</label>
<input id="sdvig_number" class="sdvig-input" type="number" max="10" min="2"> -->
</div>
<div class="key" id="key_container">
<!-- <label for="key_str" class="key-text">Напишите ключ</label>
<input type="text" id="key_str" class="key-input" maxlength="20"> -->
</div>
<button id="zashifrovat" class="button">Отправить данные</button>
<br>
<span class="result_block" ><p class="result"></p></span>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.1.9-1/crypto-js.js"></script>
<script src="./Script.js"></script>
</body>
</html>