mirror of
https://github.com/aljazceru/nutshell.git
synced 2025-12-21 19:14:19 +01:00
Update b_dhke.py
This commit is contained in:
@@ -27,7 +27,7 @@ return C, secret_message
|
||||
Bob:
|
||||
Y = hash_to_curve(secret_message)
|
||||
C == a*Y
|
||||
If true, C must have originated from Alice
|
||||
If true, C must have originated from Bob
|
||||
"""
|
||||
|
||||
import hashlib
|
||||
|
||||
Reference in New Issue
Block a user