Verify a software download with a published checksum

8 steps · about 1 h 14 min · Intermediate

  1. Understand the integrity question (reference, Wikipedia, 8 min)

    Verification asks whether the downloaded bytes match the bytes described by the publisher.

  2. Learn what a cryptographic digest provides (reference, Wikipedia, 10 min)

    A digest is a compact fingerprint designed to change when file content changes.

  3. Identify the exact hash algorithm (reference, Wikipedia, 8 min)

    SHA-256 and SHA-512 produce different values and cannot be compared interchangeably.

  4. Calculate a digest with PowerShell (guide, Microsoft Learn, 10 min)

    Get-FileHash uses a built-in command and makes the selected algorithm explicit.

  5. Calculate a digest on macOS (guide, Apple Support, 10 min)

    A local command avoids uploading the file to an unknown checksum website.

  6. Calculate or check a digest on Linux (reference, OpenSSL Documentation, 10 min)

    OpenSSL can calculate a digest locally while making the selected algorithm explicit.

  7. Obtain the expected value independently (reference, Wikipedia, 8 min)

    A checksum beside a compromised download may be replaced with it, so channel independence matters.

  8. Distinguish integrity from publisher identity (reference, Wikipedia, 10 min)

    A matching checksum does not by itself prove who created the file; signatures address a different claim.