arXiv:2608.22645cs.CRAug 2026

Manuscript Offprint

arXiv:2608.22645

Obscura-PQ: Post-Quantum Privacy-Preserving Protocol for the Algorand Blockchain Using Lattice-Based Linkable Ring Signatures

Navid Azimi

Navid Azimi

Emory University, Atlanta, GA 30322, USA

navid.azimi@emory.edu

Abstract. Public blockchains expose the complete transaction graph, and the privacy protocols deployed to obscure it rely almost exclusively on elliptic-curve cryptography, whose discrete-logarithm foundations fall to Shor's algorithm. Because ledgers are immutable, every anonymity set published today under classical assumptions can be retroactively deanonymized by a future quantum adversary. Transitioning to post-quantum alternatives remains challenging, as the strict resource limits of smart contracts prohibit the native on-chain verification of computationally intensive post-quantum proofs. To address these challenges, we present Obscura-PQ, a decentralized, non-custodial post-quantum privacy protocol that verifies natively on the Algorand blockchain. Its core is a setup-free lattice linkable ring signature over the cyclotomic ring Rq=Zq[X]/(X512+1)\mathcal{R}_q = \mathbb{Z}_q[X]/(X^{512} + 1). A deposit is a Ring-SIS binding commitment to a short secret; a withdrawal proves knowledge of a ring opening via an AOS/Borromean-style challenge chain over two response-sharing linear relations with rejection-sampled short responses, while publishing a deterministic Ring-LWE serial number for double-spend detection. We reduce double-spend soundness and linkability to the Ring-SIS assumption, theft resistance to Ring-SIS for rings of honestly generated deposits, and anonymity to Ring-LWE and an explicit decisional linking assumption, all in the classical random-oracle model. To overcome strict on-chain opcode and storage limits, Obscura-PQ evaluates all verification relations entirely in the number-theoretic-transform (NTT) domain. We split the forward NTTs across opcode-pooled execution phases and stream oversized proofs through refundable box storage, enabling O(1)O(1) membership and double-spend checks. We provide a complete Algorand testnet implementation, demonstrating native on-chain verification of a post-quantum privacy protocol under strict smart-contract limits.

Keywords: Post-Quantum Cryptography · Lattice-Based Cryptography · Linkable Ring Signatures · Blockchain Privacy · Algorand · On-chain Verification · Smart Contracts

1 Introduction

The transparency of public blockchains [56] underpins their security and auditability, yet it inherently undermines user privacy: adversaries can trace the

N. Azimi

flow of funds, cluster addresses, and deanonymize users through transaction-graph analysis [11,51,64]. Privacy-preserving protocols and decentralized mixers address this issue [17,21,54]: on Ethereum [67], Tornado Cash [61] severs the on-chain link between depositors and withdrawers using zk-SNARKs over a Merkle accumulator [52,53]; Möbius [50] achieves trustless tumbling from linkable ring signatures; Zether [22] provides confidential account balances; Obscura [12] deploys a non-custodial LSAG-based privacy protocol natively on Algorand; and Monero's CryptoNote lineage [36,58,65] deploys linkable ring signatures at the base layer.

All of these systems share a single point of failure: their unforgeability or soundness, and the long-term secrecy of their published commitments, ultimately rest on discrete-logarithm or pairing assumptions in elliptic-curve groups, all of which Shor's algorithm breaks [66]. The threat is not merely the hypothetical future breakage of future transactions. Because a blockchain is an immutable public record, every commitment, ring, and nullifier published under classical assumptions is archived permanently; a quantum adversary arriving decades from now can retroactively recover the secret behind each deposit, link deposits to withdrawals, and dissolve every anonymity set ever formed. Unlike signatures, which can be rotated, privacy protocols face harvest-now, deanonymize-later as the default attack, and this can be prevented by making the published transcript post-quantum secure from the outset.

A second, orthogonal obstacle is the execution environment. High-throughput blockchains such as Algorand [35] preserve fast finality and predictable fees by imposing strict per-transaction opcode budgets, flat state models, and small argument-size limits on their virtual machines [6,9]. Lattice-based zero-knowledge machinery is far heavier than its elliptic-curve counterpart: a single polynomial multiplication in a post-quantum ring already exceeds the entire pooled execution budget of a transaction group, and a single lattice commitment is more than an order of magnitude larger than an elliptic-curve point. No deployed smart-contract privacy protocol that we are aware of verifies a post-quantum anonymous spend natively on-chain.

Proposed Approach. We present Obscura-PQ, the post-quantum version of the Obscura protocol [12]: a decentralized, non-custodial privacy protocol for Algorand whose entire cryptographic core is post-quantum. Obscura-PQ is a fixed-denomination privacy pool: a user deposits by publishing a coin, and later withdraws to a fresh address by proving, without revealing which one, that they own one of the coins in a self-selected ring of on-chain deposits, while publishing a key image that makes double-spends detectable.

The construction works over the power-of-two cyclotomic ring Rq=Zq[X]/(Xn+1)\mathcal{R}_q = \mathbb{Z}_q[X]/(X^n + 1) with n=512n = 512 and q=12289q = 12289 (the ring underlying Falcon-512 [33]) and follows the commitment-and-serial-number paradigm of Lattice RingCT and MatRiCT [3,30]. A coin is a Ring-SIS binding commitment C=a1k+a2s+a4eC = a_1k + a_2s + a_4e (a rank-one module commitment in the style of [13]) to a unique short spend secret kk, short randomness ss, and a short serial-number blinding term ee; the key image is the deterministic Ring-LWE serial number sn=a3k+e\mathfrak{sn} = a_3k + e, revealed in full at withdrawal; and the one-out-of-r spend proof is an AOS/Borromean-style challenge chain [1, 48] over two response-sharing linear relations, one opening the commitment, one producing the serial number, closed at the true index with rejection-sampled short responses [43, 44]. The two-relation response sharing that binds the serial number to the coin serves as the lattice analogue to the parallel-equation structure of CLSAG [36]. While the compressed response-sharing closure of DualRing [68] shares a similar intuition, it remains structurally distinct: DualRing employs a ring of challenges with a single response, whereas our construction relies on a sequential challenge chain. The public parameters a1,a2,a3,a4a_{1}, a_{2}, a_{3}, a_{4} are nothing-up-my-sleeve hash outputs, so the protocol has no trusted setup. Soundness and linkability reduce to Ring-SIS [3, 45], and anonymity to Ring-LWE [46], in the random-oracle model.

Key Challenges and Technical Solutions. Two problems separate this design from a routine instantiation.

First, a sound post-quantum key image. A key image supports double-spend detection only if it satisfies three properties at once: it must be deterministic, so that every spend of a given coin yields the same image; it must be derived from a unique secret, so that a malicious signer cannot equip one coin with several valid images; and it must be member-hiding, so that publishing it reveals nothing about which ring member it corresponds to. Obscura-PQ derives all three properties from commitment binding. The uniqueness of the spend secret k and the blinding term e is guaranteed by the Ring-SIS assumption, as computing a second short opening for the commitment C would yield a Ring-SIS collision. This unique opening deterministically fixes the serial number sn=a3k+esn = a_3k + e. Revealing sn in the clear compromises neither the secret nor the anonymity of the transaction: because sn forms a valid Ring-LWE sample (where k acts as the secret and e=Hshort(k)e = H_{\text{short}}(k) as the error), it is pseudorandom in the random-oracle model and computationally unlinkable to C. Furthermore, while e is derived deterministically to allow honest signers to remain stateless, the soundness of the protocol relies strictly on e being algebraically bound to C via the term a4ea_4e, rather than on the hash derivation. Consequently, a malicious signer who commits using an arbitrary short e is inextricably pinned to that same e for all future spending attempts. Finally, because the signing protocol shares response coordinates across both verification relations, every verifying signature guarantees that one short opening simultaneously opens some ring commitment and yields the published serial number.

Second, native on-chain lattice verification. Verifying the signature requires, for each ring member, four forward number-theoretic transforms (NTTs) of degree-512 polynomials, a pointwise relation evaluation, norm checks on the responses, and a hash-chain update. This workload collides with the AVM's resource model on two fronts: a single forward NTT with its norm check costs more than the entire pooled budget of an Algorand transaction group, and the proof, at 32+3072r32+3072r bytes for ring size r, exceeds the 2048-byte application-argument limit for any r. Obscura-PQ overcomes both obstacles with four mutually supporting techniques. (i) All relations are evaluated in the NTT domain: commitments are

N. Azimi

stored, and serial numbers transported, as forward transforms, so the verifier never computes an inverse NTT. (ii) Each forward NTT is split at a fixed butterfly length into two execution phases, nine phases per ring member in total, each provisioned with pooled opcode budget through inner “no-op” application calls. (iii) Proofs are streamed into an application-owned transport box before verification begins; all transient storage deposits are fronted by the withdrawer and refunded atomically at settlement. (iv) Commitments and nullifiers reside in a flat key-value box-storage model [7], which supports O(1)O(1) membership and double-spend checks without a global Merkle accumulator.

Contributions. This paper makes the following contributions:

– Protocol design. We propose Obscura-PQ, a post-quantum privacy protocol whose anonymous spend is a lattice linkable ring signature built from a Ring-SIS binding commitment, a deterministic linear serial number, and an AOS/Borromean-style challenge chain over two response-sharing relations. Every Fiat–Shamir challenge is computed over the full settlement context (recipient, relayer, fee, and application identifier), defeating replay and fee/relayer front-running, and the public parameters are nothing-up-my-sleeve.

– On-chain execution model for lattice verification. We show how to run the verifier natively on a strictly budgeted virtual machine: a frequency-domain wire format that eliminates inverse transforms, table-driven negacyclic NTTs split across opcode-pooled phases, box-streamed proof transport with refundable storage accounting, and a per-member phase machine whose state survives across transaction groups. The resulting verifier is correct for every ring size up to the protocol cap.

– Security analysis. We give a precise threat model and reductions: theft resistance (unforgeability) and double-spend soundness to Ring-SIS, signer ambiguity and unlinkability to Ring-LWE and an explicit decisional linking assumption for the serial number closed with the rejection-sampling zero-knowledge argument, and replay resistance to context binding, all in the random-oracle model. Because the fully splitting Falcon-512 ring does not admit invertible short challenge differences, our extractor recovers a relaxed opening and our unforgeability statement is proved for rings of honestly generated deposits (see Appendix A, Remark 1).

– End-to-end implementation. We provide a complete, open-source full-stack deployment on the Algorand testnet, featuring a PyTeal smart contract compiled to AVM bytecode, a local Python-based prover, and a React client interface.

Figure 1 illustrates the end-to-end architecture. The remainder of the paper is organized as follows: Section 2 surveys related work, and Section 3 establishes the necessary cryptographic and system preliminaries. We formalize the core construction in Section 4 and detail the protocol flows in Section 5. The system design is then presented in two parts: Section 6 describes the on-chain execution

Figure

Fig. 1. Obscura-PQ protocol end-to-end architecture. Solid arrows denote protocol actions and transaction submissions; dashed arrows denote reads of on-chain public state. The Client App initiates both phases. Deposit: the client runs CoinKeyGen, sampling a short coin secret (k,s)(k, s) with deterministic blinding e=Hshort(k)e = H_{\text{short}}(k), computes the Ring-SIS commitment C=a1k+a2s+a4eC = a_1k + a_2s + a_4e, stores (k,s,e)(k, s, e) locally, and submits a deposit group (20.101 ALGO, NTT(C)). The on-chain deposit handler checks the fixed denomination and writes NTT(C) into commitment Box Storage BC\mathcal{B}_C. Withdrawal: the client loads (k,s,e)(k, s, e), specifies context μ\mu (including recipient mm), and fetches public commitments {Ci}\{C_i\} from BC\mathcal{B}_C to form a recency-biased, shuffled ring RR. The local prover then computes the serial number sn=a3k+esn = a_3k + e and, with rejection sampling, a lattice AOS/Borromean-style linkable ring signature σ=(c0,{(zk,i,zs,i,ze,i)})\sigma = (c_0, \{(z_{k,i}, z_{s,i}, z_{e,i})\}); the digest sn∗sn^* is the nullifier. Because σ\sigma exceeds application-argument limits, the client streams it on-chain via init/put_proof. The lattice verifier reads {Ci}\{C_i\} from BC\mathcal{B}_C, expands its opcode budget via 1828r inner opup calls to a dummy application, and verifies σ\sigma natively through 9r sequential prep_ntt phases (split NTT and Fiat-Shamir chain fold). After asserting chain closure c=c0c = c_0 (marker = 9r), the withdraw handler records sn∗sn^* in nullifier Box Storage BN\mathcal{B}_N if unspent and settles with three inner payments to mm.

model, while Section 7 covers the implementation and its validation. Finally, Section 8 analyzes security and privacy, Section 9 develops the cost model, and Section 10 concludes. Formal definitions and security arguments are deferred to Appendix A.

References (60)