FOUR-LAYER PASS AUTHENTICATION ARCHITECTURE
How a plain PNG proves authenticity and device ownership.
Every Subgrain pass combines deterministic pure-math artwork with four independent cryptographic and signal-processing checks — stopping screenshots, social re-uploads, edits, and raw file transfers.
Every uploaded PNG must clear all four verification layers.
Exact SHA-256 pixel digest
After canonical normalization, Subgrain computes the SHA-256 digest of the raw pixel matrix and matches it against the minted pass record. Any re-encoding, crop, or screenshot immediately fails exact match.
C2PA ES256 provenance manifest
Each pass PNG is sealed with a signed C2PA v2 manifest (ECDSA P-256) binding the assertion payload and hard data hash. Tampered assertions or stripped manifests are rejected offline without remote fetches.
Server-secret-keyed 64-bit DCT mark
Four artwork quadrants carry an invisible spread-spectrum 64-bit mark (40-bit serial + 24-bit HMAC-SHA256) keyed by a server secret. Even if metadata is stripped, Subgrain identifies copied passes as [TAMPERED OR RE-ENCODED COPY].
WebAuthn ECDSA P-256 device binding
Over HTTPS, claiming binds the pass to the claiming device's platform key. Verification issues a single-use signed challenge with strict origin allowlist and monotonic signCount enforcement, blocking AirDrop/Xender transfers.
How Subgrain handles every real-world attack
| Scenario | Subgrain | Expected Verdict |
|---|---|---|
| Untouched original PNG on the claiming phone | Passes SHA-256 + C2PA + WebAuthn assertion | [ORIGINAL FILE VERIFIED] |
| Original PNG sent via AirDrop / Xender to Phone B | Phone B lacks the bound WebAuthn private key | [WRONG DEVICE / TRANSFERRED] |
| Screenshot, WhatsApp forward, or Photoshop edit | Exact pixel hash & C2PA fail; DCT mark flags copy | [TAMPERED OR RE-ENCODED COPY] |
| Raw event invite PNG uploaded at the host door scanner | Host door entry requires the guest's single-issue QR | [ONE-USE QR REQUIRED] |
Common questions.
Details on pass issuance, device binding, and verification behavior.
Keeping the artwork clean avoids ugly QR codes on the pass and prevents static QR forwarding. Only the original holder on the claiming device can verify their PNG and mint the one-use door QR.
Launch your first drop.
Create event invites, digital collectibles, or raffle tickets in seconds.