summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcyfraeviolae <cyfraeviolae>2022-08-28 03:39:06 -0400
committercyfraeviolae <cyfraeviolae>2022-08-28 03:39:06 -0400
commit73a548841ed95499b8be2a50d1d27d3aa458d047 (patch)
tree585b26061b2ca4adf01bf7b4ff3c6323b3e15eb7
parent323051cdf9ad7f70a77085977270fb969d5b733a (diff)
rm arrows, fix 2nd comment len
-rw-r--r--templates/key-commitment.html9
1 files changed, 4 insertions, 5 deletions
diff --git a/templates/key-commitment.html b/templates/key-commitment.html
index a2b1b33..fa71262 100644
--- a/templates/key-commitment.html
+++ b/templates/key-commitment.html
@@ -220,13 +220,12 @@ go build -o /tmp/decrypt-aes-gcm /tmp/decrypt-aes-gcm.go
<p>
As explained before, we place the BMP bytes in the JPEG comment,
add padding to finish the comment, and add the JPEG bytes after the comment is over.
- Below we show the structure of the ciphertext. \(\downarrow\) indicates
- that this part of the ciphertext is the encryption of the BMP cells under \(k_2\), and similarly \(\uparrow\)
- indicates the encryption of the JPEG cells under \(k_1\).
+ Below we show the structure of the ciphertext. For the blank cells in the ciphertext row,
+ use either the encryption of the JPEG cell under \(k_1\) or the BMP cell under \(k_2\) as indicated.
\[
\begin{array}{|c|c|}\hline
\mathsf{JPEG} && & & \textrm{JPEG} & \mathtt{ffd9} \\
- C & C_H & \downarrow & \mathtt{00}^{J-\vert \textrm{BMP}\vert}& \uparrow & \uparrow\\
+ C & C_H & & \mathtt{00}^{J-\vert \textrm{BMP}\vert}& & \\
\mathsf{BMP} && \textrm{BMP} & & & \\\hline
\end{array}
\]
@@ -258,7 +257,7 @@ go build -o /tmp/decrypt-aes-gcm /tmp/decrypt-aes-gcm.go
\[
\begin{array}{|c|c|}\hline
\mathsf{JPEG} && & & \mathrm{JPEG} & \mathtt{fffe} & J' & & & & \mathtt{ffd9} \\
- C & C_{H} & \downarrow & \mathtt{00}^{J-\vert \textrm{BMP}\vert}& \uparrow & \uparrow & \uparrow &\mathtt{00}^{J'} & X & \mathtt{00}^{14}& \uparrow \\
+ C & C_{H} & & \mathtt{00}^{J-\vert \textrm{BMP}\vert}& & & &\mathtt{00}^{J'-30} & X & \mathtt{00}^{14}& \\
\mathsf{BMP} && \textrm{BMP} & & \\\hline
\end{array}
\]