From 73a548841ed95499b8be2a50d1d27d3aa458d047 Mon Sep 17 00:00:00 2001 From: cyfraeviolae Date: Sun, 28 Aug 2022 03:39:06 -0400 Subject: rm arrows, fix 2nd comment len --- templates/key-commitment.html | 9 ++++----- 1 file 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

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} \] -- cgit v1.2.3