← Quiz: How HTTPS Works: all 10 questions
Quiz: How HTTPS Works · Question 3 of 10
In a Diffie-Hellman exchange, p = 23, g = 5 and the browser's secret is a = 6. What value does the browser send?
In a Diffie-Hellman exchange, p = 23, g = 5 and the browser's secret is a = 6. What value does the browser send?
- A.6
- B.30
- C.5
- D.8
Answer & explanation
Correct answer: 8
A = 5⁶ mod 23 = 15625 mod 23 = 8.
Can you get the rest right without peeking?
Take the timed Quiz: How HTTPS Works quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →