Checksum Verification

Demonstrating asset integrity verification with xxHash3 checksums

About This Example

This example demonstrates SSI's checksum verification feature for copied assets. The CSS file and fonts used by this page are all verified against checksums during the build process.

Verified Assets

The following assets are copied with checksum verification:

How It Works

The assets.xxh3 file contains xxHash3 checksums for each asset. During deployment:

  1. SSI copies each asset file to the output directory
  2. Computes the xxHash3 checksum of the deployed file
  3. Compares it against the expected checksum
  4. Detects any corruption, copy failures, or tampering

Smart Diagnostics

If a checksum mismatch occurs, SSI checks the source file to determine: