Cloud Data Security

Which properties must a cryptographic hash function have to be trusted for verifying the integrity of files stored in the cloud? (Choose four.)

Choose 4 answers

Show the answer

Correct answersA. Finding two different inputs with the same digest is computationally infeasibleB. Recovering the original input from its digest is computationally infeasibleC. Inputs of any size produce a fixed-length digestE. The same input always produces the same digest

AWhy this is right: Collision resistance stops an attacker from crafting an altered file with the same digest.

BWhy this is right: Preimage resistance means the digest cannot be reversed to reveal the original data.

CWhy this is right: A fixed-length output regardless of input size is a defining property of a hash function.

DWhy not this: This describes encryption; a hash is one-way and has no key to decrypt it.

EWhy this is right: Determinism lets you recompute the digest later and compare it with the stored value.

FWhy not this: A plain hash needs no key; adding a secret key makes it an HMAC, a different construction.

An integrity check works only if a hash is deterministic, fixed-length, one-way and collision resistant, so any change to the file changes the digest. Hashing is not encryption: a digest has no decryption key and cannot be reversed to restore the data. A plain hash also needs no secret key; a keyed digest is an HMAC.