← Back to section · Research & Analysis

The Mosca Inequality Is Not a Slogan: Estimating Its Three Variables, and a Sensitivity Analysis

We break X+Y>Z into three operational estimates — how to estimate the secrecy lifetime X, the migration time Y and the threat-arrival time Z, which variable carries the most uncertainty, and how the conclusion flips as the assumptions move across realistic ranges.

Published 22 November 2026 · 6 min read · PQ Frontier

The Mosca Inequality Is Not a Slogan: Estimating Its Three Variables, and a Sensitivity Analysis
AI-generated site artwork
Video explainer · Original Research: Analysis and Derivations

The Mosca inequality is quoted constantly and computed rarely. Anyone can put X+Y>Z on a slide; at the planning table, what numbers go into the three variables — and how far the conclusion bends if they are wrong — is worked through far less often. We take the three estimates apart to an operational standard, then run a sensitivity analysis.

Three variables, three estimation methods

X is the secrecy lifetime: how many years, from today, this data must remain confidential. It is set by business and regulation and can be measured internally: medical records and genomic data are counted in decades (they follow the patient for life), personal identity and financial records in roughly a decade, session keys and short-lived tokens in hours to days. Note that X starts today, not on the day a quantum computer appears — harvest-now-decrypt-later means adversaries are stockpiling ciphertext now, so the secrecy clock is already running. Y is the migration time: how many years it takes to move the relevant systems to post-quantum schemes. Also self-measurable, and the most commonly underestimated: the historical reference is SHA-1’s retirement, which took over a decade from the 2005 theoretical attacks to full browser distrust, and every algorithm transition in the TLS ecosystem is a decade-scale project; a single organisation’s internal systems typically take 2–5 years, cross-organisation protocol ecosystems 5–10 years and up. Z is the threat-arrival time: when a fault-tolerant quantum computer capable of breaking current public-key cryptography appears. It cannot be measured internally; it can only be taken as a range from external assessments — institutional and expert-survey positions spread from “a non-trivial probability within ten years” to “twenty years or more” — and planning should use the conservative end of the range, not the median.

Substituting magnitudes: how the conclusion flips

Run one typical set of values: a data class with X=20 years (long-term archives) and an organisational migration time Y=5 years gives X+Y=25. With Z at 15 years, 25>15 and the inequality holds — even if migration starts today, this data will spend about ten of its secrecy years exposed to a machine that can decrypt it; the conclusion is to act immediately and prioritise this data class. Move Z to 10 years (the conservative lower bound) and the gap widens to 15 years, tightening the conclusion to “migration plus layered defence, such as re-encrypting stored data ahead of time”. Change the data class: session-type traffic with X≈0 and Y=2 years gives X+Y=2, which does not satisfy the inequality even at Z=10 — a normal pace suffices. Within one organisation, different data classes yield entirely different verdicts after substitution: that is precisely why the inequality must be applied per category, not computed once for the whole organisation.

Sensitivity: which variable rules the verdict

Perturb each variable and watch the verdict’s stability. Moving X by ±5 years changes the size of the gap for long-secrecy data but not the direction of “already late or not”. Stretching Y from 3 to 7 years flips medium-secrecy data (X≈10 years) from safe to at-risk, but for data with X of 20 years or more no value of Y rescues the outcome — for that class the verdict is set by X and Z alone. Z is the dominant variable: every five years its lower bound moves earlier, another cohort of data classes crosses the flip line. The planning implications are concrete: first, rather than arguing over point estimates of Z, measure uniformly against a conservative lower bound and accept its verdict; second, the payoff from shortening Y concentrates in medium-secrecy data — long-secrecy data is saved by starting early, not by migrating faster; third, X itself can be actively managed — shortening retention and destroying data on schedule shrinks the left-hand side of the inequality directly.

Nor must the lower bound of Z rest on expert surveys alone: published official timelines are themselves a form of lower-bound reference. The transition cadence CNSA 2.0 sets for national security systems — post-quantum algorithms preferred for new systems from 2025, with legacy equipment replaced in phases across 2030 to 2033 — reflects the floor judgement on timing by the institutions holding the most threat intelligence; the EU’s coordinated roadmap sets 2030 as the milestone for completing migration of high-risk systems. These official anchors are not predictions of Z, but when an organisation’s worksheet only works if “Z lies well beyond 2035”, it is in effect betting against every published official position — and the worksheet should flag that bet explicitly.

Turning the inequality into a worksheet

For the method to be usable it has to become a table that can be filled in row by row. Our practice runs in four steps. Step one: inventory the data classes, listing ciphertext assets system by system, with granularity finer rather than coarser — a single system routinely mixes data whose secrecy lifetimes differ by a factor of ten. Step two: assess X per class, grounded in statutory retention requirements, contractual obligations and the data subjects’ life cycles, with the basis written down rather than a round number from thin air. Step three: assess Y per class — noting that Y is the time for the systems that data class depends on to finish migrating, including waiting time for vendor components; the long tail usually sits in third-party components, not in-house systems. Step four: substitute the conservative lower bound of Z uniformly, draw the conclusions, move the classes where the inequality holds to the front of the migration sequence, and start stored-data treatment for them immediately (re-encryption, shortened retention, or isolated storage). The review cadence should track external assessments of Z: whenever a new official timeline document or expert survey appears, update only the Z column and recompute the whole table; review the other two columns annually. That turns the inequality from a one-off warning into a continuously running scheduling tool. One common error deserves emphasis: filling Y with “when the standard is published” or “when procurement delivers”. Migration is complete when production traffic actually runs on the new algorithms and passes acceptance — pilot, staged rollout and rollback planning all sit in between, and dating Y by the earliest milestone systematically understates the left-hand side.

Limits of use

The inequality is a decision criterion, not a forecasting tool: it does not tell you which year the quantum computer arrives, only whether, under stated assumptions, you are already late. Nor does it distinguish attack types — for signature forgery there is no harvest-now, and Z must be reinterpreted as “whether forgery becomes possible before the system retires”, which deforms the framework accordingly. Finally, it assumes a completed migration equals a safe one, ignoring migration quality itself. Write these three caveats at the top of the worksheet, and the inequality is a planning instrument rather than a slogan.

Sources

  • Mosca, M., “Cybersecurity in an era with quantum computers: will we be ready?”, IEEE Security & Privacy 16(5), 2018 (the original statement of the inequality and of X/Y/Z).
  • NIST, NISTIR 8547 (initial public draft), Transition to Post-Quantum Cryptography Standards (migration timeline framing).
  • Global Risk Institute, Quantum Threat Timeline expert survey series (range-based positions on Z).

Tags: Mosca InequalityThreat ModelsMigration PlanningQuantitative Frameworks