dec.html, enc.html: make output textarea read-only

This commit is contained in:
dogeystamp 2022-12-28 20:21:10 -05:00
parent 95be209339
commit 338c8ef371
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@
<label for="password">Password: </label>
<input id="password" type="password">
<button id="decrypt">Decrypt</button>
<textarea id="plaintext"></textarea>
<textarea id="plaintext" readonly></textarea>
<script>
document.getElementById("decrypt").addEventListener("click", dec);
</script>

View File

@ -15,7 +15,7 @@
<label for="password">Password: </label>
<input id="password" type="password">
<button id="encrypt">Encrypt</button>
<textarea id="ciphertext"></textarea>
<textarea id="ciphertext" readonly></textarea>
<script>
document.getElementById("encrypt").addEventListener("click", enc);
</script>