Skip to content
This repository was archived by the owner on May 29, 2025. It is now read-only.

Commit 6a274f2

Browse files
Update index.html
Signed-off-by: qwerty-uiop-qaz <[email protected]>
1 parent 23c3df5 commit 6a274f2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

index.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,14 @@
175175
//use `finalHash` for decryption logic
176176

177177
const bigintciphertext = strToBigInt(ciphertext)
178+
179+
const bigintplaintext = bigintciphertext / finalHash
180+
181+
const plaintext = bigIntToString(bigintplaintext)
182+
183+
document.getElementById('plaintext').value = plaintext
184+
185+
showTabContent('tab1')
178186
}
179187
</script>
180188
</html>

0 commit comments

Comments
 (0)