In this practice my teamates Vane and Rodolfo are Alice and Bob respectly, on this ocasion I will be Eve. These are the numbers they gave me:
P=7
g=3
X=3
Y=2
From this i used the following formulas to obtain x, y and K.
X=g^x%P
Y=g^y%P
K=X^y%P
K=Y^%P
References
http://es.wikipedia.org/wiki/Diffie-Hellman
The explanation is not the best possible. 7 pts nevertheless.
ResponderEliminar