Could a neural network that has memorized 100,000 key pairs be the beginning of a crack at elliptic curve cryptography? This question is of interest not only for machine learning: it allows us to clearly see how a potential quantum attack differs from a large reference book. This paper provides a critical analysis of Lily Erickson’s eight-page preprint, “Mage: Cracking Elliptic Curve Cryptography with Cross-Axis Transformers,” arXiv:2512.12483v3, and an independent recalculation of its probabilistic and resource arguments. Three models are compared: key recovery from a public point, a physical measurement leakage attack, and a quantum solution to the discrete logarithm.
The main result of the computational audit: remembering m distinct pairs while uniformly choosing a key from space N yields m/N coverage, not the coverage determined by the birthday paradox. For 10¹⁸ remembered keys and 7.3 x 10⁷ independent target keys, the probability of at least one match is approximately 6.30 x 10⁻⁵², not 0.00024%. The Mage experiments themselves report no improvement on new data after 35 million examples. This is a negative result for a specific experiment, but not a proof of the impossibility of machine cryptanalysis. [web:28]
The new contributions of this paper include a unified threat model, revised coverage formulas, dimensionality auditing, separation of byte-precision and full-precision metrics, and a verifiable plan for further research. This paper presents a review with its own computational audit, rather than a new hardware experiment or a replication of CAT training.
Keywords: ECDLP; secp256r1; secp256k1; machine learning; quantum cryptanalysis; Shor’s algorithm; key space coverage; reproducibility. Date prepared: October 31, 2026.
1. Intrigue: Why “99% accuracy” doesn’t mean anything about hacking
Let’s imagine two devices. The first saw a specific public point during training and returns the stored secret. The second receives a previously unknown point and calculates the corresponding scalar. Both seemingly answer the same question, but only the second demonstrates a generalized algorithm for solving ECDLP. The difference manifests itself with independent keys not included in the training set.
In Mage, a model with 784 million parameters achieves approximately 99% accuracy on training data of 100,000 pairs, while the test accuracy remains around 1/256. When continuously generating new pairs, training on 350 batches of 100,000 examples yields no improvement. It is this gap, rather than the alarming extrapolations of the conclusion, that is the meaningful experimental result of the work (PDF, pp. 3–4). [web:28]
The central question of the article is: what observation truly separates memorization from private key computation, and how then should classical AI compare to a quantum algorithm? Our testable hypothesis: the claimed estimates of the mass hack of Mage do not follow from its observations if the correct probability of hitting a pre-stored set is used.
2. How the question is chosen: using your research constructor
All 12 topic sections, the workflow matrix, the worksheet, and the checklist were examined from the original HTML. For this topic, a linked set of questions was selected rather than a mechanical answer for the entire constructor. The numbering below indicates the section of the original document and the sequential number of the questions within it; this is not a new continuous numbering.
| Constructor block | Selected questions | Role in research |
|---|---|---|
| Statement of the problem | 1.1, 1.2, 1.4, 1.5 | Object, paradox, hypothesis and boundaries. |
| Mechanism | 2.1, 2.5 | Distinguish memorization from interference quantum algorithm. |
| History and comparison | 3.3, 3.6 | Link Mage, side-channel, and Shor’s resource estimates. |
| Mathematical model | 5.2, 5.4 | Input data, preparation and classical/quantum parts. |
| Reliability and comparison | 6.2, 7.1, 7.2 | Logical and physical qubits, the same goals and probability of success. |
| Proof | 8.1, 8.3, 8.4 | Result status, statistics and code availability. |
| Cryptographic profile | 9.1–9.4, 9.6–9.8 | ECDLP, algorithm, resources, threat model, Bitcoin, protection and forecast limits. |
| Synthesis | 12.2, 12.5, 12.7 | Crucial tests and the next research question. |
Questions about the range of quantum communication and sensor sensitivity are not relevant here. The cryostat temperature is also not derived from the Mage experiment: it does not contain quantum equipment. The source of the methodological framework is the user-submitted “Questions for Quantum Technology Research” [file:1].
3. Threat model: what exactly does the researcher get?
Let G be a point of order r on an elliptic curve, d be a private scalar, and Q=[d]G be a public point. In the usual model, d is chosen uniformly from 1,…,r−1. For valid scalars, the mapping in the subgroup is unique. ECDLP requires reconstructing d from G and Q. Here, it is important to distinguish three numbers: p is the modulus of the coordinate field, r is the order of the subgroup, and 256 is the serialization length of the scalar in bits. A byte with the range 0–255 is not the modulus of the P-256 field.
For the numerical illustrations below, we use N≈2²⁵⁶. This is an approximation of the cardinality of the space of valid private keys, not a statement that all 32-byte strings are valid: zero and values outside the required range are excluded. For real P-256, r−1 should be substituted; the difference does not change the conclusions by tens of orders of magnitude. Classical general methods like Pollard rho have a scale of about √r group operations; this is where the benchmark of about 128 bits of classical security comes from, not the number of byte overflows. A review of the ECDLP formulation and quantum implementation is given by Roetteler et al. [web:13]
| Model | Input data | What is considered success? |
|---|---|---|
| Mage: Public data only | Public point; separate – training pairs. | The exact d for a new point not seen during training. |
| Memorization | A set of m pre-known pairs. | Find the target Q among these m pairs and return d. |
| Side-channel | Additionally, the energy consumption trace of a specific implementation. | Extracting nonce or key information from a leak. |
| Quantum ECDLP | G, Q, group parameters and quantum implementation of arithmetic. | Calculate d with a given probability of success. |
The result in the line with the physical leak cannot be attributed to an attack that only obtains the public key. These are different conditions, not different implementations of the same experiment.
4. What was actually measured in Mage
| Experiment from PDF | Reported result | Acceptable output |
|---|---|---|
| 5,000 pairs, intentional retraining | About 99% training accuracy after 39 epochs. | The model is capable of fitting a small repeatable set. |
| 100,000 pairs; test set 38,200 | Around 99% in training by the 14th epoch; validation is near random, validation loss is increasing. | Overfitting is observed without any useful transfer to independent keys. |
| New pairs per serving: 350×100,000 | 35 million examples; no improvement found. | In this mode and with this budget, training did not show any ECDLP solutions. |
| Set of 10 million pairs | Generated, but the corresponding training has not been completed to the stated result. | The statement that it “would not present any difficulties” is an expectation, not a measurement. |
All values in the table are the author’s reports, not our independent training runs (PDF, pp. 3–4, 7). [web:28]
Changing the β₁ of the AdamW optimizer to zero may affect the dynamics of a specific training run, but the graphs don’t prove that cryptographic randomness “broke gradient descent.” Controlled comparisons with the same data, learning rate, budget, and multiple random initializations are needed. A reduction in loss on a repeated set does not, by itself, reveal the mathematical method of inversion.
The author explicitly refuses to publish the training code, weights, and architecture of this particular project. A separate CAT repository and CSV plots are mentioned, but their availability is no substitute for a complete, reproducible package. In this study, the repositories and training were not reproduced; their correctness cannot be confirmed, nor can the author be accused of intentional manipulation based on a single PDF.
5. Why byte precision is not equal to the probability of obtaining a key
In PDF, the randomness level is defined as 1/256≈0.00390625. This is a natural benchmark for guessing a single uniform byte, but not an entire 256-bit string. Therefore, the metric in the graphs presumably refers to bytes/tokens; the precise definition without the code remains unclear. For uniform guessing of an entire key, the benchmark is approximately 2⁻²⁵⁶.
Accuracy_key = proportion of examples for which d_pred = d_true
Valid_key_rate = proportion of examples for which [d_pred]G = Q
Cryptographically, it’s the full verification of the predicted scalar, not the average percentage of matching bytes, that’s useful. Even 99% byte-by-byte accuracy doesn’t mean 99% of keys are fully recovered. Assuming independent, identical errors across positions, we get 0.99³²≈0.725. This is just an illustration: real errors can be highly dependent, and it’s impossible to calculate full accuracy without measuring them.
Additional verification: for standard cross-entropy with the natural logarithm over 256 equally probable classes, the uniform predictor loss is ln(256)≈5.545. The plot of the recent data shows approximately 4.8438. This is not proof of error: a different loss definition, masks, label transformations, or mapping features are possible. However, a reproducible description should explain the discrepancy. An unknown loss normalization prevents us from declaring the discovery of a hidden structure.
Test values around a random line require confidence intervals and a best-epoch correction. If we consider 38,200×32 bytes as independent trials, the standard error at p₀=1/256 is approximately 5.64 10⁻⁵; independence here is only a diagnostic assumption. It is more reliable to analyze entire keys, repeat training, and take into account the inter-key error dependence. We did not perform these statistical tests on the original predictions: the predictions themselves were not provided.
6. The main mistake: three different problems instead of one paradox
In Mage, the birthday paradox is used to transition from full keyspace coverage to a “50% chance” of obtaining the victim’s key. However, the probability of any two random elements matching and the probability of a given target being included in a fixed table are different events. The source for birthdays referenced in the PDF does exist: Handbook of Applied Cryptography; the reference itself doesn’t make this transition valid. [web:46]
6.1 Any collision among random samples
P_collision ≈ 1 − exp(−t(t−1)/(2N))
t₅₀ ≈ √(2N ln 2) ≈ 1.177√N
For N≈2²⁵⁶, this is about 4.01 x 10³⁸ samples. This refers to the coincidence of two elements within a random sample with repetitions. If private scalars are enumerated without repetitions, then under the one-to-one mapping d↦[d]G, the complete public points are also non-repeating. A collision of pre-generated keys does not yield the private key of an unauthorized user.
6.2. One independent target and a fixed table
P_hit = m/N
P_hit = 1/2 ⇒ m = N/2
The formula is exact for a set of m distinct scalars and a uniformly chosen independent target. Therefore, for “half of all keys,” approximately 5.79 x 10⁷⁶ distinct pairs need to be remembered, not on the order of √N. This is the key result of the analytical audit. It is independent of whether the table is stored in a file, a hash table, or a neural network.
6.3. Many independent goals
P_any = 1 − (1 − m/N)ⁿ
For nm/N ≪ 1: P_any ≈ nm/N
n = ln(1 − P_any) / ln(1 − m/N)
Here n is the number of independent uniform target keys, not the number of network packets. In the PDF on page 7, the formula for P is essentially correct, but when inverting the function, the numerator is ln(p), not ln(1−p). For p=0.5, the error is unnoticeable; for other probabilities, it is not. The paper’s tabular results also disagree with its own coverage formula.
If queries reuse the same key, they cannot be considered new independent chances: repeated observations do not increase coverage. For target keys chosen without repetition, the exact probability is 1 − C(N − m,n)/C(N,n); for n ≪ N, it practically coincides with the specified independent sampling model. For non-uniform keys, the answer depends on the probability distribution and the mass of the covered set, not just on m.
7. Independent recalculation of “practical hacking points”
For comparability, we’ll use the PDF scenario: 200,000 × 365 × 500 = 73,000,000 events per year. Even optimistically treating each event as an independent new key yields the following table. The space is assumed to be 2²⁵⁶; all m keys in the table are assumed to be distinct and fully searchable.
| Remembered pairs m | Goals n | Probability of at least one match | The same probability in % |
|---|---|---|---|
| 100,000 | 7.3 10⁷ | 6.3044E-65 | 6.3044E-63 |
| 35,000,000 | 7.3 10⁷ | 2.2065E-62 | 2.2065E-60 |
| 1,000,000,000,000 | 7.3 10⁷ | 6.3044E-58 | 6.3044E-56 |
| 1,000,000,000,000,000,000 | 7.3 10⁷ | 6.3044E-52 | 6.3044E-50 |
| 1,000,000,000,000,000,000,000 | 7.3 10⁷ | 6.3044E-49 | 6.3044E-47 |
Mage lists 0.00024% for m=10¹⁸, or 2.4 x 10⁻⁶ in fractions of a unit. Recalculation yields approximately 6.30 x 10⁻⁵²: the difference is approximately 45.6 decimal orders. For m=10²¹, the paper lists 0.14%, while the coverage model yields 6.30 x 10⁻⁴⁷%. These values cannot be explained by rounding. The original numbers are on pp. 7–8 of the PDF; the corrected numbers are the result of our calculation. [web:28]
The inverse question is more useful than the sensation: how many pairs are needed for a 50% probability of at least one hit among 73 million independent targets? The solution m = N (1−2⁻¹/ⁿ) yields approximately 1.10·10⁶⁹ pairs. This is significantly less than half the space, but still not comparable to 10¹⁸ or 10²¹.
The birthday paradox does indeed arise when two independently randomly selected sets are of comparable size: the chance of their intersection becomes significant for mn of order N. However, for a fixed n, the requirement for m cannot be automatically replaced by √N. The classical Pollard rho uses specially constructed relationships between group elements; this does not prove that a directory of √N known secrets covers half of the users.
8. Audit of tables: arithmetic, units and costs
| PDF Regulations | Examination | Output value |
|---|---|---|
| 256³²=1.57·10⁷⁷ (Table 4) | 256³²=2²⁵⁶≈1.157920892·10⁷⁷. The original value is overestimated by approximately 35.6%. | The basic power of the space needs to be corrected. |
| 3.4 10³⁸×1169=3.4 10⁴¹ | The product is equal to 3.9746·10⁴¹. | The arithmetic is wrong, but more importantly the incorrect interpretation of the cost of the group step. |
| The cost of memorizing the CAT in Table 4 | The line prints a multiplier of 4.75 x 10⁶, but the result is close to using 6.84 x 10⁹. | The formula and the result are not agreed upon. |
| One trillion pairs “just under 300 TB” | (33+32)×10¹²=65·10¹² bytes=65 TB≈59.1 TiB without service data. | You cannot multiply bytes by 8 and then treat the result as bytes. |
| 100 thousand pairs and a model of ≈1.5 GB | Compact array: 6.5 MB; 784 million x 2 bytes = 1.568 GB of weights. | At the scale shown, the weights are approximately 241 times larger than the pair array. |
| 10 million pairs ≈7.5 GB | A compact representation of 65 bytes/pair gives 650 MB. | 7.5 GB may be the size of a specific serialization; it is not a lower storage limit. |
| Converting FLOPs to CPU cycles | Hardware measurements, accuracy, packet size, flows, memory access, and real time are needed. | Peak throughput is not equal to the full cost of the algorithm. |
| For Llama 3.1 405B, 1.52 x 10²⁵ inference FLOPs are given | There is no sufficient cost derivation for a particular input length and key decoding method. | This figure cannot be used as a verified basis for comparison. |
Source Statement Locator: PDF, tables 2-7 and conclusion, pp. 5-8. [web:28] Array sizes here are my own calculation for a compressed public point of 33 bytes and a private scalar of 32 bytes, without index, metadata, filesystem, or replication.
Even if we retain the original CAT cost of 6.84 x 10⁹ cycles per pair memorization and extend it linearly to half the space, we get approximately 3.96 x 10⁸⁶ cycles. This is not a reliable prediction of the training time: it may scale differently, and the final model may not have the required capacity. But this figure shows that the corrected coverage model does not provide the promised equivalent of “cracking a hundred keys.”
In the same hypothetical model, 6.84 x 10⁹ / 4.75 x 10⁶ = 1440: memorizing a pair requires 1440 times the author’s estimate of its generation. This in itself does not exclude the amortization of precomputations for many queries, but it also does not prove the economic advantage of the neural network.
9. Can a neural network be a “super-compressed rainbow table”?
The term “rainbow table” is used loosely in Mage. A standard known-pairs dictionary and a rainbow table with chains and time-memory tradeoffs are not the same thing. Searching a sorted array can require O(log m) comparisons, while a hash table is expected to require O(1) accesses under suitable conditions. Therefore, an O(m) linear traversal is not a necessary baseline. For a fair comparison, latency, index size, random reads, batch processing, power consumption, and overall precision should be measured.
Strong compression is possible when the data has a compact rule. The Q=[d]G correspondence is indeed defined by a short forward algorithm. However, the compactness of the function description does not imply the existence of a fast method for inverting it. It is impossible to simultaneously assume that the model merely remembers random answers and attribute to it unlimited algorithmic compression without verification.
Illustrative budget: 784 million parameters at 16 bits per parameter—12.544 billion bits. If we store independent arbitrary 256-bit labels for a known set of inputs, this would be enough for approximately 49 million labels, even before addressing. This is not a lower bound for the complexity of ECDLP or a proof of the impossibility of inversion: the cryptographic mapping has structure. This number merely illustrates why extrapolation to 10¹⁸ stored random pairs cannot be justified by a single successful training on 10⁵ pairs.
A verifiable claim about neural network compression should include the “number of pairs – model size – full recovery accuracy” curves, as well as comparisons with a compact array and a disk/RAM index. The published experiment did not demonstrate scaling the dataset to 10 million with full accuracy testing. Potentially interesting work here is exploring the capacity and generalization bounds, rather than declaring a solved curve.
10. How are the works in the Mage bibliography connected—and where do the connections break?
| Link to original PDF | What was established | Correct role |
|---|---|---|
| [1] Battistello et al., 2025 | Preprint arXiv:2502.17330 exists; LSTM analyzes power trace and recognizes micro-ecc operations, demonstrated on STM32F415. | Justification of the usefulness of ML under leakage; not a solution to ECDLP only on Q. [web:26] |
| [2] Reinsel, Gantz, Rydning, 2018 | Mage uses the global datasphere forecast. | A rhetorical comparison of scale, not cryptographic proof. The number 172 ZB and the origin of the specific valuation have not been independently verified. |
| [3] Cross-Axis Transformer, arXiv:1804.09028 | The identifier points to “Estimate and Replace” by Guy Hadash et al., 2018, not to the cited work by Erickson. | Bibliographic error: CAT source needs to be corrected before relying on its proven benefits. [web:27] |
| [4] Ansari, Hasan, 2006 | A corresponding technical text and a later journal publication on hardware arithmetic over GF(2ᵐ) were found. | Data for a specific binary field/architecture; not a ready CPU cycles metric for P-256 over a simple field. [web:51] [web:45] |
| [5] Bernstein, Lange, EFD | There is a database of formulas with verification and calculation of operations for different curves and coordinates. | Use after selecting the desired coordinates and multiplication algorithm; the database itself does not specify a universal value for the key pair. [web:47] |
| [6] Handbook of Applied Cryptography | The book and free chapters are available on the authors’ website. | The basis for the probabilistic model is that a collision cannot be replaced by a hit on a fixed target. [web:46] |
Thus, the sequential study is not constructed as a patchwork of results. First, the Handbook specifies the event and probability. Then, the EFD defines the arithmetic composition of the classical implementation. Mage’s experiment tests leak-free generalization, and Battistello demonstrates another regime, where the physical signal contains additional information. The quantum work by Roetteler et al. is added separately: it is not included in Mage’s bibliography, but provides a comparable object—the computation of the discrete logarithm.
The arXiv file confirms the release of Mage v3, dated January 1, 2026, and indicates a “7 pages” comment; the provided PDF actually contains eight pages. For locators, the numbering of the uploaded eight-page file is used in this text, not the file’s comment. Posting on arXiv confirms the existence of the preprint, but does not necessarily imply peer-review of all conclusions. [web:28]
11. Where AI really helps: leakage instead of “hidden magic”
The work by Battistello et al. provides an important contrast. The neural network receives not just Q, but a time series of energy consumption during signature computation. In the implementation studied, conditional modular reductions depend on the bits of the ephemeral key. An LSTM extracts operations in the trace, after which the information is used to recover the secret. The authors report simulations and a successful attack on an STM32F415 with the micro-ecc library. [web:26]
To understand the relationship, the ECDSA equation is sufficient: s=k⁻¹(z+rd) mod r_order. Here, k is the signature nonce, z is the hash representative, and r in a typical signature notation is its first component, not the group order. If k is completely known, the private key is calculated algebraically: d=(sk−z) r⁻¹ mod r_order. Partial leakage requires additional conditions and methods; not every recognition of an individual operation automatically reveals the key.
Therefore, the success of side-channeling does not contradict the negative result of Mage. In the first case, the neural network extracts information from the physical implementation, while in the second, it attempts to derive a secret from a public mathematical object. Before comparing “accuracies,” the input data, the number of traces, and the access conditions to the device must be equated.
This also explains why a CSPRNG is not a universal solution for side-channel protection: the generator addresses the problem of unpredictability of random values, while time constancy, secure implementations, and physical countermeasures address leakage during computation. Good randomness does not make every implementation secure; the presence of leakage does not invalidate the abstract complexity of ECDLP.
12. Why Shor’s Algorithm Isn’t a Giant Reference Book
The quantum algorithm exploits the algebraic structure of the problem rather than a database of known pairs. In the standard setting, a function of two scalars F(a,b)=[a]G+[b]Q is computed. Since Q=[d]G, the hidden relations between the inputs are related to a+bd modulo r. Quantum transformations and interference allow one to extract information about these relations, and classical measurement processing allows one to reconstruct d. The formal basis is the quantum solution of the discrete logarithm in finite groups; a discussion and the original reference to Shor 1994 are given in the paper on the quantum complexity of DL. [web:16]
This isn’t a simultaneous reading of all private keys from the superposition. The measurement yields limited data, and the result depends on the correctness of the scheme, reversible arithmetic, and the probability of success. However, if the conditions are met, the algorithm calculates the answer for a new point without enumerating the fraction N of the space.
The resource paper by Roetteler, Naehrig, Svore, and Lauter (ASIACRYPT 2017) evaluates circuits for curves over prime fields. For P-256, it reports 2330 logical qubits and approximately 1.26 x 10¹¹ Toffoli gates for the full algorithm. This is a historical benchmark estimate, not a claimed best estimate as of October 2026. The paper examines reversible circuits and classically models their arithmetic core; it does not demonstrate a hardware break of P-256. [web:13]
Q_logical ≤ 9b + 2⌈log₂ b⌉ + 10
b=256 ⇒ Q_logical ≤ 2330
G_Toffoli ≲ 448b³ log₂b + 4090b³
Substituting into the general estimation formula yields approximately 1.287 x 10¹¹ Toffoli; the published value of approximately 1.26 x 10¹¹ refers to a specific scheme. This is not a conflict: the general interpolation estimate and the specific calculation do not have to agree down to the last percent.
13. From logical qubits to a machine: the price is still unknown
A logical qubit is a protected information object in a circuit; physical qubits are the device elements that make up the protection. The number 2330 cannot be interpreted as the number of unprotected qubits sufficient for practical hacking. Converting logical resources into physical ones requires choosing a correction code, a physical error probability, an acceptable failure probability, a connectivity scheme, a cycle rate, and the implementation of nonlinear operations.
In addition to memory, measurements, error decoding, and the preparation of resource states for fault-tolerant execution are required. The time depends not only on the total number of gates, but also on the depth, available parallelism, and throughput of the corresponding subsystems. Therefore, it is impossible to divide the number of gates by the frequency of a conventional CPU or to declare a fixed “physical qubits to logical qubits” ratio universal.
| What is known from the selected source | What else is needed? |
|---|---|
| Object: P-256, reversible arithmetic, logical qubit evaluation and Toffoli. | A specific platform and an agreed upon error model. |
| Polynomial algorithmic mechanism ECDLP. | Depth of fault-tolerant execution and speed of resource provisioning. |
| Resource guide, not on-device demonstration. | Probability of success of a full launch and the cost of repetitions. |
The reference source for logical estimates is Roetteler et al. [web:13] If a full run takes T and succeeds with probability q over independent repetitions, the mean time to first success is T/q. This is a simple probabilistic formula, not a universal hardware estimate. Without T and q, a prediction of the hack date from the number of qubits is not possible.
14. You need to compare one task: the summary matrix
| Approach | Known target | Preliminary work | Certificate | The main limitation |
|---|---|---|---|---|
| Table of m pairs | Only the covered part of the targets. | Generation/receipt and storage of m pairs. | The exact probability is m/N. | Space coverage. |
| Mage on a repeatable set | Learning points. | Training 784M model. | High training byte precision. | Recovery of new full keys is not shown. |
| General classical ECDLP | Specified new public point. | Depends on the algorithm and mode. | Mathematical scale of order √r for generic methods. | Exponential cost over bit length. |
| LSTM side-channel | Device specific key. | Collection/marking of routes and training. | A reported hardware demonstration for a specific implementation. | An additional channel of information is needed. |
| Shore for ECDLP | New point. | Quantum circuit and fault-tolerant execution. | Algorithm and resource model. | Requirements for large-scale protected equipment. |
Row bases: Mage [web:28] , Battistello et al. [web:26] , Roetteler et al. [web:13] . New synthetic conclusion: the potential advantage of the quantum approach arises from a different algorithmic mechanism, and the usefulness of ML in the side-channel arises from a different information composition. They cannot be reduced to a competition of model sizes or table volumes.
15. Bitcoin and security: what transfers and what doesn’t
Mage is investigating secp256r1, also known as P-256. Bitcoin uses secp256k1 for ECDSA. These are different curves: the training result on one cannot be declared as an experiment on the other. The general discrete logarithm problem links them at the class level, but specific resource estimates for arithmetic require separate verification. [web:28] [web:50]
This article does not explore quantum mining acceleration, SHA-256 mining, or consensus attacks. The objective is to recover a private scalar given a public key. To turn ECDLP estimation into a threat to a specific protocol, it is also necessary to determine when the attacker has access to the required public key and how long it takes to obtain the result. Repeated authentications with the same key do not create new, independent key targets.
Mage’s advice to “start using a VPN” doesn’t follow from his experiment: a VPN doesn’t change the mathematical problem of recovering d from Q and doesn’t prove the stability of the algorithms used within it. Similarly, switching to an arbitrary “new curve” without analysis doesn’t justify protection against Shor. Post-quantum protection requires choosing a scheme with a different, supposedly difficult problem and testing the entire system.
In August 2024, NIST released FIPS 203 (ML-KEM, a key encapsulation mechanism), FIPS 204 (ML-DSA, a digital signature), and FIPS 205 (SLH-DSA, a digital signature). These standards serve different purposes: ML-KEM is not a direct replacement for Bitcoin signatures. The mere existence of standards does not mean a particular blockchain is ready for migration; changes to the protocol, software, and compatibility rules will be required. [web:12]
The practical conclusion is limited: a cryptographic inventory, an estimated lifetime of protected data, and a verifiable transition plan are more reasonable than concluding that a hack is imminent based on model retraining. NIST explicitly recommends beginning the transition to post-quantum standards, but the studies reviewed do not specify a precise date for the emergence of a cryptographically significant quantum computer. [web:12]
16. Four hypotheses and a program of decisive experiments
| Hypothesis | Examination | What will refute or limit it? |
|---|---|---|
| H1. Mage’s performance on repeated pairs is explained by memorization. | Blind typing of previously unseen keys; full recovery metrics and [d_pred]G=Q; multiple runs. | A reproducible advantage on new uniform keys after eliminating data leakage. This will require further complexity and scale assessment. |
| H2. The byte-by-byte metric overstates the practical usefulness. | Simultaneously report token accuracy, exact-match, and the number of valid private scalars. | Stable agreement between practically significant metrics, confirmed by full predictions. |
| H3. The model is useful as a condensed reference only at a certain scale. | Compare equal overall precision, total weight/index size, and latency with a compact table. | No advantage when accounting for learning, memory, and errors; or identification of a narrow region of advantage rather than a general statement. |
| H4. ML becomes significantly more useful when there is a leak. | Identical tasks with and without tracks; mixed tracks; independent devices. | Preserving the result without an information channel will require a different explanation, and failure of the transfer will limit applicability. |
- First, explore small training groups of known orders. Vary the key length and model size separately; don’t limit yourself to a successful small example.
- Separate datasets by scalars and public points, check for duplicates, serialization, and generation independence. Before launch, define the test set, success criteria, and computational budget.
- Add random label control and control of a known, easily invertible function. These will distinguish between pipeline error, regular memorization, and true generalization.
- Compare optimizers with the same number of processed examples, not just epochs; publish seeds, library versions, accuracy, hardware configuration, and logs.
- Show confidence intervals for independent runs and take into account hyperparameter selection. For zero successes on M independent complete keys, the rough upper 95% probability bound is approximately 3/M, not absolute zero.
- Compare a model with exhaustive search and a suitable group algorithm on the same small dataset. Publish the costs of data generation, training, validation, and query.
- For the quantum branch, fix one scheme, one error model, and a single success budget; independently estimate logical resources and the cost of fault-tolerant execution.
All items in this section represent a proposed program, not actual experiments. Working with real side channels is permitted only on personal devices or with the owner’s explicit permission. Synthetic keys and training groups are sufficient for testing the computational hypothesis.
17. Reproducible calculation: code and numerical stability
Probabilities of the order of 10⁻⁵² cannot be reliably obtained directly 1-(1-m/N)**n in ordinary double precision: subtracting very close numbers will nullify the result. The calculations use decimal arithmetic with 100 significant digits and logarithmic form. This code replicates the basic numerical audit without external libraries.
from decimal import Decimal, getcontext
getcontext().prec = 100
N = Decimal(2) ** 256
n = Decimal(73_000_000)
for m in [100_000, 35_000_000, 10**12, 10**18, 10**21]:
x = Decimal(m) / N
p = 1 - (n * (1 - x).ln()).exp()
print(m, 'P =', format(p, '.8E'),
'percent =', format(p * 100, '.8E'))
m50 = N * (1 - (Decimal('0.5').ln() / n).exp())
print('m for P_any=0.5:', format(m50, '.8E'))
print('keyspace:', format(N, '.12E'))
print('compact trillion pairs, bytes:', 65 * 10**12)
print('weights, bytes:', 784_000_000 * 2)
print('half-space CAT cycles:', N / 2 * Decimal('6.84e9'))
For table scenarios, 100-digit accuracy is sufficient; the linear nm/N check matches the displayed significant digits. m, n, the probability of one target, the probability of at least one target, and percentages are included in a separate CSV file. The calculation does not require or use real private keys. It verifies formulas but does not reproduce CAT training or a quantum device.
18. Limitations and the Bottom Line: What Really Changes the Picture
The analysis covers all eight pages of the provided PDF, including tables, conclusion, ethics section, and bibliography. The preprint reference was verified, several cited works were identified, a unified model was constructed, and independent numerical calculations were performed. A full audit of the Mage implementation, retraining, parsing of the aforementioned CSV files, and measurements on quantum hardware were not performed. The lack of open-source weights limits verification of the empirical results but does not prevent verification of the coverage formula.
Three levels of confidence are distinguished. The algebraic covering formulas and unit conversion are verifiable results under explicitly stated assumptions. The Mage training data and hardware side-channel data are reports of the respective authors, which are not independently reproduced here. Model scaling and the physical cost of future quantum hacking are open research questions.
Mage’s significant negative result shouldn’t be hidden: in the described mode, the model failed to recover new secrets better than the random level of the chosen metric. However, this doesn’t necessarily mean ECC is proven secure against all possible future methods. Likewise, the ability to fit 100,000 known pairs doesn’t mean all keys in the curve are vulnerable.
The quantum threat is different: the algorithmic mechanism for solving ECDLP is known, but the subject of resource research is reliable arithmetic and execution cost. Machine learning may already be useful in the event of a physical leak, but this is not the same as solving ECDLP at a public point. The scientific intrigue is therefore more accurately formulated as follows: what reproducible observation will the transition from memory to algorithm yield—and what is the full cost of obtaining a single, truly new private key?
This question leaves room for discovery without masquerading as a disturbing metaphor. It integrates the mathematics of probability, experimental machine learning, hardware security, and quantum programming into a coherent research program.
Passport of sources and verification boundaries
Links are placed directly next to the statements they are based on. The following categories of materials were used for this article:
- [file:1] The HTML provided for “Quantum Research Questions”: the text, 12 sections, and methodological blocks have been fully examined. It provides a structure but does not prove any cryptanalytic claims.
- [file:2] Provided PDF Mage: eight pages, header version arXiv:2512.12483v3 from January 1, 2026. Primary subject of critical analysis; page locators refer to it. Card verified separately [web:28] .
- Battistello et al. (2025), “Unveiling ECC Vulnerabilities: LSTM Networks for Operation Recognition in Side-Channel Attacks,” arXiv:2502.17330. The card validates the task, conditions, and claimed hardware demonstration; a full independent audit of the attack has not been performed. [web:26]
- Hadash et al. (2018), “Estimate and Replace: A Novel Approach to Integrating Deep Neural Networks with Existing Applications,” arXiv:1804.09028: bibliographic identifier mismatch check. [web:27]
- Ansari, Hasan: 2006 technical paper and 2008 journal publication of the same name, DOI 10.1109/TC.2008.133. The binary field and hardware architecture are established from the available text; the specific conversion of Mage to x86 cycles is not reproduced. [web:51] [web:45]
- Bernstein, Lange, Explicit-Formulas Database: Purpose and Scope of the Database. [web:47] Menezes, van Oorschot, Vanstone, Handbook of Applied Cryptography: Existence of the Book and Available Chapters. [web:46]
- Roetteler et al. (2017), “Quantum Resource Estimates for Computing Elliptic Curve Discrete Logarithms”, ASIACRYPT 2017, DOI 10.1007/978-3-319-70697-9_9: statement and historical logarithm estimates, not a summary of recent optimizations. [web:13]
- “Quantum Complexity for Discrete Logarithms and Related Problems”, arXiv:2307.03065: context for quantum DL and Shor’s original work. [web:16]
- NIST, Post-Quantum Cryptography Project: FIPS 203–205 Assignments and Migration Recommendations. [web:12] Bitcoin Developer Guide, Transactions: Using secp256k1 in ECDSA. [web:50]
