Small anonymous sets and the quantum threat: why payment system privacy could collapse before ECDSA is cracked

04.11.2026

A survey and research paper: Cryptanalysis of anonymity sets in payment systems with an assessment of quantum risks to cryptographic foundations. Based on: Kuhn, Kate, Strufe, “The Danger of Small Anonymity Sets in Privacy-Preserving Payment Systems” (arXiv:2204.09282v1)

Blockchain-based payment systems are often contrasted with traditional banking as a “private” alternative. An empirical analysis by Kuhn, Kate, and Strufe shows the opposite: under realistic assumptions about user behavior, effective sender anonymity sets are catastrophically small, especially if the protocol reveals the value of the payment. This paper places these results in the context of the quantum threat. We show that quantum computing not only adds another risk but also attacks an orthogonal foundation: cryptographic authentication and integrity, on which privacy depends. These two effects are mutually reinforcing: weak anonymity sets make the “collect now, decrypt later” attack particularly dangerous, and post-quantum migration can worsen privacy due to the growth of signature sizes and the shift in trust assumptions. We formulate testable questions, gather evidence from the original work, and outline experiments that will help distinguish real risk from speculation.

Content

⚙️ Detailed research option

  1. Statement of the problem: double paradox
  2. Physical Mechanism: How Quantum Algorithms Attack Payment Protocols
  3. Anonymous sets: an empirical picture
  4. Synthesis: Why Two Threats Reinforce Each Other
  5. Testable questions and hypotheses
  6. Evidence base and its limitations
  7. Practical recommendations
  8. Conclusion and next experiment
  9. Sources

1. Statement of the problem: double paradox

⚙️ Detailed research option

Bitcoin was conceived as a censorship-resistant and trustless payment system. Privacy was not its primary goal, but it was not considered lost either. However, blockchain analysis quickly revealed that pseudonymity is weak, and the payment graph allows for address linking and user identification [1, 2, 3]. The emergence of specialized “privacy” coins and Bitcoin add-ons was intended to remedy this situation.

The work by Kuhn, Kate, and Strufe [0] poses a difficult question: how large are anonymity sets really? The authors don’t construct yet another cryptographic scheme; they conduct a simulation study using synthetic data calibrated against JoinMarket measurements and real Ripple data. The result is sobering: for typical payment values ​​and realistic frequencies, the anonymity set of a sender with the same payment value has a median close to one. In other words, in many epochs, the sender is unique—and deanonymized by definition.

Paradox number one:  A payment system can be cryptographically resistant to signature forgery while still providing near-zero anonymity, because anonymity is a property  of the set , not of a single cipher. Leaking the payment value destroys the set without breaking any signature.

The second paradox comes from the quantum field. Bitcoin and similar systems rely on ECDSA (secp256k1) for signatures and SHA-256 for hashing. Shor’s algorithm solves the factorization and discrete logarithm problems, which are what make ECDSA secure, in polynomial time. Grover’s algorithm provides a quadratic speedup, weakening the hash function, although not catastrophically. This raises the question: if a quantum computer can forge signatures, what will happen to privacy?

The article’s thesis:  The quantum threat and the problem of small anonymity sets are not two independent problems, but rather interconnected. A quantum attack on signatures destroys authentication, which underpins both routing in payment channel networks and trust in intermediate nodes. Weak anonymity sets make the consequences irreversible: data written today will be decrypted and linked tomorrow.

2. Physical Mechanism: How Quantum Algorithms Attack Payment Protocols

⚙️ Detailed research option

2.1 Shor’s Algorithm and ECDSA Signatures

⚙️ Detailed research option

The security of ECDSA is based on the difficulty of the discrete logarithm problem on an elliptic curve point group. Shor’s algorithm [4] solves the discrete logarithm in polynomial time on a quantum computer, provided there is sufficient coherence and error correction. For secp256k1 (a 256-bit curve), resource estimates vary: on the order of thousands of logical qubits and millions of physical qubits, depending on the error model, with execution times ranging from hours to days. This is not “tomorrow,” but it is not “never” either.

A key point for privacy: in Bitcoin, the public key becomes known to the network the moment funds are spent from an address. Before that, the address is a hash of the public key. An attacker who records the transaction obtains the public key and—with a cryptographically significant quantum computer (CRQC)—can calculate the private key and forge the signature. This is a threat to integrity and ownership, but also a threat to privacy: linking addresses becomes trivial once an attacker can act on behalf of any disclosed key.

2.2 Grover’s Algorithm and Hash Functions

⚙️ Detailed research option

Grover’s algorithm [5] provides a quadratic speedup for unstructured search: 2n classical  operations are converted into ~2n /2  quantum ones. For SHA-256, this means a reduction in effective security to approximately 128 bits against preimage search—not a disaster in itself, but it requires a revision of the parameters. For proof-of-work (PoW), Grover’s algorithm doesn’t provide a dramatic advantage, since mining is already a probabilistic search with a huge space.

Grover poses an indirect threat to privacy: if hash functions are used for commitments or pseudonym construction, weakening the preimage resistance can facilitate attacks on mixing schemes. However, Shor still delivers the brunt.

2.3 What quantum computing doesn’t change

⚙️ Detailed research option

It’s important to distinguish real mechanisms from popular exaggerations. A quantum computer  doesn’t  solve the problem of “de-anonymizing an arbitrary user based on their transaction.” Anonymity is a statistical property of a set, and no quantum algorithm creates missing sets. If the anonymity set is small, quantum computing won’t help an attacker—classical graph analysis is sufficient. Conversely, if the set is large, quantum computing doesn’t necessarily destroy it.

Clarification of the mechanism.  A quantum privacy threat is realized through  the destruction of authentication and trust , not through “direct reading” of the blockchain. The blockchain is already public. The danger is that a quantum attacker could act on behalf of the nodes and keys on whose integrity the mixing and routing protocols rely.

3. Anonymous sets: an empirical picture

⚙️ Detailed research option

3.1 Model and data

⚙️ Detailed research option

The authors of [0] use 100,000 users and 30 replicates for each set of parameters. Payment values ​​are modeled as lognormally distributed with a mean of $84 and a standard deviation of 2.4 (quantiles: $16 — 25%, $84 — 50%, $420 — 75%). The payment intensity is λ ∈ {10, 50, 100}; λ = 50 corresponds to the current payment frequency in different networks (Table I of the original paper). In addition, real Ripple data for January 2013–August 2016 is used: over 800,000 payments, accelerated by a factor of 1000 to bring them to the modern frequency.

3.2 Four types of anonymous sets

⚙️ Detailed research option

TypeWhat is included in the setWhat the protocol must conceal
allAll system usersActivity of each user
activeEveryone who sent payments during the eraTransfer amount
active + valueActive senders with the same valueThe sender’s position in the topology
pathPayments occurring in a common honest nodeRoute and intermediate nodes

3.3 The Main Result: Small Sets

⚙️ Detailed research option

For the type,  active + value the authors report approximately  3,000 fully deanonymized payments on average ; the median is close to 1, and the lower and upper quartiles are 1 and 3–4. In other words, in most epochs, a sender with a given value is unique. Even at high frequency and long epochs (125 min), the number of active users with the same value remains close to one.

FrequencyEraactive (median)active + value (median)
high12.5 min~45.2 thousand1
high125 min~100 thousand1
normal25 min~20.3 thousand1
low25 min~12.6 thousand1

The table is compiled based on the data from Table II of the original work [0]; values ​​are rounded.

3.4 Improvement Strategies

⚙️ Detailed research option

Paying up to the next value.  If the user knows all the values ​​of an epoch and pays up to the next higher value, the relative cost in most cases ranges from a few percent to tens of percent; rare outliers are associated with unlikely, very large payments.

Delay.  Even with a high frequency, the wait for a second payment with the same value to appear exceeds two hours for a significant share of payments. This is a significant negative result: delay is a weak tool.

Scalable value buckets.  The low-cost option limits the relative premium to 10%; the high-cost option limits it to 100%, but dramatically reduces the number of buckets. Results: an average of 27.4 (low-cost) and 1.96 (high-cost) deanonymized payments versus ~3,000 in the original option. Typical bucket sizes are at least 10 users. Fixed $1,000 buckets yield 63.7 deanonymized payments—worse than the scalable option, but better than the original option.

v cheap  = ⌈ v ori  / 10 ⌊log 10  v ori ⌋ − 1  ⌉ · 10 ⌊log 10  v ori ⌋ − 1
v exp   = ⌈ v ori  / 10 ⌊log 10  v ori ⌋  ⌉ · 10 ⌊log 10  v ori ⌋

Path-based sets.  In Ripple data, path sets with a hop time of 2 minutes are unexpectedly large due to several popular intermediate nodes; covering all paths requires 12–18 honest nodes, and in the worst case, up to 150. However, adding the equality condition ( path + value) sharply reduces anonymity: even the expensive bucket strategy cannot save the worst case. Increasing the hop time to 100 minutes (latency up to 16.67 hours for 10 hops) leaves the average path set minimum at around 3.

4. Synthesis: Why two threats reinforce each other

⚙️ Detailed research option

4.1 Weak sets make “harvest now, decrypt later” irreversible

⚙️ Detailed research option

A “collect now, decrypt later” attack involves recording encrypted or public traffic and then processing it on a future quantum computer. For a blockchain, “collection” is trivial: the data is public by design. If the anonymity set is already small, an attacker doesn’t need to wait for a quantum computer to deanonymize most payments. A quantum computer adds the ability to link exposed public keys to identities and forge signatures, but the fundamental weakness—the statistical one—is already embedded in the data.

Corollary 1.  Investments in post-quantum cryptography do not solve the privacy problem if anonymity sets are small. These are orthogonal problems: PQC protects against forgery but does not create sets. Conversely, PQC may worsen privacy—see 4.2.

4.2 Post-quantum migration and privacy

⚙️ Detailed research option

NIST approved FIPS 203 (ML-KEM), FIPS 204 (ML-DSA), and FIPS 205 (SLH-DSA) in August 2024 [6, 7]. The transition to post-quantum signatures carries trade-offs: the sizes of signatures and public keys increase, which increases the load on the blockchain and may make transactions more noticeable in size. Furthermore, changing the signature scheme changes the assumptions about when the public key is revealed, which directly impacts privacy attack models. The NCCoE migration project [8] emphasizes the need for a cryptographic inventory and a phased transition, but privacy concerns are secondary.

4.3 QKD does not solve the anonymous set problem

⚙️ Detailed research option

Quantum key distribution (QKD) provides information-theoretic channel security but does not guarantee anonymity. Furthermore, QKD requires an authenticated classical channel and trusted intermediate nodes over large distances; in payment channel networks, this can increase dependence on specific nodes, which contradicts the idea of ​​distributed trust. For payment privacy, QKD is a supporting, not a decisive, technology.

Consequence 2.  The most vulnerable combination is a payment system that reveals payment values, with small anonymity sets and no post-quantum migration. A quantum attacker gains both statistical deanonymization and the cryptographic ability to act on behalf of the revealed keys.

5. Testable questions and hypotheses

⚙️ Detailed research option

Using the methodological framework “Questions for Research in Quantum Technologies” (Sections 7–9), we formulate the questions to be tested. Each question is accompanied by a criterion that would allow it to be refuted.

  1. Which payment system mechanism is attacked by a quantum computer: signature, hashing, or protocol?
    Verification:  Compare the resource estimates for an attack on ECDSA (Shor) and SHA-256 (Grover) under the same assumptions about quantum hardware. Rebuttal: If protocol attacks are possible without CRQC, the quantum threat is not primary.
  2. Does post-quantum migration improve or worsen the efficiency of anonymity sets?
    Test:  Simulate the anonymity set sizes in a system with ML-DSA instead of ECDSA, preserving the value distribution and frequency. Rebuttal: If the set sizes are statistically unchanged, migration is privacy-neutral.
  3. Are scalable value buckets sufficient to make path + value sets acceptable?
    Verification:  Repeat the [0] analysis on real Ripple data with and without buckets, measuring the median and lower quartile of path + value. Rebuttal: If the lower quartile remains ≤ 3, the buckets are insufficient.
  4. Is delay a rational strategy at a realistic frequency?
    Test:  Measure the distribution of wait times until a second payment with the same value appears. Rebuttal: If the median wait exceeds a threshold acceptable to the user (e.g., 30 minutes), the strategy is irrational.
  5. When is the public key accessible to an attacker in the Bitcoin threat model?
    Verification:  Analyze at what stage of the transaction the key is revealed and compare it with the moment when a quantum attacker could use it. Rebuttal: If the key is never revealed before spending, the attack window is limited.

6. Evidence base and its limitations

⚙️ Detailed research option

6.1 What is empirically confirmed

⚙️ Detailed research option

  • Small  active + value set sizes with realistic value and frequency distributions – confirmed by a simulation on 100,000 users and 30 replications, as well as real Ripple data.
  • Scalable value buckets significantly improve sets at limited cost, as confirmed by distributions and tables.
  • Delay as a strategy is weak, as confirmed by the distribution of waiting times (Figure 4 of the original work).
  • Path-based sets are large due to popular nodes, but collapse when the equality condition is added – confirmed by Ripple data.

6.2 What is an assessment and not an experiment

⚙️ Detailed research option

  • The resource estimates for a quantum attack on ECDSA are theoretical and depend on the error model; this is not a current experiment.
  • The impact of post-quantum migration on privacy is a prediction that requires simulation with specific circuits.
  • Claims of the “inevitability” of quantum hacking are unproven; the correct formulation is an assessment of the future risk under certain assumptions.

Limitations of the original work [0] that are important for synthesis.  The model does not implement a specific P3 system, but rather considers users who would “choose” the same anonymizer. The Ripple data is accelerated by a factor of 1000 and covers the years 2013–2016. The distribution of values ​​is calibrated to JoinMarket, which may not reflect all payment types. These limitations do not invalidate the main conclusion, but they do set the limits of its applicability.

7. Practical recommendations

⚙️ Detailed research option

  1. Don’t rely solely on PQC.  Post-quantum signatures protect integrity but do not provide anonymity. Designers should simultaneously plan for mixing mechanisms and value buckets.
  2. Implement scalable value buckets.  The low-cost option (surcharge ≤ 10%) offers significant gains at a low cost; the high-cost option is suitable for sensitive payments.
  3. Avoid revealing exact values.  If a protocol can hide the sum, it should do so: value leakage is a major factor in small sets.
  4. Evaluate path + value, not just path.  Popular intermediate nodes create the illusion of large sets; adding the equality condition returns the numbers to small ones.
  5. Plan your migration with privacy in mind.  When migrating to ML-DSA/SLH-DSA, measure how transaction sizes and key discovery times change.
  6. Don’t consider QKD a solution to the anonymity problem.  QKD is about the channel, not the set.

8. Conclusion and next experiment

⚙️ Detailed research option

The work of Kuhn, Kate, and Strufe shows that the privacy of payment systems is fragile not because of weak encryption, but because of statistics: there are too many values, epochs are too short, and users are too unique. Quantum computing adds a second front—cryptographic—but operates differently: it destroys the authentication and trust that underpin mixing protocols, making the consequences of existing breaches irreversible.

The most productive next step isn’t arguing about quantum supremacy dates, but a concrete experiment: repeating the [0] simulation with post-quantum signature schemes and measuring how the sizes  active + value of  path + value sets change under realistic value distributions. Such an experiment will distinguish real risk from speculation and provide designers with a measurable criterion.

The main conclusion:  The privacy of payment systems may collapse before ECDSA is broken—not because a quantum computer is weak, but because anonymous sets are already small. The quantum threat makes this weakness irreversible. Defenses must be twofold: statistical (value buckets, hiding amounts) and cryptographic (post-quantum migration), and both aspects must be assessed together.

Sources

⚙️ Detailed research option

  1. [0] C. Kuhn, A. Kate, T. Strufe.  The Danger of Small Anonymity Sets in Privacy-Preserving Payment Systems.  arXiv:2204.09282v1, 2022. (The main source of the empirical data and results.)
  2. [1] S. Meiklejohn et al. A Fistful of Bitcoins: Characterizing Payments Among Men with No Names. IMC, 2013.
  3. [2] D. Ron, A. Shamir. Quantitative Analysis of the Full Bitcoin Transaction Graph. FC, 2013.
  4. [3] F. Reid, M. Harrigan. An Analysis of Anonymity in the Bitcoin System. Security and Privacy in Social Networks, 2013.
  5. [4] P. W. Shor. Algorithms for Quantum Computation: Discrete Logarithms and Factoring. FOCS, 1994.
  6. [5] L. K. Grover. A Fast Quantum Mechanical Algorithm for Database Search. STOC, 1996.
  7. [6] NIST. FIPS 203, 204, 205: Post-Quantum Key Establishment and Digital Signature Standards. Approved August 13, 2024. https://csrc.nist.gov/news/2024/postquantum-cryptography-fips-approved
  8. [7] NIST NCCoE. Migration to Post-Quantum Cryptography. https://www.nccoe.nist.gov/applied-cryptography/migration-to-pqc
  9. [8] National Quantum Initiative. Quantum Science Areas: Computing, Networks, Sensors. https://www.quantum.gov/national-quantum-initiative/
  10. [9] Methodological framework: “Quantum Technologies: 75 questions for a research article” (Russian-language document used for the structure of questions).

Disclaimer: Numerical results on anonymous sets are taken from [0]; quantum resource estimates are theoretical estimates, not experimental demonstrations. This article is of a research nature and does not claim that a quantum break of ECDSA has been achieved.