Hashes and integrity: value in court
How the hash value meets the requirement to preserve original data and prevent their alteration, and its limits before a judge.
Since Law 48/2008 the Italian code of criminal procedure requires, in examinations of computer data, technical measures ensuring the preservation of the original data and preventing their alteration, and their duplication onto suitable media with a procedure guaranteeing the copy’s conformity with the original. The hash value is the tool used in practice to demonstrate that conformity.
What the hash proves and what it does not
| The hash value proves | The hash value does not prove |
|---|---|
| That the copy is identical to the acquired original | That the original was authentic before acquisition |
| That the file has not changed since the computation | Who created or modified the file |
| That two files are equal | When the file was created, without a timestamp |
In civil proceedings
In civil cases too, where digital evidence is often produced by the parties, a list of hash values attached to the filing helps prevent disputes about whether what was filed matches what the expert analysed.
Hashes and integrity: a case study
A dispute over a video filed in a lawsuit: how hash values settle the question of whether the copies match.
The pages of this topic
Back to the overviewHashes and integrity: how it works
The properties that make a hash function suitable for forensic use and why MD5 and SHA-1 are no longer enough on their own.
Hashes and integrity: the step-by-step procedure
How hash values are computed, documented and verified during a forensic acquisition and in the later stages.
Hashes and integrity: the tools
From commands built into operating systems to forensic software: what is used to compute and verify hash values.
Hashes and integrity: pitfalls to avoid
Values computed too late, weak algorithms, the wrong files: the mistakes that take away the value of the hash seal.
Hashes and integrity: the checklist
The essential checks for using hash values correctly during an acquisition and in the later stages.
Hashes and integrity: frequently asked questions
Short answers to the most common doubts about hash values, algorithms and the integrity of digital evidence.