Skip to content
’s BlogDevOps Orbit
GitHubLinkedinCVBook a CallSupport MeRSS

At the Dawn of the Crypto Apocalypse

— security, cryptography, ai, bitcoin, devops — 14 min read

Silicon Valley predicted this back in 2019

Kumail Nanjiani, Martin Starr, Thomas Middleditch, Zach Woods and T.J. Miller in the TV series Silicon Valley

The main characters of HBO's Silicon Valley. Photo: Variety.

The final episode of Silicon Valley ("Exit Event", season 6, December 2019) has a scene that a lot of people are rewatching right now.

Richard Hendricks, the founder of Pied Piper, sends Monica a message ending in an ellipsis of four dots. Monica receives three. At first Richard thinks it's a random glitch, but the logs tell a different story: the PiperNet network "compressed" the message content in transit. Yet the message was encrypted. To compress it, the system had to read it.

Gilfoyle explains: the internal chat used the "weak" P-256 encryption standard, and their network broke it. The AI that Gilfoyle had taught to optimise the network, in its pursuit of efficiency, found a general polynomial-time solution to the discrete logarithm problem. That is exactly the problem whose hardness elliptic-curve cryptography relies on. As a test, Gilfoyle asked the AI to get Dinesh's TLS key. It took two hours.

You can watch the scene where Gilfoyle explains how the AI broke P-256 on YouTube.

The characters realise they are holding a tool that abolishes privacy: messages, banks, state secrets, everything protected by this kind of cryptography. If PiperNet launches and the technology gets copied, the world won't survive it. So Richard, resisting at first, makes the hardest decision a founder can make: the team deliberately sabotages its own launch so that nobody wants to use the technology. Pied Piper dies in disgrace, but the world stays as it was. Series co-creator Alec Berg later explained the ending this way: success means not destroying the world.

Seven years ago this looked like a neat invention by the writers. In December 2026, the headlines sound almost the same, right down to the name of the curve.

The week that changed everything

30 November: Anthropic and lattices

Anthropic published four research papers on lattice-based cryptography. Lattices are what the new post-quantum standards ML-KEM and ML-DSA are built on. According to the company, the results were found by an internal research model of Claude. One of the papers describes a quantum algorithm against the mathematics these standards are based on.

An important detail that often gets lost in retellings: the results are asymptotic, and according to Anthropic itself, the algorithms are not practical against the parameters of ML-KEM and ML-DSA. The company still considers them among the most robust public-key algorithms (Security Boulevard explainer).

2 December: the NSA and a joint statement from eight companies

The US National Security Agency published a press release, "NSA Advises Immediate Transition to Post-Quantum Cryptography to Protect National Security Systems". It says that companies developing frontier AI models contacted the US government to disclose "recent discoveries that impact the security of some cryptographic systems currently in use", and continues (as quoted by Al Jazeera):

This threat, alongside the existing concerns about quantum computing, presents a significant threat to cryptographic systems protecting sensitive information.

The agency also warns that adversaries are already collecting encrypted information in order to decrypt it once they have the means.

The NSA advises owners, operators and vendors of national security systems to accelerate the transition to post-quantum cryptography (PQC) immediately: adopt the CNSA 2.0 algorithm suite, inventory vulnerable cryptographic dependencies and draw up modernisation plans. The agency also issued separate guidance, "Immediate Actions to Push Toward Post-Quantum".

On the same day, eight companies, Amazon, Anthropic, Apple, Cloudflare, Google, Microsoft, OpenAI and Oracle, issued a rare joint statement backing the US government's call to move to post-quantum standards as soon as possible.

3 December: "There are things worse than that"

Cloudflare CEO Matthew Prince added fuel to the fire. He wrote on X:

Do not ignore this. Do not underestimate it. Yes, we were briefed on something. Yes, it's a big deal. No, we can't give you all the details yet. But it is urgent to move encrypted systems to post-quantum (maybe more appropriately called post-AI) standards.

Asked what exactly is affected, Prince replied that you should "assume anything that uses RSA or Elliptic Curve cryptography". And when asked directly whether RSA-2048 had been broken, his answer was short: "There are things worse than that."

Matthew Prince answers a question about RSA-2048: "There are things worse than that". Screenshot of a cardinal.crypto thread on Threads A timeline of the three days based on primary sources. Author: jegeta, Threads

What is known and what is guesswork

Neither the NSA nor the companies have said what exactly was discovered, or by whom. Everything else is interpretation. The most popular one: in its guidance, the NSA lists RSA of 3072 bits or more and the P-384 and P-521 curves as acceptable for the transition period, but doesn't mention P-256, Ed25519 or Curve25519. From this, people conclude that 256-bit elliptic curves are the ones under attack. However, other experts point out that P-256 isn't named in any published document, and there is no public evidence that it has been broken in practice.

Still, the irony is hard to miss: in Silicon Valley, Gilfoyle's AI broke exactly P-256.

How the bitcoin market reacted

The market didn't wait for details. On 3 December, bitcoin fell 12%. From there the figures differ between outlets: on Friday bitcoin traded around $48,200, its lowest since February 2024; other reports say it dropped below $45,000 with $3.6 billion in liquidations and even below $43,000, for the first time in almost three years.

Why bitcoin in particular? Its security rests on two different things:

  • The SHA-256 hash function, which mining and the linking of blocks are built on. Hash functions are far more resistant to quantum attacks, and nobody is talking about breaking them.
  • ECDSA and Schnorr digital signatures on the secp256k1 elliptic curve, which prove that you own the coins. This is exactly the elliptic-curve cryptography that is now under suspicion.
One round of the SHA-2 compression function: eight working variables A–H, the functions Ch, Ma, Σ0 and Σ1, and addition modulo 2³²

One round of the compression function of the SHA-2 family, which includes SHA-256. Diagram: Wikipedia, licensed under CC BY-SA 3.0.

If a signature can be forged, someone else's coins can be spent. Addresses whose public key is already exposed on the blockchain are especially vulnerable: for example, after an address has been reused, or in the oldest transaction formats.

At the same time, analysts stress that this is a sentiment shock, not a hack: there is no public evidence that bitcoin's cryptography has been compromised. Bitcoin developers, according to media reports, have already made quantum-resistant signatures a priority.

Interestingly, Satoshi Nakamoto was already thinking about this in 2010. In the forum thread "Dealing with SHA-256 Collisions", he wrote that if SHA-256 were completely broken, the community could agree on which chain was honest before the trouble started, lock it in and continue with a new hash function, and that if it weakened gradually, it could move to a new algorithm in an orderly way. The same kind of transition now has to happen for signatures.

What happens if everything breaks

Let's imagine the worst case: all the asymmetric cryptography we use today (RSA and elliptic curves) stops being reliable. This is a hypothesis, not a forecast, but it shows well what the digital world rests on.

  • HTTPS and banks. Every secure connection starts with a key exchange and a certificate check. If those can be forged or decrypted, an attacker can read your traffic or pass off their server as your bank.
  • Software updates. Your phone trusts an update because it is signed by the vendor. A forged signature means a malicious "update" can be pushed to millions of devices.
  • SSH, VPNs and clouds. Access to servers, tunnels between offices and cloud networks: all of it is asymmetric cryptography. For a DevOps engineer, these are the keys to the entire infrastructure.
  • E-signatures and government services. Documents signed today must stay legally valid in 10–20 years.
  • Messengers. Conversations intercepted today can be read tomorrow.
  • Cryptocurrencies. A forged signature is direct access to someone else's wallet.
  • Firmware and hardware roots of trust. As the NSA notes, their algorithms can be hard or impossible to update over the device's lifetime. Some devices will simply have to be replaced.

A separate threat is the one the NSA writes about directly: harvest now, decrypt later. Encrypted traffic that is intercepted and stored today will become readable on the day a way to crack it appears. That's why data that must stay secret for years is already at risk.

The good news is that "everything breaks" is an exaggeration. Symmetric encryption (for example, AES-256) and hash functions (SHA-256 and others) are far more resilient: the only known attacks against them weaken the protection but don't break it completely. The problem is the asymmetric part: key exchange and digital signatures.

Quantum computers and post-quantum cryptography in plain words

What a quantum computer is

An ordinary computer works with bits, which have two states: 0 or 1. A quantum computer works with qubits.

A classical bit can only be 0 or 1. A qubit is drawn as a point on a sphere: 0 and 1 are at the poles, and any other point is a superposition of them

How a qubit differs from a bit:

  • Superposition. At any moment a bit holds either 0 or 1: in the diagram these are two separate points. A qubit can be in a combination of both states at once: it is any point on the sphere, not just its poles.
  • Exponential growth. The state of n qubits is described by 2ⁿ numbers. 10 qubits already give 1,024 values, and 300 qubits give more values than there are atoms in the observable universe. No ordinary computer has enough memory even to describe such a state.
  • Entanglement and interference. Qubits can be linked so that their states depend on each other. And a quantum algorithm is designed so that correct answers reinforce each other while wrong ones cancel out.

But there is an important caveat: when measured, a qubit always turns into an ordinary 0 or 1. So a quantum computer doesn't "try all the options at once and output the answer". The gain appears only where there is a special algorithm that can exploit interference. A quantum computer isn't "a million times faster" than an ordinary one at everything: it is dramatically faster only for a certain class of problems.

Unfortunately for modern cryptography, the problems it is built on fall exactly into that class:

  • Shor's algorithm (1994) solves integer factorisation and the discrete logarithm problem. RSA relies on the first, elliptic curves on the second. A powerful enough quantum computer will break both.
  • Grover's algorithm speeds up brute-force search, but only quadratically. For symmetric encryption, this means AES-256 remains secure.

For now, quantum computers are too small and noisy to break RSA-2048. But this week's events change the picture: the threat may come not only from quantum hardware but also from mathematical attacks found with the help of AI. That's why Prince suggests calling the new standards "post-AI".

What post-quantum cryptography is

Post-quantum cryptography (PQC) means algorithms that run on ordinary computers but are based on mathematical problems believed to be hard for both classical and quantum computers: problems on lattices, hash functions and codes.

In August 2024, NIST approved the first standards:

StandardAlgorithmPurposeBased on
FIPS 203ML-KEM (formerly Kyber)Key exchangeLattices
FIPS 204ML-DSA (formerly Dilithium)Digital signaturesLattices
FIPS 205SLH-DSA (formerly SPHINCS+)Digital signaturesHash functions

In March 2025, NIST selected one more key-exchange algorithm, HQC, based on codes, as a backup in case something goes wrong with lattices. The NSA's CNSA 2.0 suite requires the strongest parameters: ML-KEM-1024 and ML-DSA-87.

Why Cloudflare and others are pushing to switch now

  • Harvest now, decrypt later. Every day without post-quantum protection is another day of traffic that may be decrypted in the future.
  • The transition takes years. Cryptography is baked into protocols, libraries, devices, firmware and regulations. Updating all of it quickly is impossible.
  • Long-lived systems. Certificates, firmware and signed documents must stay trustworthy for many years.
  • A new threat from AI. If AI finds previously unknown mathematical weaknesses, the "time left before a quantum computer arrives" may already be gone.

The good news: a large part of the way has already been covered. Cloudflare has enabled hybrid post-quantum key exchange (X25519 + ML-KEM) by default for several years. Chrome and Firefox support it, OpenSSH uses hybrid key exchange with ML-KEM by default since version 10, and Signal and iMessage have added post-quantum protection to their protocols. "Hybrid" here means that two algorithms are used at once, a classical one and a post-quantum one: to break the connection, an attacker has to break both.

What to do right now

Everyone

  1. Update your phone, browser and apps. Most post-quantum protection reaches users through updates.
  2. Don't panic. There is no mass hack. The biggest danger right now is phishing and scammers exploiting the fear around the news.
  3. If you hold cryptocurrency: don't reuse addresses, and follow your wallet's updates and official news about the move to quantum-resistant signatures. This is not investment advice.

Engineers and DevOps teams

The NSA suggests a simple sequence: inventory, assess risk, prioritise and implement. Here's what that looks like in practice:

  1. Inventory your cryptography. Where do you use RSA and elliptic curves: TLS certificates, load balancers and ingress, service mesh, SSH keys, VPNs, code and container image signing, tokens, firmware, HSMs and KMS.
  2. Enable hybrid post-quantum TLS. OpenSSL supports ML-KEM since version 3.5. Check your CDNs, load balancers and reverse proxies for X25519MLKEM768 support.
  3. Update SSH. Use OpenSSH 10 or newer and check that your servers negotiate hybrid key exchange with ML-KEM.
  4. Strengthen classical parameters for the transition period. Following the NSA's guidance, use RSA of 3072 bits or more and the P-384 or P-521 curves where post-quantum algorithms aren't available yet.
  5. Build in crypto agility. Algorithms should change through configuration, not by rewriting the system. Leave headroom in performance and memory for future algorithms.
  6. Shorten the lifetime of keys and certificates. The more often you rotate, the less a stolen key is worth.
  7. Check your vendors. Require PQC and CNSA 2.0 support in procurement, especially for hardware with firmware and hardware roots of trust.
  8. Protect data with long secrecy requirements first. If data must stay secret for 10 years or more, move it to post-quantum protection now.

Instead of a conclusion

Richard Hendricks could stop the catastrophe by destroying his own product. The real world has no such button: you can't "undo" a discovery once an AI has made it. The only way left is to move to new cryptography faster than the old one can be broken.

The show was ahead of its time. Now it's our turn to keep up with it.

Sources

DevOps Orbit

Want more insights like this?

Join DevOpsOrbit Pro for more in-depth analysis and hands-on material.

Members get:

  • Step-by-step, hands-on tutorials you can follow in your own lab, from Linux and Git to Kubernetes, Terraform and AWS
  • A growing library of members-only posts, each as a clean PDF you can read anywhere
  • A private Telegram channel with articles and practical tips for landing your first or next job in IT
Join DevOpsOrbit Pro

Already a member? Go to the community

Preparing for a DevOps interview? Check out my book The Git Interview Cookbook
About the book →
© 2026 by Maxat Akbanov's Blog. All rights reserved.