Building a SHA-256 Proof Bundle for Your AI Music
Two hashes, one manifest, one timestamp. A step-by-step vault that proves when you made a track and what it contained.
If someone uploads your track before you do, the argument you need to win is about time: when did you hold this file, and what was in it? A folder of finished audio is not an answer. A hash is, because it converts an arbitrary file into a short string that changes completely when a single byte changes.
The version I trust adds a second layer and a third-party timestamp. Here is the layout, the commands in plain language, and the mistakes that get evidence thrown out.
Why one hash is a weak argument on its own
A bare hash proves the file has not changed since you computed it. It proves nothing about when. Anyone can generate a digest today for a file made last year, so without a timestamp the hash is a fingerprint with no date on it.
The second layer solves this: hash the manifest that lists your hashes, then timestamp that single digest. Now you have one value to anchor instead of twenty.
The two layers I keep in the vault
Layer one — per file. Compute a SHA-256 digest for every artifact: the bounced audio, the session archive, the lyric sheet, the arrangement notes, the prompt log you kept while iterating.
Layer two — one digest for the whole set. Write a small manifest listing each filename and digest, then hash the manifest. That manifest digest is the only value you need to timestamp.
The commands, on Linux or macOS
Compute digests for every audio file in the folder and write them into a manifest:
sha256sum *.wav > manifest.txt
Hash the manifest itself:
sha256sum manifest.txt
Later, on any machine with the same files, recompute and compare everything in one call:
sha256sum -c manifest.txt
Every line prints OK if the file is byte-identical and FAILED if anything moved. That single command is what you hand to a doubter.
The same steps on Windows
Windows ships the tool you need, in PowerShell or a command prompt:
certutil -hashfile track-master.wav SHA256
Run it once per file and paste the results into manifest.txt by hand, or script it:
Get-ChildItem *.wav | ForEach-Object { "$((certutil -hashfile $_.FullName SHA256)[1..1].Trim()) $($_.Name)" } > manifest.txt
Windows has no built-in sha256sum -c, so keep a copy of the original manifest.txt and compare values manually, or use any hash-checking utility that accepts the standard format.
Adding a timestamp a third party can verify
A timestamp authority publishes your digest into a verifiable, append-only record. The standard protocol is RFC 3161, and the request looks like this with OpenSSL:
openssl ts -query -data manifest.txt -sha256 -out request.tsq
openssl ts -reply -queryfile request.tsq -token_out -out stamp.tsr
Send request.tsq to any RFC 3161 timestamp authority and store the reply next to the manifest. Years later, anyone with the receipt, the manifest and the authority's certificate can confirm that this exact digest existed on that date.
Keep the verification receipt as a file, not a screenshot. Screenshots are arguments; receipts are checkable.
Mistakes that make the evidence easy to dismiss
Hashing the MP3 you uploaded instead of the master you actually created. Recomputing digests after editing files, so nothing matches. Relying on a cloud drive's modified date, which the other side can claim was changed. Keeping everything in one account that can be closed. Timestamping each file separately and losing track of which receipt belongs to which release.
What to hand over if someone disputes you
Offer the manifest, the receipt, the per-file digests, and the one command that recomputes them — sha256sum -c manifest.txt or the Windows equivalent. If the numbers match, the timeline question is settled. That is the whole point of the second layer.
— Nam Hoai (Nam Hoài Đất Mỏ)