Mosca's inequality calculator
Pick a preset or move the sliders. The figures are planning assumptions, not predictions. Set z to your own view of when a cryptographically relevant quantum computer arrives.
What Mosca's inequality says
Michele Mosca, co-founder of the Institute for Quantum Computing at the University of Waterloo, framed quantum risk as a simple comparison of three durations:
- x, how long your data or keys must stay secret (the security shelf life),
- y, how long it will take you to migrate to quantum-safe cryptography,
- z, how long until a quantum computer can break today's public-key cryptography.
If x + y > z, you have a problem: the data you are protecting today will still matter after an adversary can decrypt it. Mosca set this out in IEEE Security & Privacy in 2018, in "Cybersecurity in an Era with Quantum Computers: Will We Be Ready?".
Why it matters more than the date of Q-Day
Public debate fixates on z, the date. Mosca's point is that z is the one term you cannot control and the one term you do not need to know precisely. If x plus y is already larger than any credible z, the planning answer is the same whether Q-Day is 2030 or 2040: start now.
That is also why harvest now, decrypt later is the right threat model. Adversaries do not need a quantum computer today. They only need to record traffic today and wait.
A worked example from industrial control
Take a water utility. Its SCADA telemetry is stale within hours, so x is close to zero and Mosca's inequality is comfortable even with a slow migration. Its engineering drawings, network topology and the keys that sign PLC firmware are different. They stay sensitive for 15 to 25 years, and OT migration cycles run 8 to 12 years because controllers are replaced on capital schedules, not software schedules. With x = 25 and y = 10, the inequality fails for any z under 35 years, and no serious estimate puts z anywhere near that.
The practical move is to rank data flows by x, not by system. That is step two of the five-step OT migration plan.
My take
For any information that has to stay confidential for a decade or more, the point of no return under Mosca's inequality has already passed. The only variable left to argue about is y, and y is the one organisations consistently underestimate.
Shujaatali Badami, quantum-IoT research engineer, Chicago