Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Hardman <[email protected]>
  • Loading branch information
dhh1128 committed Sep 7, 2024
1 parent ddbdd38 commit 5257e78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions form.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
return Array.from(new Uint8Array(bytes)).map(b => b.toString(16).padStart(2, '0')).join('');
}
function reset() {
console.writeText("reset");
console.log("reset");
const encoder = new TextEncoder();
const utf8Bytes = encoder.encode(el('intext').value);
el('intextlen').textContent = utf8Bytes.length + ' bytes';
Expand All @@ -26,7 +26,7 @@
el('sha256').value = '';
}
async function cqt() {
console.writeText("cqt");
console.log("cqt");
const canonical = algorithm_1_14(el('intext').value);
el('outtextlen').textContent = canonical.length + ' bytes';
const decoder = new TextDecoder('utf-8');
Expand Down

0 comments on commit 5257e78

Please sign in to comment.