QuantumAtlas

Research Explained · Applications

Cybersecurity in an Era with Quantum Computers: Will We Be Ready?

Michele Mosca

University of Waterloo; Perimeter Institute for Theoretical Physics · 2018 · Difficulty ★★☆☆☆

Reference

Mosca, M. (2018). Cybersecurity in an era with quantum computers: Will we be ready? IEEE Security and Privacy, 16(5), 38-41.

This page is an independent explanation. For exact wording, figures, and data, read the original paper.

The short version

Michele Mosca explains why organizations must plan the move to quantum-safe cryptography before large quantum computers exist. The paper presents Mosca's inequality, a simple rule that compares how long data must stay secret, how long migration takes, and how soon quantum computers may arrive.

Key findings

  • If the time that data must remain confidential, plus the time needed to migrate to quantum-safe systems, exceeds the time until a quantum computer can break current cryptography, the data are at risk.
  • The threat is real now because encrypted data can be recorded today and decrypted later, the harvest-now-decrypt-later attack.
  • Migrating cryptography in large systems takes many years, so planning must start long before the threat is realized.
  • The paper advocates inventorying cryptographic uses, adopting crypto-agility, and following standards for quantum-safe algorithms.

Background: why this paper was written

By 2018, Shor's algorithm had been known for more than two decades, and standardization of post-quantum cryptography was under way at NIST, with 69 candidate algorithms in the first round. Quantum computers were small, with tens of qubits, and estimates for when a cryptographically relevant machine would appear ranged from a decade to never. Many organizations saw no urgency.

Mosca, a mathematician who had worked on quantum algorithms and was a co-founder of the Institute for Quantum Computing at Waterloo, had been giving talks on the topic since 2013 to security professionals, and the paper in IEEE Security and Privacy summarizes the argument for a technical but nonspecialist audience.

What the researchers did

The core of the paper is the inequality that has come to be called Mosca's theorem. Let X be the number of years that the information needs to be protected, Y the number of years it will take to make the system quantum safe, and Z the number of years before a quantum computer capable of breaking the current cryptography is built. If X plus Y is greater than Z, then there is a problem: some information will be exposed before it has lost its value.

The paper illustrates the three quantities. For X, examples are health records, which may need to stay private for decades, and national security information, which can need protection for 50 years or more. For Y, it discusses the difficulty of changing cryptography embedded in hardware, protocols, and standards, which in past transitions, such as from DES to AES or from SHA-1 to SHA-2, took more than a decade. For Z, Mosca gives probability estimates from surveys of experts, which indicate a significant chance of a capable machine within 10 to 15 years, with substantial uncertainty.

The author recommends a program with several steps: identify what information is protected by public-key cryptography and for how long, determine the dependencies and update paths, adopt cryptographic agility so that algorithms can be replaced without redesigning systems, and track the standardization of quantum-safe algorithms. The paper also compares quantum-safe cryptography, which runs on classical hardware, with quantum key distribution, and notes that the former is the mainstream solution, while the latter may be useful in specific cases.

Results

The inequality gave a clear, easily remembered way to explain the risk, which turned an abstract threat into a planning problem.

The paper's recommendations have been adopted in national guidance: the NSA's CNSA 2.0 suite of 2022 sets timelines for transition, the UK NCSC set milestones for 2028, 2031, and 2035, and the U.S. government's memorandum in 2022 required agencies to inventory their cryptography.

Mosca and others have published periodic updates of the expert survey, the Quantum Threat Timeline Report, which tracks opinions about the likelihood of a cryptographically relevant machine.

Key facts and numbers

ItemDetail
Year and venue2018, IEEE Security and Privacy
Mosca's inequalityX + Y > Z means data are at risk (X: shelf life, Y: migration time, Z: time to a quantum threat)
Past migrationsDES to AES and SHA-1 to SHA-2 each took more than a decade
NIST standardsFIPS 203, 204, and 205, published in 2024
Policy timelinesNSA CNSA 2.0 and UK NCSC milestones for 2028, 2031, and 2035

Limitations and caveats

The inequality is a simplification. It treats the quantities as single numbers, while in practice they are uncertain and differ between systems, so a risk analysis must consider distributions.

The estimate of Z is uncertain and has changed with progress in algorithms and hardware, for example the reductions in the estimated qubits for factoring RSA-2048.

The paper is a perspective, not a technical result, and its recommendations are judgments.

Why it matters

Mosca's inequality is the standard way to explain the urgency of post-quantum migration to executives and regulators, and it appears in guidance from NIST, the NSA, the UK NCSC, and the European Union.

What happened next

The paper is widely cited in policy documents, and the standardization of ML-KEM, ML-DSA, and SLH-DSA in 2024 provided the algorithms that the migration needs. Mosca's company, evolutionQ, offers tools for cryptographic inventory and migration planning.

The framework is also used in discussions of harvest-now-decrypt-later, and it supports the deployment of hybrid key exchange in browsers and servers, which protects traffic today against later decryption.

How to read the original paper

The article is short and written for a general technical audience. The section presenting the inequality is the main part.

The harvest-now-decrypt-later, post-quantum cryptography, and Shor's algorithm pages on this site cover the technical background, and the Gidney papers on this site show how estimates of Z have changed.

Original abstract (paraphrased)

The paper discusses the risk that quantum computers pose to public-key cryptography and presents a framework for assessing it, in which the shelf life of the data, the time required to migrate systems to quantum-safe cryptography, and the time until a large quantum computer is available are compared. It argues for early action, discusses the standardization of post-quantum cryptography, and surveys the options of quantum-safe cryptography and quantum key distribution.

Frequently asked questions

What is Mosca's inequality?

A rule stating that if the time data must stay secret plus the time needed to migrate exceeds the time until a quantum computer can break current encryption, the data are at risk.

Why act before quantum computers exist?

Because encrypted data can be stored now and decrypted later, and migrating large systems takes many years.

What should organizations do?

Inventory their cryptography, build crypto-agility, and adopt standardized post-quantum algorithms, starting with data that must stay secret for a long time.

Keep exploring

Explanations on this page summarize published work for education (last reviewed September 30, 2026). Numbers are taken from the cited paper or from widely reported follow-up work, and later results may have updated or challenged them. Check the reference above before citing.

← Back to all research papers