
A cryptographic digest of specified document data, useful for comparison only when its algorithm, input and reference are understood.
A document hash is a fixed-length digest computed from specified data using a hash algorithm. The same input and algorithm produce the same digest. An alteration to the input is expected to produce a different digest with a suitable cryptographic algorithm.
NIST’s Secure Hash Standard specifies algorithms including SHA-256. A digest is not an encrypted copy of the document and is not intended as a reversible way to recover its contents.
Know which bytes were hashed. Two PDFs can look identical while having different underlying data, for example after conversion or metadata changes. A whole-file hash therefore answers a different question from a visual comparison.
A PDF digital signature covers designated byte ranges, excluding the signature-value placeholder. Permitted incremental updates can retain an earlier signed version while changing the whole file. PDF Association’s technical note on digital signatures explains this structure. A new whole-file digest is not, by itself, proof that an earlier signature is invalid.
It supports comparison with the reference data, subject to the algorithm and process. The reference must be trustworthy. Someone who supplies an altered file and a newly computed hash has not established the authentic original. Collision resistance is a security property, not a promise that collisions are mathematically impossible.
Hashes alone do not identify the author, establish signing intent or grant authority. Their role in signature validation depends on the signature mechanism, keys and trusted certificate binding surrounding them.
A Common Case: Comparing a received contract file
A Colorado professional-services firm might compare the hash of a received agreement with a trusted copy’s recorded value. Staff would identify the algorithm and exact file version, rather than assume two visually identical PDFs must have the same digest or signing evidence.
No. A hash is a digest used for comparison and related cryptographic operations; it is not a reversible encrypted copy.
No. PDF signatures can cover earlier signed ranges while permitted incremental updates change the whole file. Evaluate the actual signature and versions.