Diffie-Hellman vs RSA Key Establishment Algorithms
Short answer
B DH is an asymmetric key establishment algorithm intended to output symmetric keys.
Question
Key Takeaways
The core trap is confusing the nature of the algorithm (asymmetric) with the nature of the resulting key (symmetric). Students often misclassify DH as symmetric because it produces a shared secret, or misclassify RSA's output.
This question tests the fundamental distinction between Diffie-Hellman and RSA algorithms in cryptography. It establishes that DH is an asymmetric algorithm used to establish symmetric keys, while RSA is an asymmetric cryptosystem primarily for encryption or signing.
Common mistake: Many candidates select Option D, believing RSA is an asymmetric algorithm that outputs symmetric keys. This is incorrect because RSA keys themselves are asymmetric (public/private pairs), not symmetric.
Expert Analysis
Why the Answer Is Correct
Option B is correct because Diffie-Hellman (DH) is fundamentally an asymmetric key agreement protocol. Its purpose is to allow two parties to generate a shared secret over an insecure channel. This shared secret is a symmetric key, which is then typically used with symmetric ciphers like AES for bulk data encryption. Therefore, DH is an asymmetric algorithm intended to output symmetric keys.
Why the Other Options Are Wrong
Option A is incorrect because RSA is not a symmetric algorithm; it is asymmetric. Furthermore, RSA does not "output" asymmetric keys in the context of establishment; it uses them. Option C is wrong because DH is not a symmetric algorithm; the exchange mechanism relies on public/private key mathematics. Option D is incorrect because while RSA is an asymmetric algorithm, it does not establish symmetric keys directly as its primary function in this context; it encrypts data or signs hashes using asymmetric keys. The phrase "intended to output symmetric keys" applies to the result of the DH exchange, not RSA operations.
Community Comment Notes
Community consensus strongly favors Option B. Users highlight that DH generates a shared secret (symmetric key) despite being an asymmetric protocol. Comments clarify that RSA is a cryptosystem using asymmetric keys, making options suggesting it outputs symmetric keys misleading or incorrect in this specific framing. One commenter noted that DH is often confused due to its output, but the algorithmic classification remains asymmetric.
Exam Strategy
When analyzing cryptographic algorithms, always separate the 'algorithm type' (how keys are managed) from the 'key type' (what is produced/used). Remember: DH = Asymmetric Algorithm -> Symmetric Key. RSA = Asymmetric Algorithm -> Asymmetric Keys (for encryption/signing).
Frequently Asked Questions
Why is DH called asymmetric if it creates a symmetric key?
Can RSA be used to establish symmetric keys?
Discussion 11 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 11
-
Vlad_Is_Love_ua 👍 3 Answered BAnswer is B. RSA is not algorithm, it's cryptosystem. Meanwhile, DH is asymmetric algorithm to generate key for symmetric communication.
-
fukumoto0925 👍 3It is actually B*
-
sull3y 👍 2D. Diffie-Hellman (DH) is a key agreement protocol that enables two parties to establish a shared secret key over an insecure communication channel. It is considered a key-establishment or key-agreement algorithm. RSA, on the other hand, is a public-key encryption algorithm that is often used to encrypt and digitally sign data. It is considered an asymmetric algorithm, as it uses two different keys, one for encryption and one for decryption. It is not intended to output symmetric keys, but it is often used to encrypt symmetric keys and then exchange them securely
-
CCNP21 👍 2 Answered BDiffie Hellman uses a private-public key pair to establish a shared secret, typically a symmetric key. DH is not a symmetric algorithm – it is an asymmetric algorithm used to establish a shared secret for a symmetric key algorithm. https://doubleoctopus.com/security-wiki/encryption-and-cryptography/diffie-hellman-algorithm/
-
fukumoto0925 👍 2It is actually . Read th whole answer (RSA is an asymmetric key establishment algorithm intended to output symmetric keys.). RSA keys are ASYMMETRIC, so that is the reason why it is not D
Show 6 more comments
-
NoUserName1234 👍 2I would go for 'B': https://crypto.stackexchange.com/questions/42180/whats-the-difference-between-rsa-and-diffie-hellman
-
b7f3562 👍 1 Answered BAnswer is B. Omar Santos SCOR Official Cert pg 220 The interesting thing about DH is that although the algorithm itself is asymmetric, the keys generated by the exchange are symmetric keys that can then be used with symmetric algorithms such as Triple Digital Encryption Standard (3DES) and Advanced Encryption Standard (AES).
-
Demon_Queen_Velverosa 👍 1Don't get confused by these two people. The answer is B as that is what DH is. yet D gets the asymmetric correct, these two did not read the part at the end of d that says it established symmetric keys
-
XBfoundX 👍 1 Answered BRSA cannot be choosen, because it provide public and private key pair, DH provide in the end a symmetric key, so the proper answer is B.
-
Ed1976 👍 1 Answered DRSA is Asymetric Alg.
-
diverjim64 👍 1 Answered BOCG p. 86
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.