Skip to main content
CAPTAIN'S SKYVIEW FIELD ARCHIVE
AREA PUBLIC ARCHIVE
SYSTEM SKYVIEW

TECHNICAL KNOWLEDGE · Digital evidence, chain of custody & preservation

How can I check whether two digital files are identical?

Last reviewed · SkyView documentation

DIRECT ANSWER

Calculate a SHA-256 digest for each file and compare the results. Different digests prove the byte contents differ; matching digests give extremely strong evidence that they match.

How it works

On Linux, run sha256sum filename. On macOS, run shasum -a 256 filename. On Windows PowerShell, run Get-FileHash -Algorithm SHA256 -LiteralPath filename. Compare the entire digest, not just the first few characters. A rename alone does not change file bytes; resaving or editing metadata may change them.

How SkyView uses it

An authorized recipient of a SkyView original can independently hash the downloaded file and compare it with a trusted record of the original digest. A web preview or watermarked derivative is not expected to match the original.

Primary sources and supporting references

Official standards, government agencies and technical documentation.

All knowledge categories · SkyView data sources and credits

SkyView uses first-party cookies to recognize returning browsers and understand visits and referral sources. You can change tracking preferences or opt out.