Guide

How to tell if a PDF has been edited or altered

The only reliable way to tell whether a PDF has been edited is to compare its cryptographic fingerprint (hash) with the one recorded before it was sent. If they match, the PDF is bit-for-bit identical to the one issued; if not, it has been altered, even if it looks the same.

Why isn't it enough to open the PDF and look at it?

PDF editors can change an amount, a date or a bank account number without altering the layout. File properties such as the author or the modification date can also be rewritten, and the file name says nothing about its content. Visual inspection only catches clumsy edits.

What methods are there to check it?

MethodWhat it tells youLimitation
Visual reviewObvious editing errorsMisses well-made changes
Properties and metadataDeclared dates and creating softwareCan be edited without a trace
Comparison with the originalDifferences between two versionsRequires a trusted copy of the original
PDF digital signatureWho signed and whether the file changed afterwardsRequires a certificate and a reader that validates it
Recorded SHA-256 fingerprintWhether the file is identical to the recorded one, and since whenThe fingerprint must be recorded before sending

Comparing fingerprints does not depend on keeping a copy or trusting metadata: the recorded fingerprint is enough.

What is a SHA-256 fingerprint and why is it reliable?

SHA-256 is a hash function defined by the US National Institute of Standards and Technology (NIST) in the FIPS 180-4 standard. It turns a file of any size into a string of 64 hexadecimal characters: the same file always produces the same fingerprint, and changing a single bit produces a completely different one.

“The digests are used to detect whether messages have been changed since the digests were generated.”

NIST, FIPS 180-4 (2015)

NIST rates SHA-256 at 128 bits of collision resistance: finding two different files with the same fingerprint would take on the order of 2¹²⁸ operations, beyond the reach of current technology. [NIST]

How do you check it, step by step?

  1. Before sending the PDF, the issuer records its SHA-256 fingerprint. With TRAMPTO it is computed in the browser, without uploading the file, and a public verification link is issued.
  2. The issuer sends the sealed document and shares the verification link.
  3. The recipient opens the link or loads the PDF on the verification page, and their browser recomputes the fingerprint of the file received.
  4. If the fingerprint matches the recorded one, the document is identical to the one issued. If it does not, it has been modified and should not be accepted.

What is the real risk of an altered PDF?

The costliest case is business email compromise: the attacker intercepts an invoice and changes the bank account number before it reaches the client. The FBI Internet Crime Complaint Center (IC3) annual report records 21,442 such complaints in 2024 and losses of $2,770,151,146, the second-highest loss category in the report. [FBI IC3]

If the invoice has a recorded fingerprint, the payer can check it before ordering the transfer: a changed IBAN produces a different fingerprint.

A matching fingerprint is technical evidence of integrity and date, and can be submitted as such in proceedings. It is not equivalent to a qualified electronic signature. Regulation (EU) No 910/2014 (eIDAS) defines an electronic seal, in Article 3(25), as:

«data in electronic form, which is attached to or logically associated with other data in electronic form to ensure the latter's origin and integrity»

Regulation (EU) No 910/2014 (eIDAS), Art. 3(25)

TRAMPTO evidences integrity and date, but it is not a qualified trust service provider: where the law requires a qualified seal or signature, one must be used, while the fingerprint can be recorded as well.

Glossary

SHA-256 fingerprint
A string of 64 hexadecimal characters obtained by applying the SHA-256 function to a file. It identifies its exact content.
Integrity seal
A record of a document's fingerprint on a given date, which makes it possible to check later that it has not changed.
Verification link
A public address where anyone can check a sealed document, with no account or installation.
Seal ID
A unique identifier that TRAMPTO assigns to each sealing.

Sources

  1. NIST — FIPS 180-4, Secure Hash Standard (SHS), 2015
  2. NIST CSRC — Hash Functions (security strengths of SHA-256)
  3. FBI Internet Crime Complaint Center — 2024 Internet Crime Report
  4. Regulation (EU) No 910/2014 (eIDAS), Art. 3(25)

Record the fingerprint before sending.

Sealing a document takes seconds, and verification is free for the recipient.

Privacy preferences

Choose the purposes and vendors for which you allow cookies. No option is enabled in advance, and you can change your decision at any time from “Cookie settings” in the footer.

Strictly necessary

Essential for the website to work and to remember your cookie choice. They do not require consent and are not used for advertising.

Always active

Preferences

Remember the language you chose so that it is shown directly on your next visit.

Audience measurement

Show how many people visit the website, where they come from, which pages they view and how they interact with them, including heatmaps and anonymised session recordings. They help improve the service.

Google Analytics · Microsoft Clarity

Advertising measurement

Measure the effectiveness of our campaigns on Google, Microsoft, Meta and LinkedIn: which ad brought you here and whether you then used the application.

Google Ads · Microsoft Advertising · Meta Pixel · LinkedIn Insight Tag

Personalised advertising

Allow those platforms to show you TRAMPTO ads tailored to your visit, on this and other websites and apps.

Microsoft Advertising · Meta Pixel · LinkedIn Insight Tag