nerdexam
Cisco

210-250 · Question #187

Which one of the following parts of the Diffie-Hellman calculation is an arbitrary item that is agreed upon by both parties before any mathematical calculations?

The correct answer is A. prime number (p). In Diffie-Hellman key exchange, the prime number p is a publicly agreed-upon parameter that both parties establish before performing any calculations.

Security Technologies

Question

Which one of the following parts of the Diffie-Hellman calculation is an arbitrary item that is agreed upon by both parties before any mathematical calculations?

Options

  • Aprime number (p)
  • Bsecret key (a)
  • Cpublic key (g)
  • Dshared key (s)

How the community answered

(43 responses)
  • A
    93% (40)
  • B
    5% (2)
  • C
    2% (1)

Why each option

In Diffie-Hellman key exchange, the prime number p is a publicly agreed-upon parameter that both parties establish before performing any calculations.

Aprime number (p)Correct

The prime number p serves as the shared modulus in the Diffie-Hellman mathematical framework and must be agreed upon by both parties before any private values or calculations are introduced. It is a publicly known, arbitrary large prime that anchors all subsequent modular arithmetic in the key exchange, as defined in RFC 2631.

Bsecret key (a)

The secret key 'a' is each party's independently chosen private value and is never shared or agreed upon between the two parties.

Cpublic key (g)

In standard DH notation, g is the generator (primitive root), not a public key - and while it is also a shared parameter, the question specifically identifies the prime modulus p as the arbitrary agreed-upon item in most DH descriptions.

Dshared key (s)

The shared key 's' is the final computed output of the Diffie-Hellman exchange, derived after all calculations are complete, not something agreed upon beforehand.

Concept tested: Diffie-Hellman key exchange shared prime parameter

Source: https://www.rfc-editor.org/rfc/rfc2631

Topics

#Diffie-Hellman#key exchange#prime number#cryptographic parameters

Community Discussion

No community discussion yet for this question.

Full 210-250 Practice