AI Didn’t Break RSA-2048 Encryption — Your Bank Login Proves It

openssl s_client -connect www.example.com:443
hafeez@unixshadow:~$ echo | openssl s_client -connect www.example.com:443 -servername www.example.com -brief # the whole story, in one handshake

AI Didn’t Break RSA-2048 Encryption
Your Bank Login Proves It

No, AI did not break RSA. Here is the login flow that proves it — and the one number that says how long breaking it would really take.

Short version, up front: RSA-2048 is not broken. No AI system has broken RSA-2048, elliptic curves, AES, or any encryption actually in use. The rumour that said otherwise spent a weekend travelling faster than the facts, which is the normal speed of rumours. Everything in this post runs as your own user — $ means run as your user; nothing here needs root.

At 2am, start here
Handshake result, protocol, cipher
$ echo | openssl s_client -connect www.example.com:443 -servername www.example.com -brief 2>/dev/null | head -8
Cert expiry, owner, issuer
$ echo | openssl s_client -connect www.example.com:443 -servername www.example.com 2>/dev/null | openssl x509 -noout -dates -subject -issuer
Key type and size
$ echo | openssl s_client -connect www.example.com:443 -servername www.example.com 2>/dev/null | openssl x509 -noout -text | grep -A1 "Public Key Algorithm"
Negotiated TLS version and cipher
$ echo | openssl s_client -connect www.example.com:443 -servername www.example.com 2>/dev/null | grep -E "^(New,|Cipher is|Protocol)"
How many certs in the chain
$ echo | openssl s_client -connect www.example.com:443 -servername www.example.com -showcerts 2>/dev/null | grep -c "BEGIN CERTIFICATE"
Make your own RSA-2048 key pair
$ openssl genpkey -algorithm RSA -pkeyopt rsa_keygen_bits:2048 -out example.key 2>/dev/null
Build a CSR from that key pair
$ openssl req -new -key example.key -out example.csr -subj "/CN=www.example.com"

Every command above is explained later in the post. www.example.com is the public example domain — swap in any real site you want to inspect.

Someone just told you AI broke RSA

Over the weekend of November 28–29, 2026, a secondhand claim on X said a frontier AI lab had cracked RSA-2048 — the public-key algorithm behind much of the web, online banking and VPN traffic. It had a famous amplifier, a mysterious website, and a real expert’s name attached. It had everything except evidence.

What made it believable is that the pieces around it were real. AI systems really did set factoring records in September. A Claude model really did find a weakness in a post-quantum signature scheme in July. And Anthropic really had shared new cryptography results with outside cryptographers in mid-November. Staple those three facts together wrong and you get “RSA is broken.” Staple them together right and you get this post.

What the models actually did

The classical factoring record had not moved since February 2020. Then it broke twice in sixteen days — both times by AI agents porting the standard factoring code to GPUs.

$ # September 3, 2026: Cognition researcher Eric Lu factored RSA-260 (862 bits)
$ #   using the Devin coding agent; GPU port of the CADO-NFS number field sieve
$ # September 19, 2026: Anthropic engineer Stephen Weis factored RSA-896
$ #   (270 digits) with Claude; up to 2,048 GPUs, about 10 days, roughly
$ #   30 GPU-years of compute; same old GNFS algorithm, no new math

Note what changed and what did not. The algorithm is the General Number Field Sieve, the same one that has dominated factoring since the early 1990s. What AI did was the engineering: porting a highly tuned CPU codebase to GPUs and orchestrating a fleet of them. Weis himself credited the people who built the sieve and CADO-NFS over decades. Two records in sixteen days is a real change in what it costs to run the sieve at scale. It is not a shortcut through the mathematics.

July had already shown the other half of the pattern. A Claude research model found an attack that halved the effective key strength of HAWK, a candidate in NIST’s post-quantum signature process — and the scheme was withdrawn the next day. The same work sped up attacks on a weakened, round-reduced version of AES by 200 to 800 times. Neither result touched a production system.

$ # November 30, 2026: Anthropic published four papers on lattice cryptography
$ #   lead result: a quantum algorithm against the math under ML-KEM and ML-DSA
$ #   independent review: 21 cryptographers, incl. Dan Boneh and Yael Tauman Kalai
$ #   verdict: needs well over 2^1000 quantum operations; "galactic"; no practical effect
$ # December 2, 2026: White House ONCD, NSA and CISA joint statement
$ #   AI-company crypto findings are not an immediate and widespread threat

The November papers are the ones the rumour was actually about, and they are not about RSA at all. They describe a theoretical quantum algorithm against the lattice problems underneath ML-KEM and ML-DSA, the post-quantum standards meant to replace RSA. The speedup appears only at key sizes far beyond anything in use, and at real key sizes the method runs dramatically slower than attacks that already exist. Anthropic’s own summary: “The results do not have practical, real-world consequences for today’s security systems.” The review group expects someone to improve the attack, and recommends continuing the post-quantum migration — not pausing it. That is the whole story. The rest is noise.

Follow one login through TLS 1.3

This is the flow that makes the rumour fall apart. Watch where RSA appears — and where it does not.

[1/6] CLIENTHELLO — your browser speaks first
Browser opens TCP to the bank on port 443 and offers TLS 1.3, a list of cipher suites, and its own ECDHE key share.

▼
[2/6] SERVERHELLO — the bank answers
Bank picks TLS 1.3 and one cipher, and sends its own ECDHE key share. No certificate yet, no RSA yet.

▼
[3/6] CERTIFICATE — RSA-2048 lives here
Bank sends its certificate, which contains its RSA-2048 public key, bound to its domain name and signed by a certificate authority. Your browser checks the CA signature.
Breaks here: bad or expired cert → browser warning page, no padlock.

▼
[4/6] CERTIFICATEVERIFY — RSA-2048 again, and last
Bank signs the handshake transcript with its RSA-2048 private key. Your browser verifies the signature with the public key from step 3 — proof the server really owns the certificate.
Breaks here: signature mismatch → handshake aborts, connection dies.

▼
[5/6] SESSION KEYS — RSA is not invited
Both sides derive identical session keys from the ECDHE shared secret. The encryption key for your login comes from this step, not from RSA.

▼
[6/6] AES-256 TUNNEL — the login itself
Login page loads. You type your username and password; all of it travels encrypted with AES-256-GCM. The bank sets your session cookie.

RSA-2048 = identity — proves the server is your bank
AES-256 = data — encrypts everything after the handshake

The split is the whole point. RSA never encrypts your password. It vouches for identity: the certificate says “this public key belongs to your bank,” and the signature proves the server holds the matching private key. Your password travels under AES-256, with keys agreed by ECDHE. Break RSA and the padlock lies — an attacker could impersonate the bank. But the data encryption itself is a different lock, and it would still hold.

Where the certificate comes from

The key pair is born before the certificate exists. Generate it, then ask for the certificate with a CSR — a certificate signing request.

$ openssl genpkey -algorithm RSA -pkeyopt rsa_keygen_bits:2048 -out example.key 2>/dev/null   # step 1: create the RSA-2048 key pair
$ openssl req -new -key example.key -out example.csr -subj "/CN=www.example.com"   # step 2: build the CSR from that key pair
$ openssl req -in example.csr -noout -text | grep -A1 "Public Key Algorithm"   # step 3: confirm what is inside the CSR

Signing the CSR does not generate anything. The CSR is an envelope carrying your public key plus your identity (domain, organisation, SANs) to the certificate authority, signed with your private key to prove you hold it. The CA checks the signature, validates that you own the domain, and issues the certificate containing that same public key. The private key never leaves your server after step 1.

Does my bank card work the same way?

Half yes, half no. Online, it is the same flow: your card number travels inside the TLS tunnel, protected by AES, and the merchant’s identity is proven by their RSA certificate — the same six steps as the bank login. In a shop, it is different. The chip on your card does not use RSA at all; it uses symmetric cryptography, a secret key baked into the chip that only your bank knows. The card proves it is genuine by signing the transaction with that key, and the bank verifies it. The terminal then talks to the bank over its own connection — and that leg uses TLS and certificates again. RSA guards the network hop; the card-to-terminal hop runs on the chip’s secret key. Same idea, different lock for the plastic.

How long would cracking RSA-2048 actually take?

Here is the number the rumour never included. The factoring method scales sub-exponentially, so anchor off the record we actually have: RSA-896 took roughly 30 GPU-years in September. Scaling that same method up to 2,048 bits gives on the order of 1012 GPU-years — a trillion GPU-years. Even with a million-GPU fleet running flat out, that is about one million years.

Put that against human timescales and it stops sounding like a number and starts sounding like a joke. Recorded civilization is about 6,000 years old — a million years is roughly 160 times longer than civilization has existed. Modern humans have existed about 300,000 years — it is roughly three times longer than we have existed as a species. You could stack every empire, every war, every written word end to end 160 times over and still be waiting on the answer.

This is a complexity-model estimate, not a measured figure: the GNFS cost curve extrapolated from the RSA-896 anchor (30 GPU-years, September 2026). Published estimates vary with hardware assumptions — hundreds of millions of years on one end, trillions on the other — but every version of the answer is “longer than human civilization.” That is why RSA-2048 is treated as safe against classical computers.

The only thing that changes the picture is quantum. Shor’s algorithm could factor RSA-2048 in hours — but Google’s 2019 estimate says it needs around 20 million physical qubits, and today’s biggest machines have about a thousand, with error rates far too high. That is the gap AI and quantum would both have to close, and neither is close.

If RSA fell tomorrow, what breaks for ordinary people?

What breaks What happens to you
Website logins (HTTPS) An attacker can impersonate your bank’s site; the padlock lies
Online banking and shopping Sessions could be read or hijacked in transit
VPNs Private tunnels become readable
Software updates Fake updates could carry a valid-looking signature
Passkeys and phone security Same family of math (ECC) — at risk too
Crypto wallets Bitcoin and Ethereum signatures forgeable; funds stealable
Old recorded traffic Harvest now, decrypt later — traffic captured years ago opens up

What would still stand: AES-256 encrypted files and card taps (symmetric crypto, a different kind of lock), hashed passwords, and the post-quantum protection already built into Chrome, Signal and iMessage, which run it alongside the old math. And it would not be an overnight switch-off — a real break would come with warning, papers, review panels and government statements, and banks and browsers would move to post-quantum replacements the way they already are. The danger scenario is a silent break kept secret, which is exactly why the December 2 joint statement mattered: the findings were disclosed, and declared not an immediate threat.

Who invented this, anyway?

Three MIT researchers — Ron Rivest, Adi Shamir and Leonard Adleman — published RSA in 1977. The name is their initials. The story goes that Rivest had the idea after a Passover dinner, and they published it openly, which is why it spread everywhere.

The twist: a British mathematician named Clifford Cocks had invented the exact same thing four years earlier, in 1973, working for GCHQ. It was classified top secret, so he could not tell anyone. It only came out in 1997. Same mathematics, same idea — one team got the fame, the other got a secrecy order.

Check a site’s certificate yourself

Every triage command from the top of the post, with what it tells you. All of these were run against a local test server while drafting; values on a real site will differ, and a healthy site verifies clean.

$ echo | openssl s_client -connect www.example.com:443 -servername www.example.com -brief 2>/dev/null | head -8   # handshake result in one screen

Expected output (trimmed):

CONNECTION ESTABLISHED
Protocol version: TLSv1.3
Ciphersuite: TLS_AES_256_GCM_SHA384
Peer certificate: CN = www.example.com
Verify return code: 0 (ok)

Protocol version tells you whether the site still speaks TLS 1.2 or has moved to 1.3; the ciphersuite tells you what encrypts the data after the handshake. “Verify return code: 0 (ok)” is the line that matters — anything else means the chain did not verify.

$ echo | openssl s_client -connect www.example.com:443 -servername www.example.com 2>/dev/null | openssl x509 -noout -dates -subject -issuer   # who owns it, who signed it, when it dies
$ echo | openssl s_client -connect www.example.com:443 -servername www.example.com 2>/dev/null | openssl x509 -noout -enddate   # expiry date only, for a quick check
$ echo | openssl s_client -connect www.example.com:443 -servername www.example.com 2>/dev/null | openssl x509 -noout -text | grep -A1 "Public Key Algorithm"   # key type and size

Expected output (trimmed):

notAfter=Dec  5 15:10:49 2026 GMT
subject=CN = www.example.com
issuer=CN = www.example.com
            Public Key Algorithm: rsaEncryption
                Public-Key: (2048 bit)

The -dates output is where expired certificates show up first — the most common real-world TLS failure, and the least interesting one. The key lines show rsaEncryption and 2048 bit: this is where you confirm a site’s certificate really is RSA-2048, rather than ECDSA. -servername matters on shared hosting — without SNI the server may hand you the wrong certificate entirely.

$ echo | openssl s_client -connect www.example.com:443 -servername www.example.com 2>/dev/null | grep -E "^(New,|Cipher is|Protocol)"   # negotiated version and cipher
$ echo | openssl s_client -connect www.example.com:443 -servername www.example.com -showcerts 2>/dev/null | grep -c "BEGIN CERTIFICATE"   # certs in the chain

Expected output (trimmed):

New, TLSv1.3, Cipher is TLS_AES_256_GCM_SHA384
3

On TLS 1.3 the cipher is always an AEAD suite like TLS_AES_256_GCM_SHA384 — the key exchange is ECDHE and does not appear in the cipher name, which is exactly the point of the flow above. The chain count is usually 2 or 3 (leaf, intermediate, sometimes root); a count of 1 on a public site means the server is not sending its intermediate and some clients will fail to verify.

Quick reference

I need to… Command
Check a site’s TLS version and cipher echo | openssl s_client -connect www.example.com:443 -servername www.example.com -brief
See a cert’s expiry, owner and issuer echo | openssl s_client -connect www.example.com:443 -servername www.example.com | openssl x509 -noout -dates -subject -issuer
See the expiry date only echo | openssl s_client -connect www.example.com:443 -servername www.example.com | openssl x509 -noout -enddate
See the public key type and size echo | openssl s_client -connect www.example.com:443 -servername www.example.com | openssl x509 -noout -text | grep -A1 "Public Key Algorithm"
See the negotiated version and cipher echo | openssl s_client -connect www.example.com:443 -servername www.example.com | grep -E "^(New,|Cipher is|Protocol)"
Count the certs in the chain echo | openssl s_client -connect www.example.com:443 -servername www.example.com -showcerts | grep -c "BEGIN CERTIFICATE"
Generate an RSA-2048 key pair openssl genpkey -algorithm RSA -pkeyopt rsa_keygen_bits:2048 -out example.key
Build a CSR from that key pair openssl req -new -key example.key -out example.csr -subj "/CN=www.example.com"
Read what is inside a CSR openssl req -in example.csr -noout -text | grep -A1 "Public Key Algorithm"
Dump a certificate in full echo | openssl s_client -connect www.example.com:443 -servername www.example.com | openssl x509 -noout -text
3 Dec 2026

Scroll to Top