PST Archive Viewer › Guides › Exported email and SHA-256
Keeping exported email defensible: read-only source, original headers and SHA-256
Last updated 28 November 2026 · Applies to version 1.1.1
Work from a PST that is never written to, export emails as EML so the original Internet headers travel with them, and record a SHA-256 hash of every file you hand over. Anyone can recompute the hash later, on a Mac with shasum -a 256. A match shows the file is unchanged since it was hashed, and nothing more.
Free to open and search · SHA-256 export report in Personal · Legal PDF with Bates numbers in Pro
1. Hash the PST before you open it
Record what you received before any tool touches it. In Terminal on a Mac:
shasum -a 256 /Volumes/Evidence/mailbox.pst > mailbox.pst.sha256.txt
The line it writes is the 64-character hash followed by the path exactly as you typed it. On a large PST this takes a while. PST Archive Viewer does not compute a hash of the PST for you, so this step is yours. If the PST came from Google Vault, the export also includes a file of MD5 hashes for its files (Google's description), which you can compare with md5 on the Mac.
2. Keep the source read-only
- Keep the original on its own drive and review a copy.
- PST Archive Viewer opens the PST read-only and never writes to it. The search index is a separate file in your Library folder.
- If a PST changes after it was indexed, the app shows File has changed and asks you to rebuild the index. That check looks at the size and samples of the content; it is not a full hash, so your own SHA-256 stays the real test.
- Recompute the hash of the copy when you finish. It should still match step 1.
3. Export as EML to keep the headers
An EML carries the Internet headers that show where an email came from. PST Archive Viewer's EML export keeps the original headers stored in the PST, including Received, Message-ID, In-Reply-To and References, and the Headers button shows them before you export.
Two things to know. The body and attachments are rebuilt from what the PST stores, so the EML is not a byte copy of the message as it once crossed the wire, and exporting the same email twice can give two files with different hashes. Hash the file you actually produce. And when a message has no original headers in the PST, which is common in Sent Items, the app writes From, To, Date and Subject from the PST's own fields.
4. Where the hashes come from
| Export | Hash written by the app | Plan |
|---|---|---|
| One email as EML or PDF | None. Hash the file with shasum -a 256 | Free (20 exports) |
| Bulk EML or PDF | export_report.csv: folder, date, sender, subject, file name, status and SHA-256 of every file | Personal |
| Bulk MBOX | Same report; each row hashes the message's EML bytes before they are written into the .mbox, so those hashes cannot be recomputed from the .mbox. Hash the .mbox file yourself | Personal |
| Legal PDF with Bates numbers | Index CSV with the Bates range of each email and the SHA-256 of the PDF | Pro |
5. How someone checks a hash
The recipient hashes the file they received and compares the result:
shasum -a 256 2024-03-14_Lease_renewal_812.eml
If you keep your hashes as shasum output (hash, two spaces, file name), the recipient can check a whole folder in one go with shasum -a 256 -c hashes.txt, which prints OK or FAILED for each file. On Windows, PowerShell's Get-FileHash uses SHA-256 by default. One changed byte gives a completely different hash.
What a hash proves, and what it does not
- It proves that a file is identical to the file that was hashed.
- It does not prove that an email is genuine, who sent it, or that nobody altered the PST before you received it.
- It does not prove that a production is complete. A hash covers the files that exist, not the ones that were left out.
- It carries no date. Record when and by whom each hash was made, and how the files were handled.
Follow the production format agreed in your matter. This page describes what the tool does and is not legal advice.
When this is not the right tool
- Forensic acquisition of a drive or a live mailbox, write-blocking and imaging.
- Chain-of-custody forms, trusted timestamps or digital signatures on the output.
- Redaction, privilege logs, load files or PDF/A output.
- Intel Macs and Windows. The app runs on Apple Silicon with macOS 12 or later.
Questions
How do I check the SHA-256 hash of a file on a Mac?
Open Terminal and run shasum -a 256 followed by the file path. Compare the 64-character result with the hash you were given. If they are identical, the file has not changed since it was hashed.
Does PST Archive Viewer change the PST file?
No. The PST is opened read-only and never written to. The search index is stored separately, and the app shows a warning when it detects that the PST's size or sampled content has changed. That check is not a full hash.
Which export includes SHA-256 hashes?
Bulk export in the Personal plan writes export_report.csv with the SHA-256 of every exported file. The Pro Legal PDF writes an index CSV with the SHA-256 of the PDF. Single-email exports do not include a hash.
Do exported EML files keep the original headers?
Yes. The EML keeps the original Internet headers stored in the PST, such as Received, Message-ID, In-Reply-To and References. The body and attachments are rebuilt from the PST's contents.
Does a matching hash prove an email is authentic?
No. A matching hash shows the file is identical to the one that was hashed. It says nothing about who wrote the email, whether the source was altered earlier, or whether anything is missing.