summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-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}
\]