🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← 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?

  1. A.6
  2. B.30
  3. C.5
  4. 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 →