Update b_dhke.py

This commit is contained in:
rlack
2022-12-30 13:07:17 +07:00
committed by GitHub
parent 065bcf83a5
commit 6d0ac86608

View File

@@ -27,7 +27,7 @@ return C, secret_message
Bob: Bob:
Y = hash_to_curve(secret_message) Y = hash_to_curve(secret_message)
C == a*Y C == a*Y
If true, C must have originated from Alice If true, C must have originated from Bob
""" """
import hashlib import hashlib