Using the Diffie-Hellmen example calculate the Public and Secret Keys for the 2
ID: 3534152 • Letter: U
Question
Using the Diffie-Hellmen example calculate the Public and Secret Keys for the 2 exercises. Use the youtube video if needed. Public Key Integer raised to the power of the Random Secret mod the prime number Integer ^ Random secret mod prime Use the scientific setting on the calculator. Secret Key Other host public key raised to the power of Random Secret mod Prime Host 1 Host 2 Prime 19 Prime 19 Integer 8 Integer 8 Random Secret 7 Random Secret 12 Public key Public Key Secret Key Secret Key Host 1 Host 2 Prime 11 Prime 11 Integer 4 Integer 4 Random Secret 5 Random Secret 9 Public key Public Key Secret Key Secret Key Using the Diffie-Hellmen example calculate the Public and Secret Keys for the 2 exercises. Use the youtube video if needed. Public Key Integer raised to the power of the Random Secret mod the prime number Integer ^ Random secret mod prime Use the scientific setting on the calculator. Secret Key Other host public key raised to the power of Random Secret mod Prime Host 1 Host 2 Prime 19 Prime 19 Integer 8 Integer 8 Random Secret 7 Random Secret 12 Public key Public Key Secret Key Secret Key Host 1 Host 2 Prime 11 Prime 11 Integer 4 Integer 4 Random Secret 5 Random Secret 9 Public key Public Key Secret Key Secret KeyExplanation / Answer
EXERCISE 1
HOST 1:
PUB KEY:8
PRI KEY:7
HOST 2:
PUB KEY:1
PRI KEY:12
a = 7 A = ga mod p = 87 mod 19 = 8 b = 12 B = gb mod p = 812 mod 19 = 1 Alice and Bob exchange A and B in view of Carl keya = B a mod p = 17 mod 19 = 1keyb = A B mod p = 812 mod 19 = 1
EX-2
HOST 1:
PUB KEY:1
PRI KEY:5
HOST 2:
PUB KEY:3
PRI KEY:9
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.