CRYPTOGRAPHYQUANTUM AND POST-QUANTUM

Quantum andpost-quantum cryptography.

They sound alike and are not the same. See what can be broken, how a spy is discovered and what replaces the locks.

  1. 1 · The lock
  2. 2 · Will I make it?
  3. 3 · Catch the spy
  4. 4 · Create a key
  5. 5 · Do it in code
  6. 6 · QKD vs PQC
  7. Glossary

In short

Quantum cryptography uses physics to share keys and notice interception. Post-quantum cryptography uses new math, on normal computers, to resist a future quantum computer. For most organizations, the first step is the latter.

01 Today’s lock

Easy to close.
Hard to open.

RSA relies on an asymmetry: multiplying two large prime numbers is easy; recovering those primes from the result is, for a normal computer, impractical at the sizes in use.

The Shor’s algorithm changes the game. It turns “find the primes” into “find how often a sequence repeats”, and a quantum computer is very good at finding that rhythm.

Experiment 6

Find the rhythm

Choose a number to factor:
  1. 1
  2. 7
  3. 4
  4. 13
  5. 1
  6. 7
  7. 4
  8. 13

The sequence 7ˣ (remainder when divided by 15) repeats every 4 steps. From that 4 come the factors: 3 × 5 = 15.

What it shows
The central idea of Shor: the factors come from the period of a sequence.
What it does not show
The quantum part. Here it is computed step by step, which is impossible for numbers with hundreds of digits. A 2025 estimate calculates, under certain assumptions, fewer than a million noisy qubits and less than a week for RSA-2048; that machine is not known today.

02 The clock

Does your secret
outlast the lock?

Mosca’s rule is a sum: years the data must stay secret + years you take to migrate. If it exceeds the years left until the machine exists, some data is exposed.

Nobody knows the third figure. Choose the assumption yourself and see what happens.

Calculator

Your time margin

With these assumptions there is a 3-year gap: data that should still be secret could be exposed.

What it shows
How your own timelines determine the urgency.
What it does not show
When the machine will exist. That value is your assumption, not our forecast.

03 Quantum cryptography

Looking
leaves a trace.

In the BB84protocol, from quantum key distribution (QKD), Ana sends photons prepared at random on one of two Bloch sphere axes: Z (0 o 1) o X (+ or −). Beto also picks at random how to measure them, and both keep only the cases where the axis matched. This is not PQC: it uses physics, not new algorithms.

A spy has to measure in order to copy, and does not know which axis to use. Resending introduces errors: if everything is intercepted, about 1 in 4 kept bits fails. Ana and Beto compare a sample, measure the error rate (QBER) and, if it is high, discard the key.

Experiment 7

Send 400 photons

Errors in the key—

Press “Send photons”.

Each square is a kept photon: light means match; red, error. The line marks 11%, the theoretical reference threshold for this protocol.

With no spy and no noise there are no errors; with total interception, errors are around 25%.

What it shows
Why an intercept-and-resend attack gives itself away statistically.
What it does not show
A real channel, with noise and imperfect equipment, or other kinds of attack. Nor does it authenticate Ana and Beto.

04 From photons to key

Four steps.
One encrypted message.

  1. Sending. Ana picks a random bit and axis for each qubit.
  2. Measurement. Beto picks an axis at random. If it does not match, the result is a coin toss.
  3. Sifting. Over a public channel they compare axes, never results, and discard the different ones.
  4. Checking. They sacrifice a sample. With few errors they continue; with many, they cancel everything.

It is not “unhackable”: the public channel must be authenticated or someone can impersonate Ana or Beto. Real equipment has noise and flaws, and errors must also be corrected and what a spy may have learned must be reduced.

Experiment 8

Create a key step by step

First 10 of 1,024. Out: different axes. Checked o Error: bit spent on the sample. Key: kept.

Qubits where both used the same axis are kept; a sample reveals whether someone interfered.

What it shows
The full journey: from random bits and axes to a key that encrypts with AES-256, and how a spy is exposed.
What it does not show
Real security: the bits come from your browser’s randomness, not physical qubits. SHA-256 stands in for privacy amplification, and there is no error correction or authentication.

05 Proof of concept

Do it in code.
No quantum hardware.

With Qiskit, IBM’s library, you can simulate BB84 on your computer. Cirq, from Google, lets you build something equivalent.

  1. X y H

    Qubits start at 0. The X gate encodes a 1; the H gate moves from the Z axis to the X axis.

  2. 0 % / 25 %

    With no noise or spy there are no errors. If someone intercepts and resends everything, they are around 25%.

  3. ~512

    Of 1,024 qubits about half survive, before spending bits on error checking. With 100 there is not enough for a 256-bit key.

bb84_qiskit.pyDownload
# Prueba de concepto educativa de BB84 con Qiskit (simulación sin ruido). # Uso: pip install qiskit && python bb84_qiskit.py # No es un sistema de seguridad: no autentica el canal, no corrige errores ni amplifica la privacidad. import secrets from qiskit import QuantumCircuit from qiskit.quantum_info import Statevector def medir(circuito): return int(Statevector(circuito).sample_memory(1)[0]) def preparar(bit, eje): circuito = QuantumCircuit(1) if bit: circuito.x(0) # codifica un 1 if eje: circuito.h(0) # pasa del eje Z (0) al eje X (1) return circuito def intercambio(n=1024, espia=False): llave_alice, llave_bob = [], [] for _ in range(n): bit, eje_alice, eje_bob = (secrets.randbits(1) for _ in range(3)) circuito = preparar(bit, eje_alice) if espia: # intercepta, mide y reenvía eje_espia = secrets.randbits(1) if eje_espia: circuito.h(0) circuito = preparar(medir(circuito), eje_espia) if eje_bob: circuito.h(0) # Bob mide en el eje X resultado = medir(circuito) if eje_alice == eje_bob: # tamizado: solo se comparan los ejes llave_alice.append(bit) llave_bob.append(resultado) return llave_alice, llave_bob if __name__ == "__main__": for espia in (False, True): alice, bob = intercambio(espia=espia) errores = sum(a != b for a, b in zip(alice, bob)) / len(alice) print(f"espía={espia}: {len(alice)} bits conservados, errores {errores:.1%}")

The code goes as far as comparing the keys. It is educational material: a simulator shows the protocol logic; it does not protect information.

06 Comparison

Two answers.
One problem.

Our product work focuses on post-quantum cryptography: it runs on the infrastructure that already exists.

QuestionPost-quantum (PQC)Quantum (QKD)
What it isNew mathematical algorithmsA physical method to agree on keys
What it needsNormal software and equipment (with more data per operation)Dedicated hardware and fiber or optical link
What it is forEncrypting keys and digital signingDistributing keys; the channel must also be authenticated
What it relies onProblems with no known efficient attackLaws of physics, under assumptions about the equipment
StatusNIST standards published in 2024Specialized uses; European agencies point out limitations

A–Z Glossary

The words,
in plain English.

Qubit
The unit of quantum information. Its state is described with two amplitudes, one for 0 and one for 1.
Amplitude
A number (in general complex) associated with each possible result. Its size squared gives the probability.
Bloch sphere
Representation of a qubit state as a point on a sphere; single-qubit gates are rotations.
Superposition
A state with amplitude on several results at once; measuring shows only one.
Interference
Amplitudes add up or cancel out, like waves.
Entanglement
Qubits that can only be described as a whole and whose results are correlated.
Shor’s algorithm
Quantum algorithm that factors numbers and computes discrete logarithms efficiently; it threatens RSA and elliptic curves.
Measurement basis or axis
The question asked of a qubit: Z axis (0 or 1), X axis (+ or −) or Y axis (+i or −i).
QBER
Error rate in the bits of a quantum key distribution; if it is high, the key is discarded.
Privacy amplification
Shortening a key to erase what a spy may have learned.
QKD
Quantum key distribution: agreeing on a key using quantum states and dedicated equipment.
Post-quantum cryptography (PQC)
Algorithms for normal computers designed to resist known quantum attacks.
Harvest now, decrypt later
Copying encrypted data today to try to decrypt it when a capable machine exists.
Proof of concept (PoC)
A small, bounded trial to check whether an idea works before building or deploying a product. Not to be confused with PQC.
Crypto-agility
The ability to change algorithms without redesigning the system.

? Frequently asked questions

Answers
without hype.

What is the difference between quantum and post-quantum cryptography?

Quantum cryptography, such as quantum key distribution (QKD), uses physical phenomena and special equipment to agree on a key. Post-quantum cryptography is a set of mathematical algorithms that run on normal computers and resist known quantum attacks.

Does a quantum computer break all encryption?

No. Shor’s algorithm affects RSA, Diffie-Hellman and elliptic curves. Symmetric encryption and hash functions are affected to a lesser degree by Grover’s algorithm; using large sizes, such as AES-256, keeps a high margin.

Which algorithms replace RSA and elliptic curves?

NIST standardized ML-KEM (FIPS 203) for key establishment, and ML-DSA (FIPS 204) and SLH-DSA (FIPS 205) for digital signatures.

When do we have to migrate?

In its IR 8547 report, NIST deprecates vulnerable algorithms after 2030 and disallows them within its standards after 2035. The G7 suggests prioritizing critical financial systems around 2030-2032, without it being a regulatory obligation.

Can I try BB84 without quantum hardware?

Yes, as a simulation. On this page you can create a key step by step and download Qiskit code. It helps to understand the protocol; it does not protect information, because it uses neither physical qubits nor an authenticated channel.

Is quantum key distribution impossible to hack?

It is not advisable to say so. In theory interception can be detected under certain assumptions, but real equipment can have flaws, and it requires an authenticated channel and dedicated hardware. Several European agencies recommend prioritizing post-quantum cryptography.

Are post-quantum algorithms unbreakable?

Not that either. No efficient attack against the standards is known, but there is no proof that it is impossible. In 2022 a candidate called SIKE was broken with a normal computer. That is why being able to change algorithms without rebuilding systems matters.

111 Founding partners program

Getting ready takes years.
Starting takes one message.

We invite banks, public bodies, universities and investors to explore research agreements, assessments and pilots. Expressing interest does not imply payments or investment commitments.

Sources

Reviewed on . Deadlines and estimates change: always check the original document.

  1. P. Shor · Polynomial-time algorithms for prime factorization and discrete logarithms
  2. L. Grover · A fast quantum mechanical algorithm for database search
  3. C. Gidney · Resource estimate for factoring RSA-2048 (May 2025, preprint)
  4. P. Shor and J. Preskill · Proof of security of the BB84 protocol (11% threshold)
  5. Qiskit · open-source library for quantum computing
  6. NIST · FIPS 203, ML-KEM (August 13, 2024)
  7. NIST · FIPS 204, ML-DSA (August 13, 2024)
  8. NIST · FIPS 205, SLH-DSA (August 13, 2024)
  9. NIST · IR 8547, transition to post-quantum cryptography (October 2026)
  10. BSI, ANSSI and agencies of the Netherlands and Sweden · Position on quantum key distribution (2024)
  11. Bank for International Settlements · Papers No. 158, quantum readiness for the financial system (July 2025)
  12. W. Castryck and T. Decru · Key recovery attack on SIDH, the basis of SIKE (2022)

111Quantum is a research and development initiative of 111LABS S.A.S. Quantum Shield is in design; it is not a certified product and is not available for production. We do not claim absolute security or contracted access to quantum hardware. The simulators run in your browser, on a conventional computer: they calculate what theory predicts and are not physical experiments. This information is not financial advice.