commit 2f91036649975655ab35facddcc8fbd8db8a5d71
parent 872d91c86086fe7f8e01879b9cfd35b242610b3e
Author: Jared Tobin <jared@jtobin.io>
Date: Wed, 16 Aug 2023 16:45:40 -0230
Fix Markdown rendering quirk.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/s5.md b/docs/s5.md
@@ -212,8 +212,8 @@ This all yields the following table:
such that Alice and Bob will agree on the shared key with probability
3/4. Mallory also has to choose which shared key value he uses; if he
-uses 1, then the attack succeeds with probability 1/2, and if he uses `p
-- 1`, then it succeeds with probability 1/4.
+uses 1, then the attack succeeds with probability 1/2, and if he uses
+p - 1, then it succeeds with probability 1/4.
Here are the interleaved logs of a successful attack. Start mallory with
e.g. the `dhngmitm 1`, `dhngmitm p`, or `dhngmitm (p - 1)` protocol: