From 6841c554cbbeb619ac9e1d40bb20da4b707818d2 Mon Sep 17 00:00:00 2001 From: cyfraeviolae Date: Sun, 28 Aug 2022 02:47:10 -0400 Subject: local mathjax --- templates/key-commitment.html | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) (limited to 'templates/key-commitment.html') diff --git a/templates/key-commitment.html b/templates/key-commitment.html index af1e656..7056541 100644 --- a/templates/key-commitment.html +++ b/templates/key-commitment.html @@ -109,7 +109,7 @@ go build -o /tmp/decrypt-aes-gcm /tmp/decrypt-aes-gcm.go < polyglot.enc /tmp/decrypt-aes-gcm 5c3cb198432b0903e58de9c9647bd241 4a4f5247454c424f52474553 > /tmp/polyglot-first.jpg < polyglot.enc /tmp/decrypt-aes-gcm df923ae8976230008a081d23205d7a4f 4a4f5247454c424f52474553 > /tmp/polyglot-second.bmp - +
Attack outline. @@ -225,8 +225,8 @@ go build -o /tmp/decrypt-aes-gcm /tmp/decrypt-aes-gcm.go indicates the encryption of the JPEG cells under \(k_1\). \[ \begin{array}{|c|c|}\hline - \mathsf{JPEG} && & \mathtt{00}^{J-\vert \textrm{BMP}\vert} & \textrm{JPEG} & \mathtt{ffd9} \\ - C & C_H & \downarrow & \uparrow & \uparrow & \uparrow\\ + \mathsf{JPEG} && & & \textrm{JPEG} & \mathtt{ffd9} \\ + C & C_H & \downarrow & \mathtt{00}^{J-\vert \textrm{BMP}\vert}& \uparrow & \uparrow\\ \mathsf{BMP} && \textrm{BMP} & & & \\\hline \end{array} \] @@ -257,8 +257,8 @@ go build -o /tmp/decrypt-aes-gcm /tmp/decrypt-aes-gcm.go \] \[ \begin{array}{|c|c|}\hline - \mathsf{JPEG} && & \mathtt{00}^{J-\vert \textrm{BMP}\vert} & \mathrm{JPEG} & \mathtt{fffe} & J' & \mathtt{00}^{J'} & & \mathtt{00}^{14} & \mathtt{ffd9} \\ - C & C_{H} & \downarrow & \uparrow & \uparrow & \uparrow & \uparrow & \uparrow & X & \uparrow & \uparrow \\ + \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 \\ \mathsf{BMP} && \textrm{BMP} & & \\\hline \end{array} \] @@ -276,15 +276,6 @@ with open('first.jpg', 'rb') as h: with open('second.bmp', 'rb') as h: bmp = h.read() c, mac = att_merge_jpg_bmp(jpg, bmp, aad=b"")
- - + -- cgit v1.2.3