-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocumentation.html
More file actions
216 lines (201 loc) · 7.69 KB
/
documentation.html
File metadata and controls
216 lines (201 loc) · 7.69 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>QryptoCore Documentation</title>
<style>
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
line-height: 1.6;
margin: 0;
padding: 20px;
background-color: #121212;
color: #e0e0e0;
}
.container {
max-width: 1100px;
margin: 0 auto;
background-color: #1e1e1e;
padding: 30px;
border-radius: 8px;
box-shadow: 0 0 20px rgba(0, 180, 255, 0.1);
position: relative;
}
h1, h2, h3 {
color: #00b4ff;
}
h1 {
border-bottom: 2px solid #00b4ff;
padding-bottom: 10px;
display: flex;
align-items: center;
}
h1 img {
margin-right: 15px;
}
code {
background-color: #2d2d2d;
padding: 2px 5px;
border-radius: 3px;
font-family: Consolas, monospace;
}
pre {
background-color: #252525;
padding: 15px;
border-radius: 5px;
overflow-x: auto;
}
.author-info {
background-color: #1a1a1a;
padding: 15px;
border-radius: 5px;
margin-top: 30px;
border-left: 4px solid #00b4ff;
}
.warning {
background-color: #332222;
border-left: 4px solid #F44336;
padding: 15px;
border-radius: 5px;
margin: 20px 0;
}
.feature-list {
columns: 2;
column-gap: 30px;
}
.feature-list li {
margin-bottom: 10px;
}
.lock-icon {
position: absolute;
top: 20px;
right: 20px;
color: #4CAF50;
font-size: 24px;
}
</style>
<script>
// Protection against modifications
document.addEventListener('DOMContentLoaded', function() {
// Disable right-click
document.addEventListener('contextmenu', function(e) {
e.preventDefault();
alert('Content is protected');
});
// Disable text selection
document.addEventListener('selectstart', function(e) {
e.preventDefault();
});
// Disable Ctrl keys
document.addEventListener('keydown', function(e) {
if (e.ctrlKey && (e.keyCode === 67 || e.keyCode === 86 || e.keyCode === 85 || e.keyCode === 117)) {
e.preventDefault();
alert('Content is protected');
}
});
});
</script>
</head>
<body>
<div class="container">
<div class="lock-icon">🔒</div>
<h1>
<svg width="32" height="32" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg">
<circle cx="16" cy="16" r="15" fill="#00b4ff" stroke="white"/>
<text x="12" y="22" fill="white" font-family="Arial" font-size="16" font-weight="bold">Q</text>
</svg>
QryptoCore Documentation
</h1>
<h2>Overview</h2>
<p>QryptoCore is a comprehensive encryption/decryption tool that supports multiple classical and modern cipher algorithms. The application provides a user-friendly interface for securing sensitive information using various cryptographic techniques.</p>
<div class="warning">
<strong>Important:</strong> This documentation file is protected against modifications. Any attempt to edit or copy content will be prevented.
</div>
<h2>Features</h2>
<ul class="feature-list">
<li>Multiple cipher algorithms supported</li>
<li>Modern GUI with theme customization</li>
<li>Encryption/decryption history tracking</li>
<li>File operations (open/save)</li>
<li>Key generation for supported ciphers</li>
<li>Responsive design with adjustable font sizes</li>
<li>Three visual themes (Dark, Light, Tech)</li>
<li>Splash screen on startup</li>
<li>Status bar with operation feedback</li>
</ul>
<h2>Supported Ciphers</h2>
<p>QryptoCore implements the following encryption algorithms:</p>
<h3>Symmetric Key Ciphers</h3>
<ul>
<li><strong>AES</strong> (Advanced Encryption Standard) - 256-bit key</li>
<li><strong>DES3</strong> (Triple Data Encryption Standard) - 168-bit key</li>
</ul>
<h3>Classical Ciphers</h3>
<ul>
<li><strong>Caesar Cipher</strong> - Simple substitution cipher</li>
<li><strong>Vigenère Cipher</strong> - Polyalphabetic substitution</li>
<li><strong>One-Time Pad</strong> - Unbreakable when used correctly</li>
<li><strong>Atbash Cipher</strong> - Hebrew substitution cipher</li>
<li><strong>Rail Fence Cipher</strong> - Transposition cipher</li>
</ul>
<h2>Usage</h2>
<p>To use QryptoCore:</p>
<ol>
<li>Select the appropriate tab (Encrypt/Decrypt)</li>
<li>Enter your text or load from a file</li>
<li>Select the cipher algorithm</li>
<li>Enter or generate an encryption key</li>
<li>Click the Encrypt/Decrypt button</li>
<li>View results and optionally save to file</li>
</ol>
<h2>Technical Details</h2>
<p>The application is built with:</p>
<ul>
<li>Python 3.x</li>
<li>Tkinter for the GUI</li>
<li>PyCryptodome for cryptographic functions</li>
<li>Pillow for image handling</li>
</ul>
<h3>Key Generation</h3>
<p>Keys are generated differently for each cipher:</p>
<pre>
- AES: 32-byte random key (Base64 encoded)
- DES3: 24-byte random key (Base64 encoded)
- Caesar: Random integer between 1-25
- Vigenère/OTP: Random 16-character lowercase string
- Atbash/Rail Fence: No key required</pre>
<div class="author-info">
<h3>Developer Information</h3>
<p><strong>Name:</strong> Akrash Noor</p>
<p><strong>Contact:</strong> akrashnoor2580@gmail.com</p>
<p><strong>Version:</strong> 1.1.5</p>
<p><strong>Date:</strong> 22/07/2025</p>
<p><strong>License:</strong> Proprietary</p>
<p><strong>Copyright:</strong> © 2025 QryptoCore. All rights reserved.</p>
</div>
</div>
<script>
// Additional protection
document.onkeydown = function(e) {
if (e.keyCode == 123) { // F12
return false;
}
if (e.ctrlKey && e.shiftKey && e.keyCode == 73) { // Ctrl+Shift+I
return false;
}
if (e.ctrlKey && e.shiftKey && e.keyCode == 74) { // Ctrl+Shift+J
return false;
}
if (e.ctrlKey && e.keyCode == 85) { // Ctrl+U
return false;
}
};
// Prevent saving
window.addEventListener('beforeunload', function(e) {
e.preventDefault();
e.returnValue = '';
});
</script>
</body>
</html>