From 6a5984cecb2879d437656b65b3d094e5a3cba29f Mon Sep 17 00:00:00 2001 From: Bedirhan Alp Arslan <89816332+balpars@users.noreply.github.com> Date: Mon, 4 Mar 2024 16:46:09 +0300 Subject: [PATCH] Update diffie-hellman-key-exchange.md --- src/content/blog/diffie-hellman-key-exchange.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/content/blog/diffie-hellman-key-exchange.md b/src/content/blog/diffie-hellman-key-exchange.md index d3c4267..88096d4 100644 --- a/src/content/blog/diffie-hellman-key-exchange.md +++ b/src/content/blog/diffie-hellman-key-exchange.md @@ -118,7 +118,7 @@ Bob calculates g to the power of b mod n, generating bg. ``` ag = g**a mod n -bg = g**b mob b +bg = g**b mob n ``` Results will be less than n, from ag and bg, it's impossible to know what a or b was. @@ -159,4 +159,4 @@ I will cover these problems, especially the man-in-the-middle aspect of key exch [Key Exchange Problems - Computerphile](https://www.youtube.com/watch?v=vsXMMT2CqqE) -[Diffie–Hellman key exchange - Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange) \ No newline at end of file +[Diffie–Hellman key exchange - Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)