medium
Single Answer
0

Mila wants to generate a unique digital fingerprint for a file, and needs to choose between a checksum and a hash. Which option should she choose and why should she choose it?

Answer Options

A

A hash, because it is unique to the file

B

A checksum, because it verifies the contents of the file

C

A hash, because it can be reversed to validate the file

D

A checksum, because it is less prone to collisions than a hash

Correct Answer: A

Explanation

Mila should select a hash because a hash is designed to be unique to each possible input. That means that multiple files could have the same checksum value, whereas a hashing algorithm will be unique for each file that it is run against.