summaryrefslogtreecommitdiff
path: root/templates/key-commitment.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/key-commitment.html')
-rw-r--r--templates/key-commitment.html21
1 files changed, 6 insertions, 15 deletions
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
</pre>
- <etails>
+ <details>
<summary>
Attack outline.
</summary>
@@ -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"")</pre></details>
-<script>
-MathJax = {
- tex: {
- extensions: ["AMSmath.js", "AMSsymbols.js"]
- }
-};
-</script>
-<script id="MathJax-script" async
- src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js">
-</script>
+ <script id="MathJax-script" async src="/forbidden-salamanders/static/tex-chtml.js"></script>
</body>
</html>