Skip to content

Commit 93c7ac0

Browse files
committed
Add documentation
1 parent bb987c4 commit 93c7ac0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ciphers/diffie_hellman.py

+6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
"""
2+
Diffie-Hellman is a cryptographic protocol that allows two parties to
3+
securely share a secret over an insecure channel without needing a previously
4+
shared key.
5+
6+
Its strength is based on the difficulty of solving the discrete logarithm.
7+
28
https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange
39
"""
410

0 commit comments

Comments
 (0)