A research paper on the TRR protocol, Shor’s algorithm, and what remains of transaction privacy when elliptic curves collapse. RR protects anonymity using ECC, and ECC is broken by Shor’s algorithm. Analysis showed that TRR’s security is not monolithic. A quantum attack destroys the confidentiality of TRR queries (L1), partially reveals the route (L2), but does not affect temporal obfuscation (L3). Deanonymization in the quantum world requires both quantum power and network presence. Hypothesis H1 is confirmed in this section; refutation criterion F1 is not satisfied.
However, a question remains that we cannot address within the scope of this article: if TRR migrates to post-quantum cryptography, will its resistance to ABPN attacks be preserved with an acceptable increase in overhead? This is the next testable question, which requires an experiment with an ML-KEM implementation of TRR and a comparison of SRTR, SRD, and the cipher’s growth with classical values.
Anonymity isn’t a binary property. It’s a set of layers, each with its own threat model. A quantum strike removes one layer, but not all. The researcher’s task is to understand which layers remain and build the next one.
Content
- Introduction: The Riddle of Two Worlds
- Statement of the problem and the hypothesis being tested
- How TRR Works: Mechanism and Three Levels of Protection
- Quantum Cryptanalysis: Shor’s Algorithm and secp256k1
- Layered analysis: what exactly is falling
- Resource Assessment: When Will It Become a Reality?
- Post-quantum migration: can TRR be saved?
- Synthesis: The Evolution of Bitcoin’s Anonymity as an Arms Race
- Experimental evidence and reproducibility
- Practical value, risks and open questions
- Conclusion: New Test Question
- Sources
Abstract. In 2015, Shen Tu and Yu proposed the Transaction Remote Release (TRR) protocol, a Bitcoin anonymization technology inspired by TOR. TRR encrypts new transactions layer-by-layer using the elliptic curve secp256k1 and releases them from a remote node with a delay of 1–5 blocks. The authors showed that TRR is resistant to a Bitcoin protocol sniffer, a Sybil attack, a Sybil attack with entry nodes, and a fake node attack. However, the 2015 paper does not consider a quantum adversary. This paper asks: what will happen to the security of TRR if Shor’s algorithm becomes practical? We show that a quantum attack destroys the confidentiality of TRR requests but does not automatically invalidate the anonymity based on random routing and time delay. Deanonymization in the quantum world requires the simultaneous presence of quantum power and network presence. We formulate a testable hypothesis, estimate quantum attack resources, analyze post-quantum migration options for TRR, and link the work to the ATC → ABPN → TRR → PQC research line.
1. Introduction: The Riddle of Two Worlds
Bitcoin was born in 2008 as a system of “pseudo-anonymity.” The word “pseudo” is key: addresses aren’t directly tied to identities, but the public blockchain and peer-to-peer network provide a layer of privacy. Over the past decade and a half, two families of anonymity attacks have emerged: Analysis of the Transaction Chain (ATC) and Analysis of the Bitcoin Protocol and Network (ABPN). ATC works with the blockchain; ABPN works with the network.
In 2015, Shen Tu and Yu published the TRR protocol , a response to ABPN attacks. The idea is simple and elegant: encrypt a new transaction layer by layer, like in Tor, and release it from a randomly selected remote node with a delay. The attacker doesn’t see the sender, but only the releasing node, which, moreover, doesn’t know the client’s IP address.
But TRR has a cryptographic foundation: the elliptic curve secp256k1. And it is precisely this foundation that Shor’s algorithm attacks. This creates a paradox: a system built to protect anonymity relies on a primitive that a quantum computer can break.
If Shor’s algorithm becomes practical, does all the anonymity of TRR disappear, or does the protocol have layers of protection independent of ECC?
This article attempts to answer this question without promising sensationalism or substituting a forecast for analysis. We are not claiming that a quantum computer will break Bitcoin tomorrow. We are exploring the threat structure : which properties of TRR depend on ECC, and which depend on information unaffected by quantum computing power.
2. Statement of the problem and the hypothesis being tested
Following the logic of the research constructor, we selected questions from the sections on problem statement, quantum advantage, cryptography, and reproducibility. Below is the central question and hypothesis.
2.1. The Central Question
If a quantum computer can compute the discrete logarithm in the group secp256k1, will this break the anonymity of TRR—or does TRR’s security rely on other assumptions that a quantum attack does not affect?
2.2. Hypothesis
H1. A quantum attack on ECC destroys the confidentiality of TRR requests, but does not automatically invalidate the anonymity properties based on (a) random routing and (b) time delay. Deanonymization in the quantum world requires both quantum power and network presence (sniffer, relay node, fake node). A quantum attacker without network presence gains little against network TRR levels.
2.3. Refutation criterion
F1. If an attacker capable of breaking ECC but lacking network presence (not observing TRR traffic or controlling route nodes) still deanonymizes a TRR user, then hypothesis H1 is false. However, if successful deanonymization requires both quantum power and network presence, then H1 remains valid.
2.4. Selected questions from the constructor
| No. | Formulation (abbreviated) | Role in the article |
|---|---|---|
| 1 | What specific problem does the technology solve and for whom is it important? | Motivation: Bitcoin’s anonymity |
| 2 | What question seems paradoxical but can be tested? | The ECC vs. Quantum ECC Paradox |
| 4 | How to formulate a hypothesis and what could disprove it? | H1 and F1 |
| 37 | What is the best classical method that the approach compares to? | TRR vs. Classic ABPN |
| 39 | What is claimed: theory, experiment or usefulness? | Separation of theoretical attack and 2015 experiment |
| 49 | What cryptographic problem is being considered? | Discrete logarithm on secp256k1 |
| 50 | Which quantum algorithm is applicable and under what assumptions? | Shor’s algorithm |
| 51 | What are the logical and physical resource estimates? | Section 6 |
| 52 | What data is available to the attacker and what is not? | TRR node public keys |
| 54 | What is the difference between QKD and post-quantum cryptography? | Migrating TRR to PQC |
| 56 | When is the desired public key available to the attacker? | TRR node keys are always public |
| 44 | What control experiments and alternative explanations are provided? | Classic TRR experiments |
| 46 | Is the data and code available? | Reproducibility |
| 69 | What issues remain open? | Section 10 |
| 70 | What further experiments will distinguish between the explanations? | New question in conclusion |
3. How TRR Works: Mechanism and Three Levels of Protection
Let’s look at a minimal example from the article: client S selects three nodes— A (initial), B (intermediate), and C (release). The route is random, and the length is between 3 and 5 nodes. The client forms a request trr_data (transaction + release delay), then encrypts it layer by layer:
trr_dataRouting information for C is added , everything is encrypted with C’s public key .- The routing information for B is added to the result , everything is encrypted with B’s key .
- The routing information for A is added to the result , everything is encrypted with the key A .
- The request is sent to A over a separate TCP connection, outside of the Bitcoin propagation mechanism.
- A decrypts its layer, sees B’s IP , and forwards the remainder. B repeats and forwards it to C.
- C decrypts the final layer, sees the transaction, waits for a delay of 1-5 blocks, and releases the transaction to the Bitcoin network.
Key property: A knows the client’s IP but doesn’t see the transaction; C sees the transaction but doesn’t know the client’s IP. This is a TOR-like decoupling.
3.1. Three independent levels of TRR protection
| Level | What protects | What is it based on? | Does quantum attack affect? |
|---|---|---|---|
| L1. Confidentiality | Transaction and route contents | ECC secp256k1, layered encryption | Yes, directly |
| L2. Route uncertainty | Who is connected to whom? | Random selection of 3-5 nodes from active ones | Partially |
| L3. Temporal obfuscation | When the transaction appeared on the network | Delay 1-5 blocks | No |
This distinction is the basis of our hypothesis. A quantum attack on ECC attacks L1. But L2 and L3 are not cryptographic in the strict sense: they rely on randomness and timing. Shor’s algorithm does not affect them.
4. Quantum Cryptanalysis: Shor’s Algorithm and secp256k1
Shor’s algorithm (1994) solves two problems in polynomial time: integer factorization and discrete logarithm in finite fields and on elliptic curves. The secp256k1 problem is formulated as follows: given a point G and a point P = kG , find k .
P = k · G → k = log G P
The classically best-known algorithm—Pollard’s ρ-method—requires approximately O (√ n ) operations, where n is the order of the base point. For a 256-bit curve, this is approximately 2,128 operations —computationally infeasible. Shor’s algorithm reduces the problem to a polynomial number of quantum operations.
4.1 Why is this particularly sensitive for TRR?
In Bitcoin, a user’s public key is revealed only when the coins are spent (in scriptSig a witness). Before that, only the hash address is public. A quantum attacker has a window, but it’s not infinite.
TRR is different. The article explicitly states: “Each node discloses its public key and IP address to other nodes .” The public keys of TRR nodes are always public . This means a quantum attacker can calculate the private keys of all nodes in the route in advance, without waiting for any event. The entry threshold for a quantum attack on TRR is lower than for attacks on regular Bitcoin addresses.
An important distinction. Breaking the ECC in TRR doesn’t immediately break Bitcoin as a whole. However, it does mean that any passive observer who recorded TRR traffic will be able to decrypt it retroactively once a sufficiently powerful quantum computer emerges. This is a classic ” harvest now, decrypt later ” scenario .
5. Layered analysis: what exactly is falling
Let’s break down the attack into scenarios. Let Q be a quantum attacker capable of solving ECDLP on secp256k1. Let N be his network presence.
| Scenario | What the attacker sees | What does quantum power give? | Result for anonymity |
|---|---|---|---|
| Q without N | Only what is broadcast to the Bitcoin network (transaction from C) | Can compute node keys but does not have the TRR request ciphertext | Anonymity is maintained: L2 and L3 are working |
| N without Q | TRR requests, but encrypted | — | The classic scenario from the 2015 article: TRR is stable |
| Q + passive N (sniffer) | Recorded TRR requests | Decrypts all layers, sees the transaction and the full route | L1 falls; L2 partially falls (route revealed); L3 remains |
| Q + active N (fake node) | A request addressed to him as a relay | Deciphers not only its own layer, but also subsequent ones | One fake node in the route recognizes the transaction, which a classic fake node could not |
| Q + N at the input node | Client connection to A | Decrypts the entire request | Client deanonymized: IP + transaction at one opponent |
5.1 Key Conclusion
Analysis result. Quantum power amplifies existing network attacks, but does not create deanonymization out of thin air. An attacker Q+N at the entry node obtains what TRR was trying to prevent: simultaneous knowledge of the client’s IP address and the transaction contents. However, an attacker Q without N obtains nothing beyond what a typical blockchain observer sees. Hypothesis H1 is confirmed in this section.
5.2 What happens to fake TRR nodes?
This article analyzes a fake TRR node attack: the adversary adds nodes that support the TRR protocol and collects route and transaction information. The success rate (SRD) depends on the proportion of fake nodes (RFTN) and the route length. With three routes and four to five nodes in each, the SRD is <0.6% even with an RFTN of 10%, and <6.3% with an RFTN of 30%.
In the quantum world, a fake node gains an additional advantage: it can decrypt not only its own layer but also subsequent layers, meaning it can see a transaction while still in the middle of the route. This increases the value of each fake node but does not change the probability of being included in the route. In other words, quantum power changes the quality of information received by a fake node, but not the frequency of its inclusion in the route.
6. Resource Assessment: When Will It Become a Reality?
Estimates of ECDLP resources on a 256-bit curve vary in the literature, but are generally convergent. Below is a summary of known studies.
| Parameter | Grade | Source / comment |
|---|---|---|
| Logical qubits | ~2,300–2,500 | Roetteler et al., 2017 (for 256-bit ECDLP) |
| Toffoli gates | ~1.26 × 10 11 | Ibid. |
| Physical qubits (surface code) | ~10 6 –10 7 | Depends on the error probability and code distance |
| lead time | Hours – days | Depends on clock frequency and circuit depth |
| Current state (2026) | Demonstrations on low-dimensional curves | Cryptographically significant ECDLP-256 not achieved |
A fair comparison. We’re not claiming such a computer exists. We’re claiming that if it were to appear, TRR would face the problem of retroactive decryption : TRR traffic recorded today could be decrypted in the future. This argues for migrating to post-quantum circuits before , not after, the threat emerges.
7. Post-quantum migration: can TRR be saved?
In August 2024, NIST approved FIPS 203 (ML-KEM), FIPS 204 (ML-DSA), and FIPS 205 (SLH-DSA). FIPS 203 is most relevant for TRR: the protocol requires a key encapsulation scheme or public-key encryption for layer-by-layer request encryption.
7.1. Options for replacing ECC in TRR
| Option | Pros | Cons | Impact on TRR |
|---|---|---|---|
| ML-KEM (FIPS 203) + symmetric encryption | Standardized, relatively compact keys | This is KEM, not PKE; protocol adaptation is needed. | Request size growth, but moderate |
| Code cryptography (Classic McEliece) | A long history of analysis | Very large public keys (hundreds of KB) | A sharp increase in route overhead costs |
| Hybrid: ECC + PQC | Backward compatibility, protection against both classes of attacks | Double costs | Transition period; increase in delay |
A 2015 paper cites ciphertext growth for ECC: from 1.22 to 3.35 times, depending on the plaintext length (256–10,240 bytes). Post-quantum schemes yield greater growth, especially for short messages. This could degrade one of the key practical properties of TRR—limited cipher growth.
Tradeoff. Post-quantum migration of TRR isn’t a free swap of one primitive for another. It’s a rethinking of the balance between anonymity, latency, and throughput. This is where a new testable question arises: will TRR maintain its resilience to ABPN attacks with an acceptable increase in overhead?
8. Synthesis: The Evolution of Bitcoin Anonymity as an Arms Race
Let’s link the works on which the 2015 article is based into a coherent study.
| Stage | Job | What has been done | Answer |
|---|---|---|---|
| 1. ATC | Reid & Harrigan (2012); Ron & Shamir (2013) | Blockchain address clustering | CoinJoin, Zerocoin, Zerocash |
| 2. ABPN | Koshy et al. (2014); Biryukov et al. (2014) | Linking a transaction to an IP via P2P traffic | TOR, but TOR is vulnerable to middleman |
| 3. ABPN+ | Biryukov & Pustogarov (2015) | Fake nodes, address cookies | TRR (2015): random route, delay |
| 4. Quantum cryptanalysis | Shor (1994); Roetteler et al. (2017) | Polynomial ECDLP | PQC Migration (FIPS 203/204/205) |
Each stage is a response to the previous one. TRR was a response to ABPN+. Quantum cryptanalysis is the next challenge, which the 2015 TRR fails to address because it doesn’t consider a quantum adversary. Our paper integrates TRR into this lineage and shows that its security is not monolithic: L1 falls, while L2 and L3 remain.
8.1 Compatibility and contradictions
- Compatibility: TRR and PQC migration are not mutually exclusive approaches. TRR can be rewritten using post-quantum primitives while preserving routing and latency.
- Complementary: ATC and ABPN analysis, combined with quantum analysis, provides a three-dimensional picture of threats: blockchain, network, cryptography.
- Contradiction: The 2015 paper’s claim that TRR “renders several typical attack methods of ABPN ineffective” is only true for a classical adversary. In the quantum world, this assertion requires a caveat.
9. Experimental evidence and reproducibility
It is important to clearly distinguish between what is experimentally proven in the 2015 article and what is a theoretical assessment.
| Statement | Status | Data |
|---|---|---|
| SRTR with 3 routes and 5 nodes, 10% dishonest nodes | Experiment / calculation | ~93% |
| SRD for 3 routes, 4–5 nodes, RFTN = 10% | Experiment / calculation | < 0.6% |
| SRD at RFTN = 30%, 3 routes, 5 nodes | Experiment / calculation | < 6.3% |
| Ciphertext growth (256–10,240 bytes) | Experiment | 1.22–3.35× |
| Time for 5 layers of encryption/decryption | Experiment (Intel i7-5500, 16 GB, Windows 8) | 1.73–3.05 s |
| Resistance to quantum attack | Theoretical analysis | Not experimental |
The reproducibility of classical TRR experiments is limited: the paper does not provide the full code or configurations. However, the algorithm is described in sufficient detail to allow independent implementation. For the quantum part, reproducibility is different: we are dealing with resource estimates, not a completed attack.
The Rule of Separation. We do not confuse simulation with experiment, nor theoretical assessment with observation. A quantum attack on TRR today is a thought experiment based on known resource estimates, not a measured outcome.
10. Practical value, risks and open questions
10.1 Who needs this?
- For Bitcoin users who value transaction privacy.
- For anonymization protocol developers planning post-quantum migration.
- For quantum computing researchers who need realistic threat scenarios.
- For standards professionals evaluating the applicability of FIPS 203/204/205 to network protocols.
10.2. The minimum demonstration that will convince
A quantum computer that can perform ECDLP on a 256-bit curve in a reasonable time with error correction. Until then, all estimates remain theoretical.
10.3. Risks and Limitations
- Dual-use risk: the same device that protects can also attack.
- Vendor Dependency: PQC schemes can have different implementations with different side channels.
- Transition cost: Increased request size and latency can make TRR less practical.
- Timing uncertainty: We don’t know when a cryptographically significant quantum computer will be available; we only know that resource estimates converge.
10.4. Open questions
- Is it possible to rewrite TRR to ML-KEM without losing resistance to ABPN attacks?
- How will SRTR and SRD change with post-quantum primitives with large keys?
- Will release delay remain an effective measure against a quantum adversary?
- Which hybrid schemes (ECC + PQC) will provide the best balance during the transition period?
11. Conclusion: New Test Question
We began with a paradox: TRR protects anonymity using ECC, but ECC is broken by Shor’s algorithm. Analysis showed that TRR’s protection is not monolithic. A quantum attack destroys the confidentiality of TRR queries (L1), partially reveals the route (L2), but does not affect temporal obfuscation (L3). Deanonymization in the quantum world requires both quantum power and network presence. Hypothesis H1 is confirmed in this section; refutation criterion F1 is not satisfied.
However, a question remains that we cannot address within the scope of this article: if TRR migrates to post-quantum cryptography, will its resistance to ABPN attacks be preserved with an acceptable increase in overhead? This is the next testable question, which requires an experiment with an ML-KEM implementation of TRR and a comparison of SRTR, SRD, and the cipher’s growth with classical values.
Anonymity isn’t a binary property. It’s a set of layers, each with its own threat model. A quantum strike removes one layer, but not all. The researcher’s task is to understand which layers remain and build the next one.
Sources
- Nakamoto S. Bitcoin: A Peer-to-Peer Electronic Cash System. 2008. URL: https://bitcoin.org/bitcoin.pdf
- ShenTu Q., Yu J. Transaction Remote Release (TRR): A New Anonymization Technology for Bitcoin. arXiv:1509.06160, 2015.
- Reid F., Harrigan M. An Analysis of Anonymity in the Bitcoin System. Security & Privacy in Social Networks, 2012.
- Ron D., Shamir A. Quantitative Analysis of the Full Bitcoin Transaction Graph. Financial Cryptography and Data Security, 2013.
- Koshy P., Koshy D., McDaniel P. An Analysis of Anonymity in Bitcoin Using P2P Network Traffic. Financial Cryptography and Data Security, 2014.
- Biryukov A., Khovratovich D., Pustogarov I. Deanonymization of Clients in Bitcoin P2P Network. arXiv:1405.7418, 2014.
- Biryukov A., Pustogarov I. Bitcoin over Tor isn’t a good idea. arXiv:1410.6079, 2015.
- Shor PW Algorithms for Quantum Computation: Discrete Logarithms and Factoring. FOCS, 1994.
- Roetteler M., Naehrig M., Svore KM, Lauter K. Quantum Resource Estimates for Computing Elliptic Curve Discrete Logarithms. ASIACRYPT, 2017.
- NIST. FIPS 203, 204, 205. August 2024. URL: https://csrc.nist.gov/news/2024/postquantum-cryptography-fips-approved
- NIST NCCoE. Migration to Post-Quantum Cryptography. URL: https://www.nccoe.nist.gov/applied-cryptography/migration-to-pqc
- Maxwell G. CoinJoin: Bitcoin privacy for the real world. BitcoinTalk, 2013.
- van Saberhagen N. CryptoNote v2.0. 2013.
- Miers I., Garman C., Green M., Rubin A. Zerocoin: Anonymous Distributed E-Cash from Bitcoin. IEEE S&P, 2013.
- Ben-Sasson E., Chiesa A., Garman C., et al. Zerocash: Decentralized Anonymous Payments from Bitcoin. IEEE S&P, 2014.
- Syverson P., Goldschlag D., Reed M. Anonymous Connections and Onion Routing. IEEE S&P, 1997.
- SEC2: Recommended Elliptic Curve Domain Parameters. URL: http://www.secg.org/collateral/sec2_v2.pdf
