A security team needs to detect whether a downloaded software installer was altered in transit. Which cryptographic technique BEST supports this check?
Show the answer
Correct answerB. Comparing a hash value of the file against the published one
AWhy not this: Quantum resistant algorithms resist future quantum attacks; they do not address integrity checking by themselves.
BWhy this is right: A hash digest changes if any bit of the file changes, so a match with the published value shows integrity.
CWhy not this: Public key encryption protects confidentiality for the key holder; it is not a method to verify file integrity.
DWhy not this: Symmetric encryption provides confidentiality; it does not give a comparable value to verify the file is unchanged.
A hash function produces a fixed-length digest that changes if the file changes, so matching the published digest shows integrity. Symmetric encryption is tempting, but it protects confidentiality and does not by itself show whether the file was altered.