Skip to main content
Subgrain

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.

4-LAYER VERIFICATION PIPELINE1024×1280 PNG

Every uploaded PNG must clear all four verification layers.

01

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.

02

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.

03

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].

04

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

ScenarioSubgrainExpected Verdict
Untouched original PNG on the claiming phonePasses SHA-256 + C2PA + WebAuthn assertion[ORIGINAL FILE VERIFIED]
Original PNG sent via AirDrop / Xender to Phone BPhone B lacks the bound WebAuthn private key[WRONG DEVICE / TRANSFERRED]
Screenshot, WhatsApp forward, or Photoshop editExact pixel hash & C2PA fail; DCT mark flags copy[TAMPERED OR RE-ENCODED COPY]
Raw event invite PNG uploaded at the host door scannerHost 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.