Encryption-Demo / index.html
Hev832's picture
Update index.html
c6925b9 verified
raw
history blame contribute delete
955 Bytes
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Encryption Demo</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<h1>Encryption Demo</h1>
<textarea id="inputText" placeholder="Enter text to encrypt..."></textarea>
<div>
<label for="encryptionMethod">Select Encryption Method:</label>
<select id="encryptionMethod">
<option value="caesar">Caesar Cipher</option>
<option value="vigenere">Vigenère Cipher</option>
<option value="aes">AES Encryption</option>
</select>
</div>
<button onclick="encryptText()">Encrypt</button>
<h2>Encrypted Text:</h2>
<textarea id="outputText" readonly></textarea>
</div>
<script src="script.js"></script>
</body>
</html>