Hashes and integrity · 08 FAQ

Hashes and integrity: frequently asked questions

Short answers to the most common doubts about hash values, algorithms and the integrity of digital evidence.

Can a file be rebuilt from its hash value?

No. A hash function is one-way: the value does not contain the file and does not allow it to be recovered. That is why it can be shared without revealing the content.

If I rename a file, does the hash change?

No: the value depends on the content, not the name. It changes if even one byte of content is modified, for example by saving it again with another program.

Is MD5 still acceptable?

On its own it is not recommended for important evidence, because MD5 collisions can be constructed. It is fine alongside SHA-256, for example to compare with older acquisitions.

Can I compute the hash on a website?

Better not for evidence: it means uploading the file to a third-party server. Operating-system tools perform the same calculation locally.

Do two identical videos downloaded on different days have the same hash?

Only if the files are identical bit for bit. Platforms may re-encode videos or serve different versions: two downloads of the same content may therefore have different values without any tampering.

Does the hash prove a file’s date?

No. Linking a value to a date requires a timestamp or another reliable time reference.

↑