Mage: Cracking Elliptic Curve Cryptography with Cross-Axis Transformers

Lily Erickson
12/13/2025
cs.CRcs.AI

No official code found. Best implementation: EmerGen-AI/Mage-Experimental-Logs (0 stars, last commit 2025-12-23).

Abstract

With the advent of machine learning and quantum computing, the 21st century has gone from a place of relative algorithmic security, to one of speculative unease and possibly, cyber catastrophe. Modern algorithms like Elliptic Curve Cryptography (ECC) are the bastion of current cryptographic security protocols that form the backbone of consumer protection ranging from Hypertext Transfer Protocol Secure (HTTPS) in the modern internet browser, to cryptographic financial instruments like Bitcoin. And there's been very little work put into testing the strength of these ciphers. Practically the only study that I could find was on side-channel recognition, a joint paper from the University of Milan, Italy and King's College, London\cite{battistello2025ecc}. These algorithms are already considered bulletproof by many consumers, but exploits already exist for them, and with computing power and distributed, federated compute on the rise, it's only a matter of time before these current bastions fade away into obscurity, and it's on all of us to stand up when we notice something is amiss, lest we see such passages claim victims in that process. In this paper, we seek to explore the use of modern language model architecture in cracking the association between a known public key, and its associated private key, by intuitively learning to reverse engineer the public keypair generation process, effectively solving the curve. Additonally, we attempt to ascertain modern machine learning's ability to memorize public-private secp256r1 keypairs, and to then test their ability to reverse engineer the public keypair generation process. It is my belief that proof-for would be equally valuable as proof-against in either of these categories. Finally, we'll conclude with some number crunching on where we see this particular field heading in the future.

View on arXivView PDF

Code Implementations(1)

The experimental data that we promised from the "Mage: Cracking Elliptic Curve Cryptography with Cross-Axis Transformers" paper. It's not much to look at it.

00Dec 23, 202510 months ago

Similar Papers

Cite this paper

@article{erickson2025mage,
  title  = {Mage: Cracking Elliptic Curve Cryptography with Cross-Axis Transformers},
  author = {Lily Erickson},
  year   = {2025},
  eprint = {2512.12483},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2512.12483v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2512.12483.svg)](https://codeofpaper.com/paper/2512.12483)

Discussion