Example: Diffie - Hellman   Define Public Values:
n =
g =

Both Alice and Bob each pick a private x and compute a public X = gx mod n

AliceBob
Alice chooses a Private Value
Private_A =
Bob chooses a Private Value
Private_B =
 
- or -
 
Alice computes Public Value
Public_A = 1 = mod ()
Bob computes Public Value
Public_B = 1 = mod ()
 
Alice and Bob exchange Public Values
Alice and Bob each compute Same Master Value
 
Alice computes Master Value 1 = 1 mod ()   Bob computes Master Value 1 = 1 mod ()

send suggestions to dkerr@mindspring.com


last updated 12-3-2007 by dek