Guides

Detect a single-byte change using an expected digest

Follow these steps using a local file and keep the original.

Detect a single-byte change using an expected digest
Actual local tool workspace with a synthetic sample.

Prepare the example

Reproduce with these original sample files: sample.txt. Make a copy before following any rename, truncation or byte-edit instruction.

Take the SHA-256 of sample.txt, then append X to a disposable copy.

Run the workflow

  1. Open the related tool below and load the prepared file(s).
  2. Verify the modified copy against the original expected digest; result must be MISMATCH.

Verified example result

This example was reproduced in Chrome on 2026-12-04 using FileTypeKit 0.9.0 and synthetic data. The expected result or expected refusal was checked; this does not establish support for every real file.

Observed tool output (English)
MISMATCH
426f8b913a5ba0564b7dcf034de87587be99d88939db7b5c0fb27f250b411f5d

Limitations and what to verify

A mismatch establishes differing bytes but does not explain who modified them.

Open related toolDownload sample