What is Mosca's inequality?
Mosca's inequality helps you decide when to start preparing for quantum-safe cryptography. It compares how long information must stay confidential (X), how long migration will take (Y), and an assumed time until a capable quantum computer could break today's public-key cryptography (Z). If X + Y exceeds Z, migration may be too slow to protect some information for its full required lifetime. That does not automatically mean data recorded today is exposed. For that, compare X with Z, and ask whether the data was protected with cryptography a quantum computer could break.
The three numbers
- X: how long the data must stay confidential, from now. For a bank, mortgage files and identity records can mean decades.
- Y: how long it will take to move the systems protecting that data to post-quantum cryptography, including suppliers and testing.
- Z: how long until a quantum computer can break today's public-key cryptography. Nobody knows this number.
If X + Y exceeds Z, the migration may be too slow to protect information for its full required confidentiality lifetime during the transition. Data already recorded today raises a separate question: could it still be sensitive when a capable quantum computer arrives? For that, compare X with Z, assuming the recorded information uses quantum-vulnerable protection. Neither comparison predicts when such a computer will exist.
Why you don't need to know Z
The rule's strength is that it doesn't need a forecast. Instead of guessing Z, you ask whether X + Y could run past the earliest credible estimate. For long-lived data and slow migrations, the answer is often yes even under cautious assumptions, which is the case for starting now. The reason the danger is real today is harvest now, decrypt later: data recorded today can be decrypted once the machine exists.
What about signatures?
The inequality is about confidentiality. Signatures can't be harvested in the same way, because forgery is only possible once a capable machine exists. For them, the question is simpler: will replacing the signing and checking systems (Y) take longer than the time until that machine exists (Z)? Because card networks, terminals and certificate chains change slowly, Y is often long.
Try your own numbers
The Mosca calculator runs the test against three timeline scenarios at once, and the banking guide uses it to decide what to fix first.
Common confusions
- "It predicts when quantum computers will arrive." No. Z is an input you test, not something the rule tells you.
- "It only matters once Z is known." No. Its point is that you can act without knowing Z.
- "X is how long we keep the data." Not quite. It's how long the data must stay secret, which can be longer or shorter than the retention period.
Where this comes up
- Lesson"Harvest now, decrypt later," explainedQuantum and security · 8 min
- LessonWhy your bank is already preparingBanking and payments journey · 14 min
- LessonQuantum threat indicators: what to watch, and when to revisit your planRisk, audit and governance journey · 12 min
- GuideChapter 4 · Deciding what to fix firstProfessionals · Banking guide
Sources and further reading
Tags show the kind of source (how sources are chosen and checked). Checked against these sources on 20 October 2026.
- Peer-reviewed paperCybersecurity in an era with quantum computers: will we be ready?Michele Mosca, IEEE Security & Privacy, 2018
- Government guidanceNIST IR 8547: Transition to Post-Quantum Cryptography StandardsNIST, 2026
Written by Muhammad Atif · Reviewed 20 October 2026 · Report a correction