diff options
author | metamuffin <metamuffin@disroot.org> | 2022-09-25 18:29:12 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2022-09-25 18:29:12 +0200 |
commit | a80b5c677417cdbc17df3109ef9d12afe79973cc (patch) | |
tree | c912e8990f218012d3f04034858d5056514e3992 | |
parent | 136acb9049ff56b130a6071e403ffbc8b39f19b6 (diff) | |
download | metamuffin-blog-a80b5c677417cdbc17df3109ef9d12afe79973cc.tar metamuffin-blog-a80b5c677417cdbc17df3109ef9d12afe79973cc.tar.bz2 metamuffin-blog-a80b5c677417cdbc17df3109ef9d12afe79973cc.tar.zst |
latex formatting
-rw-r--r-- | content/articles/2022-09-25-ductf-file-magic.md | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/content/articles/2022-09-25-ductf-file-magic.md b/content/articles/2022-09-25-ductf-file-magic.md index 4a0ce45..42d6429 100644 --- a/content/articles/2022-09-25-ductf-file-magic.md +++ b/content/articles/2022-09-25-ductf-file-magic.md @@ -95,8 +95,11 @@ the IV directly as follows: - $m$: first plaintext block - $c$: first ciphertext block -$$ c = AES(m \oplus IV) \\ AES^{-1}(c) = m \oplus IV \\ AES^{-1}(c) \oplus m = -IV \\ $$ +$$ c = AES(m \oplus IV) \\ + +AES^{-1}(c) = m \oplus IV \\ + +AES^{-1}(c) \oplus m = IV \\ $$ All blocks after the first are now "uncontrollable" as ciphertext because IV and plaintext are set. |