From 7117a43a3f78324fa50345fae7e4640c8821928f Mon Sep 17 00:00:00 2001 From: Pavlos Papadopoulos <44439128+pavlos-p@users.noreply.github.com> Date: Fri, 25 Feb 2022 09:58:54 +0000 Subject: [PATCH] Update sample_ans.md --- unit05_key_exchange/lab/sample_ans.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/unit05_key_exchange/lab/sample_ans.md b/unit05_key_exchange/lab/sample_ans.md index ee8aee9..2fbfec3 100644 --- a/unit05_key_exchange/lab/sample_ans.md +++ b/unit05_key_exchange/lab/sample_ans.md @@ -13,16 +13,16 @@ Bob Select x=6, Alice selects y=9 Now calculate (using a calculator): -Bob’s A value (gx mod N): **9381** +Bob’s A value (gx mod N): **4850** -Alice’s B value (gy mod N): **1067** +Alice’s B value (gy mod N): **3614** ### A.2 Now they exchange the values. Next calculate the shared key: -Bob’s value (Bx mod N): **210** +Bob’s value (Bx mod N): **4868** -Alice’s value (AY mod N): **210** +Alice’s value (Ay mod N): **4868** Do they match? **[Yes]**