Security Architecture

Which property of a cryptographic hash function lets it be used to verify that a file has not been altered?

Show the answer

Correct answerB. A changed file produces a different digest

AWhy not this: Hashing is one-way and uses no key, so a digest cannot be decrypted.

BWhy this is right: Even a tiny change in the input yields a different digest, which exposes tampering.

CWhy not this: Anyone can compute an unkeyed hash; restricting creation to a sender describes signatures or MACs.

DWhy not this: Hash output has a fixed length regardless of how large the input file is.

Any change to the input produces a different hash digest, so comparing digests reveals modification. Hashes are not decrypted with keys and have a fixed output length unrelated to the input size.