Article · Digital provenance
Provenance, hashes and signatures explained
When someone says a file is “verified”, what exactly has been established? A hash, a digital signature and a timestamp each answer a different question. Mixing them up leads to claims that the evidence cannot support.
The question each technique answers
| Technique | Question it answers |
|---|---|
| Hash | Is this file exactly the same as the one that was hashed? |
| Digital signature | Did the holder of this private key sign this exact content? |
| Timestamp from a trusted authority | Did this exact content exist at or before this time? |
Hashes
A cryptographic hash function turns any amount of data into a short fixed-length value. SHA-256, defined in NIST FIPS 180-4 and RFC 6234, produces 256 bits, usually written as 64 hexadecimal characters. Changing a single bit of input changes the output unpredictably, and finding two different inputs with the same output is considered infeasible.
A hash is useful when two parties compare it. If a project publishes a hash with a download and your calculated hash matches, the file you have is identical to the one they hashed. But the hash alone says nothing about who made the file. Anyone can hash anything, including a forgery. If an attacker can replace the file and the published hash, a match proves nothing, so the hash must come through a channel you trust.
Digital signatures
A digital signature uses a pair of keys. The signer uses a private key to create a signature over the content, and anyone with the public key can verify it. Modern schemes such as EdDSA (RFC 8032) are widely used. A valid signature shows the content has not been altered since signing and that it was signed by whoever controls that key.
The weak points are all about keys. Does the public key really belong to the person you think? Was the private key kept secret? A signature from an unverified key is only as trustworthy as the claim that it is theirs. Signatures also do not say when signing happened unless a trusted timestamp is attached.
Timestamps
A trusted timestamp is evidence that content existed by a certain moment. You can use it to defend a claim like “I had this draft in March”. It does not prove you created the content, only that it existed. Ordinary file dates and metadata are easy to change and are not proof.
Putting them to work as a creator
- Keep originals and working files in a safe place.
- When you finish a piece, compute its SHA-256 with the file hash verifier (or locally, for sensitive files) and store the hash somewhere separate.
- If dispute risk is high, add a signature from a verified key and a trusted timestamp, using established, audited tools. Veilora does not provide signing and does not create its own cryptography.
- Keep this evidence private unless you choose to disclose it. Remember that provenance can conflict with pen-name privacy.
Common mistakes
- Calling a hash a signature.
- Trusting a hash that came from the same page and server as the file.
- Treating a file’s modification date as proof of when it was made.
- Assuming a verified file is truthful. Provenance describes history, not accuracy.
References
- NIST, FIPS 180-4, Secure Hash Standard: csrc.nist.gov.
- IETF, RFC 6234, US Secure Hash Algorithms: rfc-editor.org.
- IETF, RFC 8032, Edwards-Curve Digital Signature Algorithm: rfc-editor.org.
- Related: digital provenance guide.