Skip to content

Cryptographic Hash (MD5/SHA-256)

Definition

A fixed-length digest computed from the contents of a file or disk image. Used to verify that a forensic copy is identical to the source: if both hashes match, the copy has not been altered. SHA-256 is the current standard; MD5 is still reported for legacy compatibility but should not be used alone.

Output
Fixed-length digest of a file or disk image
Current standard
SHA-256
Legacy algorithm
MD5, not recommended alone
Forensic use
Verifying a forensic copy matches the source

Common questions

Why is MD5 still reported at all if it should not be relied on alone?+

MD5 has known collision weaknesses that mean two different inputs can in principle produce the same hash, but it remains widely used in legacy tools and reports, so examiners often record it alongside SHA-256 for continuity and compatibility with older case records rather than as the sole integrity check.

What does a matching hash actually prove, and what does it not prove?+

A matching hash confirms the copy is bit-for-bit identical to the source at the moment the hash was taken. It says nothing about whether the source itself was already altered before that hash was computed, which is why chain of custody and acquisition procedure matter just as much as the hash itself.

Related terms

Chain of Custody
The documented history of possession, handling, storage and transfer of an exhibit. It supports traceability between collection and examination, while the significance...
Forensic Image
A forensic image is a documented representation of acquired storage data, commonly a physical bitstream image or a defined logical acquisition. Its...
Legal Hold
A legal hold is a preservation instruction intended to suspend relevant deletion or alteration when a preservation duty arises or an organisation...
Order of Volatility
The sequence in which digital evidence should be collected, ranked from most to least transient. Defined in RFC 3227. CPU registers and...
Write Blocker
A write blocker prevents supported write commands from reaching specified source media during acquisition. Its effectiveness depends on the interface, configuration and...

Explained in