diff options
author | metamuffin <metamuffin@disroot.org> | 2023-07-11 00:17:59 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2023-07-11 00:17:59 +0200 |
commit | a5eadaa9a09823b9688839588cee5eb259400531 (patch) | |
tree | baeef1a2dfd44c4f861d43385095f318eecc0f80 | |
parent | 8cd873855397ec5303531e3de569060a6c47a3da (diff) | |
download | metamuffin-blog-a5eadaa9a09823b9688839588cee5eb259400531.tar metamuffin-blog-a5eadaa9a09823b9688839588cee5eb259400531.tar.bz2 metamuffin-blog-a5eadaa9a09823b9688839588cee5eb259400531.tar.zst |
fix wrong-parsed latex
-rw-r--r-- | articles/2022-09-25-ductf-file-magic.md | 11 |
1 files 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. |