The Core Question

Digital evidence is only admissible in court if you can prove it has not been altered since collection. CustodyLog answers that question with cryptographic certainty — not with a signature on a form, but with mathematics that cannot be forged.

1 — SHA-256 Fingerprinting

Every digital file has a unique mathematical fingerprint called a SHA-256 hash — a 64-character string produced by a one-way cryptographic algorithm.

Example: 5e2e67decc1ac18302f9530176ec85684a92971b22554c804954b601b86f8394

This string is computed from the entire contents of the file. Change a single byte anywhere — one character in a document, one pixel in a photo — and the hash changes completely. Two different files cannot produce the same hash. This is guaranteed by mathematics, not policy.

✓ HASH MATCHES
File is byte-for-byte identical to when it was collected. Evidence is intact.
✗ HASH MISMATCH
File has been modified after collection. Evidence is inadmissible.
2 — Hashing Happens in Your Browser

When you log a piece of evidence, you select the file on your local machine. CustodyLog uses the browser's built-in Web Crypto API to compute the SHA-256 hash locally.

The file never leaves your device. Only the 64-character hash string is sent to the server. This means CustodyLog itself cannot intercept, copy, or alter your evidence — a critical property for court defensibility.

Your device → [SHA-256 computed locally] → Only hash sent to server
Your device → [File itself] → Never leaves your machine
3 — The Chain: Every Action is Linked

This is what makes CustodyLog a chain of custody, not just a log. Every time someone interacts with a piece of evidence — receiving it, transferring it, analysing it — a new entry is written to the audit log. Each entry contains a chain hash: a hash computed from all previous entries combined.

1
Intake — received from DC Hammond
2026-06-01 14:22:11 UTC · J. Smith
Chain hash: 0d5cf8018a2829deaa69a67085c8bed1dfaeeaf1ef8bc9bf0887caed2272e68a
2
Transfer — to analyst K. Patel
2026-06-03 09:15:44 UTC · J. Smith
Chain hash: 81aeb8f52922d9c602b423d0242cce317283bbc2710d8b2a7394b53c40d53b8f (includes entry 1)
3
Disclosure — to defence solicitors
2026-06-14 16:40:02 UTC · J. Smith
Chain hash: 7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8 (includes entries 1+2)

If anyone deletes or alters Entry 1, Entry 2's chain hash instantly becomes invalid. The chain breaks. Retrospective tampering is mathematically detectable — the same principle used by blockchain.

4 — Case Study: Corporate Fraud Investigation

A company suspects a former finance director copied confidential client records before resigning. The hard drive from his company laptop is submitted as evidence.

DAY 1 — EVIDENCE RECEIVED

DC Rachel Hammond delivers the hard drive sealed in an evidence bag. The investigator logs it in CustodyLog: item label, received from, notes on seal condition. The drive is placed in the browser file picker — SHA-256 computed locally in 4 seconds. Hash stored with timestamp.

Intake hash: 9f3a2b1c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1
DAY 3 — FORENSIC IMAGE CREATED

The analyst creates a bit-for-bit forensic image using FTK Imager. The original drive is never touched again. The image is registered as a second evidence item with its own hash. A transfer log entry links the two, extending the chain.

DAY 14 — DISCLOSURE TO DEFENCE

Copies are provided to Williams & Co Solicitors. The transfer is logged in CustodyLog with the recipient name and timestamp. Chain hash updated to include this event.

DAY 60 — CROWN COURT

The defence argues the evidence may have been altered after collection. The prosecution re-hashes the drive in court using any SHA-256 tool. Result:

Hash verified · Original: 9f3a2b1c… · Current: 9f3a2b1c… · Identical — evidence accepted

The full chain audit trail — 3 entries, all chain hashes valid, no gaps — is presented to the court. The judge accepts the evidence.

5 — What Happens if Evidence Is Tampered With
Scenario A — File modified

Someone adds files to the drive after collection. Even one added byte changes thousands of hash positions. Re-hash in court produces a different result. MISMATCH. Evidence rejected.

Scenario B — Log entry deleted

Someone deletes the intake entry to hide access. Entry 2's chain hash no longer validates. Chain broken. Tampering detected.

6 — Why Courts Accept It
StandardRequirementCustodyLog
ACPO Good Practice GuideHash at collection, verified at each transferAutomated
UK CPS Digital EvidenceUnbroken chain of custody with timestampsAutomated
NIST FIPS 180-4SHA-256 approved for security applicationsSHA-256
ISO 17025 / UKASAudit trail for all evidence handlingFull log
EnCase / FTK / AutopsyInteroperable SHA-256 verificationCompatible

SHA-256 is used by every major forensic tool. Any opposing expert can independently verify your hash using their own software — the result will be identical.

Summary — What CustodyLog Proves
QuestionEvidence provided
Was this file altered after collection?Hash at intake vs hash today — match or mismatch
Who had access to this evidence?Full access log with names, timestamps, IP addresses
Was the log itself tampered with?Chain hash sequence — any deletion breaks the chain
When exactly was evidence received?UTC timestamp at intake, immutable
Who collected it and from whom?Recorded at intake, linked to authenticated user account
Sign in Contact us