What is a hash value?
A hash value is a short fixed-length fingerprint made from data by a hash function. If even one bit of the data changes, the hash changes, so hashes...
We protect the original with write blocking, copy it bit by bit, compare hash values of the original and copy, and keep notes and custody records of every step.
Integrity means the evidence is complete and unchanged since collection. You cannot prove it with one trick. Several controls work together, and each covers a different risk.
Together these controls give a reader reasons to trust the evidence.
Calculate a hash of the source when you acquire it and a hash of the image after. Compare them. Store both values in your notes. Later, hash the image again before analysis. If the value is still the same, the image was not altered while stored.
NIST SP 800-86 says to use message digests of the original and copy and compare them.
Some sources cannot stay unchanged, such as a live system or a phone that is on. In these cases you reduce changes, record what you did and explain the effect in your report.
| Control | Risk it reduces |
|---|---|
| Write blocker | Changes to the original during connection |
| Hash comparison | Errors or changes in the copy |
| Custody record | Doubts about who handled it |
| Notes and logs | Doubts about what was done |
After imaging a drive, the examiner records the source and image SHA-256 values in the case notes. Three weeks later the image is hashed again before analysis. The values match, so the image has not changed in storage.
Hash the source and the image with the same algorithm and compare. Equal values show the data matches.
No. It only shows the copy matches the source at the time of hashing. Write blocking and notes show the source was protected.
Written in our own words from public forensic training material and standards. Last reviewed 24 Nov 2026. Procedures and laws differ by country and agency. Follow your own lab's procedure.