Diffie-Hellman Example
Party 1 and 2 exchange P and Q publicly.
Party 1 computes A* = QA mod(P) for secret A (known only to itself) and Party 2 computes B* = QB mod(P) for secret B. Then they exchange A* and B*.
The Secret Key is computed by each:
DHS = (B*)A mod (P)
DHS = (A*)B mod (P)
Previous slide
Next slide
Back to first slide
View graphic version