What is the SHA-256 hash manifest in a text-message export?
The manifest is a list of every file in the export with its SHA-256 hash, a long string of letters and numbers that changes completely if even one character of the file changes. To check a file, compute its hash on your Mac and compare it with the manifest: if they match, the file is exactly as exported, and if not, something changed it.
How to check a file on a Mac
- Open Terminal from Applications, Utilities.
- Type shasum -a 256, then a space, and drag the file from Finder into the Terminal window so its path is filled in.
- Press Return. Terminal prints a long hash followed by the file name.
- Compare it, character by character or by pasting both into a text editor, with the line for that file in the manifest.
What a match means
- The file has not changed since the export was made.
- It does not say the messages are true, only that this file is the one the app wrote.
- It does not say who has had access to the file in between.
What a mismatch means
Any change at all, even opening a PDF and saving it again in another app, can change the hash. A mismatch tells you to go back to the original copy, not that someone did something wrong. This is why you keep the original export folder untouched and work on copies. If you must make an edited version, such as a redacted one, keep it as a clearly separate file and say how it was made; see redacting before sharing.
Where it helps most
If another party asks whether a file was altered, you can show the original and its hash from the day of the export. Some lawyers and examiners also record the hash when they receive a file, so later copies can be matched to it. The topic of showing texts are real is wider than hashes; see authenticating texts.
What to keep in mind
- A hash proves a file did not change after it was made. It cannot prove the phone data was unaltered before the export.
- If you rename a file, the hash stays the same. If you open and re-save it, it may not.
Questions
Is SHA-256 secure?
It is a widely used standard for checking file integrity. For this purpose, treat it as reliable.
Do I have to check the hashes?
No. They are there for when someone asks. Keep the manifest with the files.
Is there a hash for the whole folder?
The manifest lists each file. Check the ones that matter.
Export the whole conversation
TextExhibit turns a conversation into one PDF with exact times, names and numbers, photos in place and page numbers, on your Mac. Free to preview; $24.99 once to export.