From 93c7ac0116508475e452e2027d700f0648b6f5d6 Mon Sep 17 00:00:00 2001 From: Isidro Arias Date: Thu, 30 Jan 2025 14:11:44 +0100 Subject: [PATCH] Add documentation --- ciphers/diffie_hellman.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ciphers/diffie_hellman.py b/ciphers/diffie_hellman.py index 395d98ec6e60..e4ec12a1977b 100644 --- a/ciphers/diffie_hellman.py +++ b/ciphers/diffie_hellman.py @@ -1,4 +1,10 @@ """ +Diffie-Hellman is a cryptographic protocol that allows two parties to +securely share a secret over an insecure channel without needing a previously +shared key. + +Its strength is based on the difficulty of solving the discrete logarithm. + https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange """