General Security Concepts

An administrator publishes a SHA-256 value beside a software installer on a download page. What can a user confirm by computing the hash of the downloaded file and comparing it to the published value?

Show the answer

Correct answerD. The file was not altered after the published value was generated

AWhy not this: Authorship needs a digital signature; anyone can publish a hash of any file.

BWhy not this: Hashing is one-way and does not encrypt; transport encryption is a separate function.

CWhy not this: A matching hash says nothing about malicious content; the vendor's file could itself be infected.

DWhy this is right: A matching digest means the content is bit-for-bit unchanged, which is what hashing verifies.

A hash is a fixed-length digest of the file's contents, so a matching value shows the file is unchanged since the digest was made (integrity). It does not prove who created the file; that needs a digital signature, and a hash alone cannot be tied to an author.