Skip to content

Commit

Permalink
remove key & nonce note from C
Browse files Browse the repository at this point in the history
  • Loading branch information
motarekk authored Oct 13, 2023
1 parent e1ac8a2 commit 2c3f0fd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<option value="Ascon-XOFa">Ascon-XOFa</option>
</select>

<p>note: key & nonce must be entered in hexadecimal.</p>
<p id="note">note: key & nonce must be entered in hexadecimal.</p>

<!-- XoF -->
<div style="display: none;" id="xof_section">
Expand Down Expand Up @@ -111,6 +111,7 @@ <h4 style="text-decoration-line: underline;">Decrypt</h4>
var xof_section = document.getElementById("xof_section");
var encrypt_section = document.getElementById("encrypt_section");
var decrypt_section = document.getElementById("decrypt_section");
var note = document.getElementById("note");
var variant = document.getElementsByName('variants')[0].value;

function change_variant(variant){
Expand All @@ -119,10 +120,12 @@ <h4 style="text-decoration-line: underline;">Decrypt</h4>
xof_section.style.display = "block";
encrypt_section.style.display = "none";
decrypt_section.style.display = "none";
note.style.display = "none";
} else {
xof_section.style.display = "none";
encrypt_section.style.display = "block";
decrypt_section.style.display = "block";
note.style.display = "block";
}
}
</script>
Expand Down

0 comments on commit 2c3f0fd

Please sign in to comment.