Skip to content

How to get a file's SHA-256 hash to prove it hasn't changed

By the Fusion Office team · Updated

Quick answer

Open File fingerprint, choose the file, and press Generate fingerprints. You get its SHA-256, SHA-1 and MD5 hashes: short codes that change completely if even one byte of the file changes. Record the SHA-256 of an important document, and check it again later to prove the file is identical.

Get the hash step by step

  1. 1Open File fingerprint and choose one or more files of any type.
  2. 2Press Generate fingerprints.
  3. 3Copy the SHA-256 value, or compare it with one you were given.

The hash is calculated on your device, so the file never leaves it.

What hashes are good for

  • Proving a signed contract, evidence file or submission hasn't been altered since a given date: note its SHA-256 at the time, along with the date.
  • Checking a software download against the checksum the publisher lists.
  • Confirming two files are exactly identical without opening them.

SHA-256 is the one to use for proof. MD5 and SHA-1 are older and only suitable for spotting accidental changes.

What a hash can't tell you

A different hash says the files differ, not how. To see what changed between two PDF versions, use Compare PDF. And a hash doesn't hide anything; to keep a file private, encrypt it with Protect PDF.

Frequently asked questions

Will renaming a file change its hash?

No. The hash depends only on the file's contents, not its name.

Will opening and re-saving a PDF change its hash?

Usually yes, because the program rewrites the file even if it looks the same.