When will a quantum computer be able to crack modern encryption and what should we do about it?

Rajiv Shah (Founder · MDR Security)

BSides Canberra VIII (2025) · Day 1 · Main Track

Overview

In this insightful talk from BSides Canberra, Rajiv Shah, Founder of MDR Security, takes attendees on a journey through the complex world of quantum computing and its looming implications for modern encryption. Shah, with a background in physics, demystifies the often-intimidating concepts of quantum mechanics before delving into the specific threat that future quantum computers pose to the cryptographic foundations of our digital world. The core message is clear: while a quantum "apocalypse" or "QDay" is a myth, the gradual but inevitable erosion of current asymmetric encryption standards by sufficiently advanced quantum machines necessitates immediate, strategic planning.

Watch on YouTube

Visual summary for When will a quantum computer be able to crack modern encryption and what should we do about it? by Rajiv Shah
Visual summary for When will a quantum computer be able to crack modern encryption and what should we do about it? by Rajiv Shah

Key moments

  1. 0:00 Introduction: When quantum computers will crack encryption
  2. 4:50 What is a quantum computer? Cubits and exponential power
  3. 12:30 Shor's algorithm: The quantum threat to RSA encryption
  4. 17:00 Breaking RSA 2048: Real cubit and cost requirements
  5. 26:00 Why quantum key distribution (QKD) is not the solution
  6. 30:00 Post-Quantum Cryptography (PQC): New math and NIST standards
  7. 36:00 Google Chrome's PQC rollout failure and lessons learned
  8. 39:00 Australian Government's ambitious PQC migration targets

When will a quantum computer be able to crack modern encryption and what should we do about it?

Speakers: Rajiv Shah, Founder, MDR Security

Conference: BSides Canberra

YouTube: https://www.youtube.com/watch?v=L6QnyTAf2Pw

Overview

In this insightful talk from BSides Canberra, Rajiv Shah, Founder of MDR Security, takes attendees on a journey through the complex world of quantum computing and its looming implications for modern encryption. Shah, with a background in physics, demystifies the often-intimidating concepts of quantum mechanics before delving into the specific threat that future quantum computers pose to the cryptographic foundations of our digital world. The core message is clear: while a quantum "apocalypse" or "QDay" is a myth, the gradual but inevitable erosion of current asymmetric encryption standards by sufficiently advanced quantum machines necessitates immediate, strategic planning.

The discussion emphasizes that this isn't a problem for tomorrow, but one that requires proactive steps today. Shah meticulously breaks down the differences between classical and quantum computing, the specific algorithms that pose a threat, and the significant engineering hurdles still facing quantum hardware development. Crucially, he outlines a pragmatic roadmap for organizations to prepare for the quantum transition, focusing on identifying cryptographic assets, assessing vulnerabilities, and implementing post-quantum cryptography (PQC) solutions that run on today's classical computers. The talk serves as a vital call to action for cybersecurity professionals to understand, plan, and prioritize their cryptographic migration strategies well in advance of the estimated timeline for cryptographically relevant quantum computers.

Background

▶ Watch: Introduction: When quantum computers will crack encryption (0:00)

Quantum physics, as Rajiv Shah aptly puts it, is "weird." Unlike the intuitive classical mechanics that govern our macroscopic world, quantum mechanics explains the counter-intuitive behavior of individual atoms, electrons, and subatomic particles. Concepts like wave-particle duality, entanglement, and superposition challenge classical understanding. Shah illustrates this with the famous Schrödinger's cat thought experiment, where a cat exists in a superposition of being both alive and dead until observed, highlighting the probabilistic nature of quantum states. While all modern computers, from LEDs to transistors, rely on quantum physics at a fundamental level (sometimes referred to as Quantum 1.0), the current focus on "Quantum 2.0" involves manipulating the quantum states of individual particles directly. This new frontier enables technologies like quantum sensing, communication, and crucially, quantum computing.

Modern public-key cryptography, such as RSA and elliptic curve cryptography (ECC), forms the backbone of secure communication, enabling secure key exchange over untrusted networks. These systems rely on the computational difficulty of certain mathematical problems. For RSA, the security rests on the assumed intractability of factoring large numbers into their prime components. A public key is derived by multiplying two large prime numbers (the private key), and it is considered computationally infeasible for an adversary to reverse this process to derive the private key from the public key. This assumption has held firm for decades, underpinning the security of everything from HTTPS to digital signatures. However, this foundational assumption is precisely what quantum computing threatens.

Key Findings

▶ Watch: Shor's algorithm: The quantum threat to RSA encryption (12:30)

The central discovery that underpins the quantum threat to modern encryption is Shor's algorithm. Developed by Peter Shor, this algorithm, if run on a sufficiently powerful quantum computer, can efficiently factor large numbers, thereby breaking RSA encryption. It can also solve the discrete logarithm problem, which is the basis for elliptic curve cryptography. This capability presents an exponential speedup over the best-known classical factoring algorithms, rendering current asymmetric encryption schemes vulnerable.

In contrast, symmetric ciphers like AES are not directly impacted by Shor's algorithm. While Grover's algorithm, another quantum algorithm, could offer a quadratic speedup for unstructured search problems (like brute-forcing symmetric keys), its practical application is far less impactful. Grover's algorithm would require doubling the key length to maintain equivalent security, a relatively straightforward adjustment, and its implementation faces significant practical challenges due to its sensitivity to errors and high computational overhead for data loading and unloading.

The current state of quantum hardware, known as Noisy Intermediate-Scale Quantum (NISQ) computers, represents a significant hurdle. These machines typically feature up to a few hundred, perhaps approaching a thousand, qubits, but they are highly susceptible to errors, with typical error rates around 1 in 1,000. Shah highlights that headlines proclaiming "millions of quantum chips" often refer to millions of failed attempts, underscoring the severe engineering challenges.

To break RSA 2048, the latest estimates suggest a quantum computer would need approximately 1 million logical qubits, requiring roughly 1,000 physical qubits for each logical qubit to achieve the necessary error correction. This would take about 7 days of runtime and cost an estimated $250,000 in electricity for a single key decryption. This substantial cost and time frame mean that the risk is not instantaneous, but rather targeted at high-value data.

The concept of "harvest now, decrypt later" is a significant concern for data with long-term value. Nation-states or well-resourced adversaries could collect encrypted traffic today, store it, and decrypt it years later when quantum computers become available. However, Shah emphasizes that this risk applies to data in transit with long-term potential for harm, not to data at rest (which typically uses symmetric encryption). He also debunks the myth of "QDay," asserting that the transition will be a gradual process, not a sudden, catastrophic event where all encryption breaks simultaneously.

Finally, Shah addresses other "quantum technologies" often touted as solutions. Quantum Random Number Generators (QRNGs), while providing genuinely random numbers, do not mitigate the threat of Shor's algorithm, as the attack doesn't rely on weak key generation. Quantum Key Distribution (QKD), which theoretically guarantees detection of eavesdropping, is practically vulnerable to denial-of-service attacks, attacks on classical authenticated channels, and endpoint vulnerabilities. The Australian Cyber Security Centre (ACSC) and UK NCSC have both indicated that QKD is not considered a secure form of data protection against this threat.

Technical Deep Dive

▶ Watch: Why quantum key distribution (QKD) is not the solution (26:00)

At the heart of quantum computing lies the qubit, a fundamental unit of quantum information that significantly differs from a classical bit. While a classical bit can only represent a 0 or a 1, a qubit, leveraging quantum phenomena like superposition, can exist in a continuous spectrum of states simultaneously, conceptually visualized as points on the surface of a sphere. This allows a single qubit to encode far more information than a classical bit. The power of quantum computers scales exponentially with the number of qubits, meaning that adding more qubits dramatically increases computational capacity.

Crucially, Shah explains that quantum computers are not merely faster versions of classical computers. They perform fundamentally different types of computations. While classical computers excel at binary arithmetic, quantum computers can tackle problems that are computationally intractable for even the most powerful supercomputers today. This includes complex optimization problems (e.g., transport routing), simulating quantum systems (e.g., drug design, material science, battery development), and, most critically for cybersecurity, factoring large numbers.

Shor's algorithm exploits the unique properties of quantum mechanics, particularly superposition and interference, to efficiently find the prime factors of large composite numbers. It achieves an exponential speedup compared to classical algorithms, making problems like breaking RSA and ECC feasible. In contrast, Grover's algorithm provides a quadratic speedup for unstructured database searches. While theoretically applicable to brute-forcing symmetric keys, its practical utility is limited. The overheads associated with loading data into quantum memory, error rates, and the inability to parallelize the search make it a far less potent threat than Shor's algorithm. For example, a 256-bit AES key would effectively become a 128-bit key in terms of quantum attack complexity, which is still a significant hurdle given current hardware limitations.

The path to building a cryptographically relevant quantum computer is fraught with engineering challenges, primarily error correction. Qubits are incredibly delicate and susceptible to noise, leading to high error rates (e.g., 10^-3). To achieve the reliability needed for complex algorithms like Shor's (which requires error rates as low as 10^-14), a technique called quantum error correction is essential. This involves encoding a single "logical qubit" using many "physical qubits" (often around 1,000 physical qubits per logical qubit), allowing errors to be detected and corrected. Scaling this up to the millions of logical qubits required for breaking RSA 2048 presents immense challenges in cooling (most quantum computers need to operate near absolute zero) and interconnectivity.

The solution to the quantum threat lies in Post-Quantum Cryptography (PQC), also referred to as quantum-resistant cryptography. PQC involves developing new mathematical algorithms that are believed to be secure against both classical and quantum attacks, yet can be run on existing classical computers. The National Institute of Standards and Technology (NIST) has led a decade-long standardization process, soliciting proposals and rigorously testing them. The result is the selection of algorithms, primarily based on lattice cryptography, such as CRYSTALS-Kyber for key encapsulation (replacing RSA/ECC key exchange) and CRYSTALS-Dilithium for digital signatures (replacing ECC digital signatures).

These new PQC algorithms introduce several technical considerations. They often have significantly larger key and signature sizes compared to their classical counterparts. For instance, PQC keys can be 2-4 times larger than RSA, and signatures can be nearly 10 times larger, potentially leading to increased communication overheads. While NIST benchmarking suggests the processing load might only increase by 10-20%, the increased complexity of these algorithms, coupled with a lack of extensive real-world experience and trusted libraries, introduces new risks of implementation vulnerabilities. Furthermore, geopolitical factors mean that global adoption of NIST standards is not guaranteed, with regions like the EU and China exploring their own PQC standards, potentially leading to fragmentation and interoperability challenges.

Demo / Proof of Concept

▶ Watch: Post-Quantum Cryptography (PQC): New math and NIST standards (30:00)

While Rajiv Shah's talk did not include a live technical demonstration of quantum computing or PQC implementation, he effectively highlighted real-world "proofs of concept" and early adoption efforts, underscoring both the feasibility and the challenges of migrating to post-quantum cryptography.

One notable example discussed was Apple's silent upgrade of iMessage to post-quantum cryptography approximately 18 months prior to the talk. Apple, by controlling its entire ecosystem (device, OS, software, servers), managed a seamless, "overnight" transition that went unnoticed by users. This implementation adopted a strategy of double encryption, where messages are encrypted once with existing RSA/ECC and again with PQC, providing a fallback layer of security if the PQC algorithms are later found to be vulnerable to classical attacks. It's important to note that Apple's initial PQC rollout for iMessage focused on content encryption, not authentication, as the latter has different threat models regarding future exploitation.

In contrast, Google's attempt to integrate PQC into Chrome's TLS protocol a couple of months after Apple's iMessage upgrade faced significant hurdles. Google's trial of larger PQC packet sizes caused widespread connection failures, essentially "breaking the internet" for many users. The root cause was not a flaw in the PQC algorithms themselves, but rather unspoken assumptions embedded in network infrastructure. Many routers were configured to drop packets exceeding certain "normal" size thresholds, even if those sizes were technically within protocol standards, perceiving them as anomalous or malicious. This incident starkly illustrated the complexity of migrating cryptographic standards across a diverse and entrenched global internet infrastructure, highlighting the need for extensive testing and coordination.

Shah also mentioned that AWS began providing PQC support by the end of 2023, defaulting to PQC, which suggests they anticipate minimal performance impact. Microsoft has also published a roadmap, aiming for its main services (Windows, Azure, Office 365) to be quantum-safe by the end of 2029. These real-world examples serve as critical case studies, offering lessons learned and providing timelines for organizations to consider in their own PQC migration strategies.

Defensive Implications

▶ Watch: Australian Government's ambitious PQC migration targets (39:00)

The impending quantum threat necessitates a proactive and structured defensive strategy. Rajiv Shah highlights recent guidance from the Australian Cyber Security Centre (ACSC), which recommends supporting new PQC algorithms no later than 2030 and developing migration plans. More ambitiously, recent updates (published days before the talk) suggest implementation plans by end of 2026, starting implementation by end of 2028, and completing migration by end of 2030. This aggressive timeline underscores the urgency for organizations to act.

Shah advocates for a structured framework, which he humorously calls "LATIC" (or "LATTICE" with a minor tweak):

  1. Locate: The first critical step is to comprehensively map where cryptography is used across the organization. This includes identifying all systems, applications, and data flows that rely on encryption, regardless of the quantum threat, as this forms good cybersecurity practice.
  2. Assess: Evaluate each identified cryptographic instance. Determine if it uses symmetric or asymmetric encryption. If asymmetric, identify whether it relies on vulnerable algorithms like RSA or ECC.
  3. Triage: This is the most crucial step, as not all systems can be upgraded simultaneously. Organizations must prioritize systems based on risk. High-priority systems include:
  • Data with long-term value that could be subject to "harvest now, decrypt later."
  • Data traversing public networks where adversaries can easily collect ciphertexts.
  • Systems that are difficult or impossible to upgrade (e.g., embedded hardware, legacy systems, widely distributed infrastructure). These require early attention.
  • Systems with interoperability challenges across multiple parties.
  • Conversely, systems where the vendor has a clear PQC roadmap (e.g., Microsoft Office 365) might warrant waiting for official updates. Similarly, data not crossing public networks or protected by other layers of security might be lower priority.
  1. Implement: When implementing PQC, prioritize vendor-supplied patches and updates. Upgrade cryptographic libraries or procure new, PQC-ready systems. Shah strongly advises against "roll-your-own crypto" or non-standardized implementations, as complexity is the enemy of security and introduces new vulnerabilities.
  2. Communicate & Educate: Inform stakeholders, both internal and external, about the quantum threat and the organization's migration strategy. This helps manage expectations and fosters cooperation, especially for multi-party agreements.

A key defensive strategy is to ensure crypto agility. Given the evolving nature of PQC research and potential future vulnerabilities (e.g., a classical attack against a PQC algorithm), systems must be designed to allow for relatively easy and rapid upgrades to new cryptographic primitives. Double encryption, where data is encrypted with both classical (RSA/ECC) and PQC algorithms, offers a robust interim solution. If the PQC algorithm is compromised, the classical encryption still provides protection, and vice-versa.

The challenges in this migration are significant: achieving multi-party agreement for interconnected systems, navigating unspoken assumptions in network protocols (as demonstrated by Google Chrome's experience), managing additional overheads in key/signature sizes and processing load, and mitigating the risks associated with the increased complexity of new algorithms and the lack of extensive operational experience with them. Despite these hurdles, Shah's message is clear: the time to plan and act is now, focusing efforts on the highest-risk, most difficult-to-upgrade systems first.

Key Takeaways

  • Quantum computing will undermine current asymmetric encryption: Shor's algorithm poses an existential threat to widely used public-key cryptographic schemes like RSA and elliptic curve cryptography, which secure data in transit.
  • The transition will be gradual, not a sudden "QDay": The development of cryptographically relevant quantum computers is an ongoing engineering challenge. The initial impact will be targeted at high-value data, with costs and timeframes preventing instantaneous mass decryption.
  • Post-Quantum Cryptography (PQC) is the solution, not a quantum technology: PQC involves new mathematical algorithms that run on existing classical computers, designed to resist future quantum attacks. It does not require quantum hardware to implement.
  • Proactive planning is essential, starting now: Organizations must begin by locating and assessing their cryptographic usage. Prioritizing high-risk systems, especially those with long-term data value or difficult upgrade paths, is critical.
  • Beware of complexity and "quantum washing": New PQC algorithms are more complex, potentially introducing new vulnerabilities. Organizations should rely on standardized implementations, engage vendors, and avoid overstating quantum capabilities for funding ("quantum washing").
  • Crypto agility and double encryption are key strategies: Systems should be designed for easy cryptographic upgrades. Double-wrapping data with both classical and post-quantum algorithms provides a robust defense against unforeseen future vulnerabilities.

About the Speaker(s)

Rajiv Shah is the Founder of MDR Security, bringing a unique blend of scientific rigor and practical cybersecurity experience to the field. He holds a PhD in physics, providing him with a deep understanding of the fundamental principles behind quantum mechanics and computing. Prior to founding MDR Security, Shah dedicated two decades of his career to prominent organizations, working for companies such as Detica and BAE. His extensive background positions him as a knowledgeable and credible voice on complex, long-term security challenges like the quantum threat.

Reviews

→ Top-rated talks at BSides Canberra VIII (2025)

All talks from BSides Canberra VIII (2025)