From a5eadaa9a09823b9688839588cee5eb259400531 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Tue, 11 Jul 2023 00:17:59 +0200 Subject: fix wrong-parsed latex --- articles/2022-09-25-ductf-file-magic.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/articles/2022-09-25-ductf-file-magic.md b/articles/2022-09-25-ductf-file-magic.md index f4b55c9..f7db40f 100644 --- a/articles/2022-09-25-ductf-file-magic.md +++ b/articles/2022-09-25-ductf-file-magic.md @@ -99,11 +99,15 @@ the IV directly as follows: - $m$: first plaintext block - $c$: first ciphertext block -$$ c = AES(m \oplus IV) \\ +$$ + +c = AES(m \oplus IV) \\ AES^{-1}(c) = m \oplus IV \\ -AES^{-1}(c) \oplus m = IV $$ +AES^{-1}(c) \oplus m = IV + +$$ All blocks in ciphertext after the first are now "uncontrollable" because IV and plaintext are set. @@ -252,4 +256,5 @@ File::create("iv").unwrap().write_all(&iv).unwrap(); ``` I am also still looking for team mates for upcoming CTF events and would be -happy to hack together with you! Just [contact](https://metamuffin.org/contact) me. +happy to hack together with you! Just [contact](https://metamuffin.org/contact) +me. -- cgit v1.2.3-70-g09d2