Skip to content

Commit 8110619

Browse files
authored
Merge pull request #1 from KananPass/manghidev-patch-1
fix: update index.html for metadata
2 parents c3517bf + bb82ff4 commit 8110619

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

index.html

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
<head>
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<meta name="description" content="RSA Encryption and Decryption Tool using JavaScript and JSEncrypt. Generate RSA keys of various sizes, and encrypt and decrypt text with a responsive interface built with Tailwind CSS.">
7+
<meta name="keywords" content="RSA, Encryption, Decryption, JavaScript, JSEncrypt, Cryptography, Tailwind CSS">
68
<title>Encryption and Decryption with JSEncrypt</title>
79
<script src="https://cdnjs.cloudflare.com/ajax/libs/jsencrypt/3.3.2/jsencrypt.min.js"></script>
810
<script src="https://cdn.tailwindcss.com"></script>
@@ -25,31 +27,31 @@ <h2 class="text-2xl font-bold mb-4 text-center">Encryption and Decryption</h2>
2527
<!-- Keys -->
2628
<div class="col-span-1 md:col-span-3 mb-4">
2729
<label for="privkey" class="block text-gray-700 font-medium mb-2">Private Key:</label>
28-
<textarea id="privkey" rows="5" class="w-full px-3 py-2 border rounded focus:outline-none focus:ring focus:border-blue-300"></textarea>
30+
<textarea id="privkey" rows="5" class="w-full px-3 py-2 border border-gray-300 rounded focus:outline-none focus:ring focus:ring-blue-500 focus:border-blue-500"></textarea>
2931
</div>
3032

3133
<div class="col-span-1 md:col-span-3 mb-4">
3234
<label for="pubkey" class="block text-gray-700 font-medium mb-2">Public Key:</label>
33-
<textarea id="pubkey" rows="5" class="w-full px-3 py-2 border rounded focus:outline-none focus:ring focus:border-blue-300"></textarea>
35+
<textarea id="pubkey" rows="5" class="w-full px-3 py-2 border border-gray-300 rounded focus:outline-none focus:ring focus:ring-blue-500 focus:border-blue-500"></textarea>
3436
</div>
3537

3638
<!-- Text to Encrypt and Encrypted Text -->
3739
<div class="col-span-1 md:col-span-3 mb-4">
3840
<label for="input" class="block text-gray-700 font-medium mb-2">Text to Encrypt:</label>
39-
<textarea id="input" rows="3" class="w-full px-3 py-2 border rounded focus:outline-none focus:ring focus:border-blue-300"></textarea>
41+
<textarea id="input" rows="3" class="w-full px-3 py-2 border border-gray-300 rounded focus:outline-none focus:ring focus:ring-blue-500 focus:border-blue-500"></textarea>
4042
</div>
4143

4244
<div class="col-span-1 md:col-span-3 mb-4">
4345
<label for="crypted" class="block text-gray-700 font-medium mb-2">Encrypted Text:</label>
44-
<textarea id="crypted" rows="3" class="w-full px-3 py-2 border rounded focus:outline-none focus:ring focus:border-blue-300"></textarea>
46+
<textarea id="crypted" rows="3" class="w-full px-3 py-2 border border-gray-300 rounded focus:outline-none focus:ring focus:ring-blue-500 focus:border-blue-500"></textarea>
4547
</div>
4648

4749
<!-- Button to Generate Keys -->
4850
<div class="col-span-1 md:col-span-6 mb-4">
4951
<div class="relative">
5052
<button id="generate" class="relative w-full bg-green-500 text-white py-2 px-4 rounded hover:bg-green-600 focus:outline-none" disabled>
5153
Generate Keys
52-
<div id="loader" class="absolute inset-0 flex items-center justify-center rounded-lg hidden">
54+
<div id="loader" class="absolute inset-0 flex items-center justify-center hidden">
5355
<svg class="animate-ping h-6 w-6 text-indigo-600" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
5456
<circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"></circle>
5557
<path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 1 1 16 0 8 8 0 0 1-16 0z"></path>

0 commit comments

Comments
 (0)