General Security Concepts

Two systems share no prior secret and must agree on a session key over an untrusted network without ever sending the key. Which mechanism does this?

Show the answer

Correct answerC. Diffie-Hellman

AWhy not this: It needs a secret both sides already hold, which the scenario rules out.

BWhy not this: It encrypts stored database files and plays no role in negotiating keys over a network.

CWhy this is right: Both sides derive the same shared secret from public values, so the key is never transmitted.

DWhy not this: Hashing creates a fixed-length digest and cannot establish a shared key between parties.

Diffie-Hellman lets both parties derive the same secret from exchanged public values, so the key never crosses the network. AES with a pre-shared key needs a secret already shared, which these systems lack.