← Lab /Security & privacy

QR-driven zkSNARK verification on mobile is feasible with low-latency QR codes

zQR enables practical verification of zkSNARK proofs on mobile devices using QR codes

Security & privacy arXiv 25 Jun 2026 Method Prototype evidence Threat model

Published as “zQR: A Verifiable QR-Driven zkSNARK Proof Verification Framework for Mobile Platforms”

Why it matters

zQR enables privacy-preserving proof verification via QR codes on smartphones, potentially lowering the barrier to adopt zero-knowledge proofs in everyday applications.

Summary

The paper shows that off-chain verification and QR-code encoding/decoding times stay constant regardless of circuit size, while proof generation can take several minutes for large circuits, indicating that zQR is feasible on mobile devices but limited by proof-generation latency. Experiments on macOS, iOS and Android measure temporal costs and blockchain gas consumption, but no comparative baselines are provided.

What they found 3

  1. Off-chain proof verification time does not increase with circuit complexity.

    “Observation 2. Off-chain proof verification time remains constant regardless of circuit complexity.”

  2. QR code encoding and decoding latency remains constant across circuit sizes.

    “Observation 3. QR code encoding and decoding times remain constant regardless of circuit complexity.”

  3. Smart contract deployment cost grows linearly with the number of public inputs.

    “Observation 6. Smart contract deployment cost grows proportionally with the number of public inputs.”

Caveats 5

  • Proof generation remains the primary computational bottleneck and may take up ... several minutes depending on circuit complexity.
  • The zkSNARK implementation relies on a common reference string to generate keys, which introduces the trust assumption that soundness is compromised if the string is not properly destroyed after key generation.
  • The current proof-of-concept implementation assumes honest-but-curious roles for issuers and verifiers.
  • Side-channel attacks on mobile devices (e.g., timing attacks during proof generation) have not been considered in the current threat model.
  • Scalability. A real-world deployment of the zQR framework raises scalability concerns across multiple dimensions (e.g., the number of individual deployments, the number of blockchain accounts in on-chain verification, the throughput of the blockchain network, the latency to external LLM services).

What’s new here 4

  • Integrates large-language models to automatically generate zkSNARK circuits.
  • Encodes zkSNARK proofs into verifiable QR codes for offline mobile verification.
  • Combines blockchain smart contracts for on-chain verification with a gas-free view function.
  • Provides two framework variants: full three-party interaction (zQR.v1) and a lightweight issuer-only variant (zQR.v2).

Threat model stated by the source

Adversaryhonest-but-curious issuers, verifiers, and LLMs; potentially malicious provers
Capabilitycannot break zkSNARK security assumptions; can deviate from protocol, manipulate inputs, or delay operations
AssumesIssuers and verifiers follow framework rules but may seek additional sensitive information; LLMs never intentionally manipulate responses but may produce semantically inconsistent circuits; Provers are computationally bounded and may attempt invalid proofs or protocol deviations