summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorcyfraeviolae <cyfraeviolae>2022-08-28 03:52:18 -0400
committercyfraeviolae <cyfraeviolae>2022-08-28 03:52:18 -0400
commit4eb15188d00eb77c2d06e2e496fd1a89651e8754 (patch)
tree8c8326b797a097a6f3cf2141c271e36dcb3007d3 /templates
parent73a548841ed95499b8be2a50d1d27d3aa458d047 (diff)
fix j calc
Diffstat (limited to 'templates')
-rw-r--r--templates/key-commitment.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/key-commitment.html b/templates/key-commitment.html
index fa71262..2697275 100644
--- a/templates/key-commitment.html
+++ b/templates/key-commitment.html
@@ -252,7 +252,10 @@ go build -o /tmp/decrypt-aes-gcm /tmp/decrypt-aes-gcm.go
<p>
Below is the final structure of the polyglot ciphertext.
\[
- J' = 16 - (6 + J + \vert \textrm{JPEG} \vert + 4) \pmod{16}
+ j' = 16 - (6 + J + \vert \textrm{JPEG} \vert + 2 + 2) \pmod{16}
+ \]
+ \[
+ J' = j' + 16 + 14
\]
\[
\begin{array}{|c|c|}\hline