What is a hash (SHA-256)?
A hash is a short fingerprint calculated from a file, and SHA-256 is a common method that gives a 64-character code which changes completely if the file changes in any way. When you export text messages, a manifest lists every file with its SHA-256 hash, so later you can check that a file is the same as when it was made.
What it means in plain words
Think of sealing a letter with wax. If the seal is broken, you know. A hash is a seal for a file. If two copies have the same hash they are the same, bit for bit.
Hashes do not hide or encrypt anything. They only detect change.
How it applies to text messages
After export, the manifest lists each file name and its SHA-256 hash. To check, open Terminal on a Mac and run shasum -a 256 followed by the file name, then compare.
Lawyers add hashes to production logs and chain-of-custody notes. See production logs.
An example
You export a PDF and the manifest says it begins with 9f2c. A month later someone says the PDF was edited. You run the check and get the same code, which is evidence the file is unchanged since export.
Checking a hash step by step
Open Terminal. Type shasum -a 256 followed by a space, then drag the file into the window so its path appears, and press Return. A long code appears. Compare it with the line for that file in the manifest. If every character matches, the file is the same.
If it does not match, do not panic. Check that you picked the right file and that nobody opened and re-saved it. Some PDF viewers can alter a file on save, so work on a copy.
What to keep in mind
- A hash proves the file is unchanged, not that the messages were authentic.
- If you re-export or redact, the hash changes.
- This is general information, not legal advice. Rules differ by court and place; ask a lawyer or the court clerk what applies to your case.
Questions
What does SHA-256 stand for?
Secure Hash Algorithm with a 256-bit output.
Is MD5 the same?
It is an older method. SHA-256 is preferred.
Can two files share a hash?
In practice no.
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.