General Security Concepts

Two VPN peers have no preshared secret. Which algorithm lets them derive the same shared secret over the internet without ever transmitting it?

Show the answer

Correct answerA. Diffie-Hellman

AWhy this is right: Each side combines its private value with the other's public value to compute the same secret without sending it.

BWhy not this: AES-GCM encrypts data with a key the peers must already share, so it cannot establish one.

CWhy not this: A digital signature proves who signed data and its integrity but does not create a shared secret.

DWhy not this: Hashing produces a fixed-length digest and cannot make two parties agree on a secret.

Diffie-Hellman lets two parties each combine private values with exchanged public values to compute the same secret, so the secret never crosses the network. A digital signature proves origin but creates no shared secret.