Cryptography
Which mechanism lets a recipient verify that a message came from a specific sender and was not altered in transit?
Show the answer
Correct answerB. Digital signature
AWhy not this: A hash with no key can detect change, but anyone can recompute it, so it proves nothing about the sender.
BWhy this is right: The signature is tied to the sender's private key and the message content, proving origin and integrity.
CWhy not this: Key agreement establishes a shared secret between parties; it does not authenticate a message.
DWhy not this: Encryption alone provides confidentiality; it does not prove who sent the message or that it is unmodified.
A digital signature is created with the sender's private key over a hash of the message, giving integrity and authenticity (and non-repudiation). A plain hash shows alteration only, because anyone can recompute it.