I am trying to get a grasp on Diffie-Hellman and would definitely appreciate any assistance as some pertinent areas are currently eluding me... LoL
OK.. Let's say we have a basic DH exchange taking place between to supercomputers.. Let's call them Burt and Clue..
Both Burt and Clue agree on prime number P and integer G (P - 1 mod P)
P = 9
G = 8
B = 2
C = 3
S = SECRET = 3???
Burt chooses a random number B < P
Clue chooses a random number C < P
Burt sends B^G (mod P) to Clue
Clue sends C^G (mod P) to Burt
~This essentially "hides" value G
(OK... THIS IS WHERE I AM UNCERTAIN)
Burt solves: S=G^CB=(G^C)^B (mod P)
Clue solves: S=G^BC=(G^B)^C (mod P)
S=G^CB= 8(2*3)= 48(mod P) = 3
S=G^BC= 8(3*2)= 48(mod P) = 3
Did I do this correctly? Any info or links that you know of or places to go for further study??? And I used Google calc to calculate the modulo but I am guessing the it is the lowest common denominator of the "pre-modded" secret?
B Haines
CCNA R&S, ETA FOI
OK.. Let's say we have a basic DH exchange taking place between to supercomputers.. Let's call them Burt and Clue..
Both Burt and Clue agree on prime number P and integer G (P - 1 mod P)
P = 9
G = 8
B = 2
C = 3
S = SECRET = 3???
Burt chooses a random number B < P
Clue chooses a random number C < P
Burt sends B^G (mod P) to Clue
Clue sends C^G (mod P) to Burt
~This essentially "hides" value G
(OK... THIS IS WHERE I AM UNCERTAIN)
Burt solves: S=G^CB=(G^C)^B (mod P)
Clue solves: S=G^BC=(G^B)^C (mod P)
S=G^CB= 8(2*3)= 48(mod P) = 3
S=G^BC= 8(3*2)= 48(mod P) = 3
Did I do this correctly? Any info or links that you know of or places to go for further study??? And I used Google calc to calculate the modulo but I am guessing the it is the lowest common denominator of the "pre-modded" secret?
B Haines
CCNA R&S, ETA FOI