Skip to content

Commit

Permalink
small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidSM100 committed Aug 29, 2023
1 parent 18a19d0 commit 5bf2c25
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 8 deletions.
29 changes: 29 additions & 0 deletions assets/aes/aes.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 7 additions & 8 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,9 @@
<!--App CSS-->
<link rel="stylesheet" href="assets/main.css">

<!--Lang JS-->
<script src="assets/lang/lang.js"></script>

<!--JS to add back button when using with Delta-Shorcuts-->
<script src="/assets/ds.js"></script>

</head>

<body align="middle">
Expand All @@ -20,7 +18,7 @@ <h2>CryptoText</h2>

<div id="passwordDiv" class="inline">

<input type="password" id="password" oninput="keepPassword()">
<input placeholder="Encryption key" type="password" id="password" oninput="keepPassword()">

<div>

Expand All @@ -39,7 +37,7 @@ <h2>CryptoText</h2>

<div class="inline texts">

<textarea id="text"></textarea>
<textarea placeholder="Text" id="text"></textarea>

<div class="column">

Expand All @@ -57,7 +55,7 @@ <h2>CryptoText</h2>

<div class="inline texts">

<textarea id="result"></textarea>
<textarea placeholder="Encrypted text" id="result"></textarea>

<div class="column">

Expand All @@ -72,13 +70,14 @@ <h2>CryptoText</h2>
</div>

<br>
<button id="encrypt" onclick="encrypt()"></button>

<button id="encrypt" onclick="encrypt()">Encrypt/Decrypt</button>

<!--App JS-->
<script src="assets/main.js"></script>

<!--Module to Encrypt/Decrypt-->
<script src="assets/aes.js"></script>
<script src="assets/aes/aes.js"></script>

</body>

Expand Down

0 comments on commit 5bf2c25

Please sign in to comment.