VCRI, The Value Chain Risk Institute
VCRI Learn · Post-quantum cryptography

Why quantum
breaks RSA

Shor’s algorithm, worked by hand on the number 15, and why post-quantum crypto is different.
Joshua Marpet and Cairn Viktor

Why Quantum Breaks RSA · VCRI Learnvaluechainrisk.org/learn · CC BY 4.0
The foundation

RSA rests on one hard direction

Your public key holds the product. Your private key depends on the two primes.

Easy: multiply

3 × 5 = 15

Any computer multiplies two 300-digit primes in a blink.

Hard: un-multiply

15 = ? × ?

Splitting a 600-digit product back into its primes is out of reach for classical computers.

Why Quantum Breaks RSA · VCRI Learnvaluechainrisk.org/learn · CC BY 4.0
Step 1, the idea

A remainder is just a clock

01234567891011121314

Picture a clock with 15 hours instead of 12, numbered 0 to 14.

Count 49 hours around it. You pass 15, 30 and 45, then land on 4.

That is all “49 mod 15 = 4” means: where you land on the clock.

Why Quantum Breaks RSA · VCRI Learnvaluechainrisk.org/learn · CC BY 4.0
Step 1, the work

Keep multiplying by 7 and see where you land

StepMultiplyLands on the 15-hour clock
Start1
11 × 7 = 77
27 × 7 = 494  (49 = 45 + 4)
34 × 7 = 2813  (28 = 15 + 13)
413 × 7 = 911  (91 = 90 + 1), back where we started
Why Quantum Breaks RSA · VCRI Learnvaluechainrisk.org/learn · CC BY 4.0
Step 1, the picture

The hops make a loop. Its length is the rhythm.

×7×7×7×717413period4

1 → 7 → 4 → 13 → 1

Four hops and you are home. Then the same four hops repeat, forever.

The period is r = 4. Finding that number is the whole game.

Why Quantum Breaks RSA · VCRI Learnvaluechainrisk.org/learn · CC BY 4.0
Step 1, the rhythm

Written out, it repeats like a drumbeat

741317413174131period 1: 4 stepsperiod 2: 4 stepsperiod 3: 4 steps

A quantum computer is a machine for hearing exactly this kind of beat. Hold on to that; we come back to it.

Why Quantum Breaks RSA · VCRI Learnvaluechainrisk.org/learn · CC BY 4.0
Step 2, why it works

Why a rhythm gives away the factors

A loop of 4 means

7⁴ lands on 1, so 7⁴ − 1 is a multiple of 15.

2400 = 15 × 160

Split it in half

7⁴ − 1 = (7² − 1) × (7² + 1)

2400 = 48 × 50

15 must hide inside

15 divides 48 × 50 but neither number alone.

So 15’s factors are split between them: 3 in 48, 5 in 50.

Why Quantum Breaks RSA · VCRI Learnvaluechainrisk.org/learn · CC BY 4.0
Step 2

The rhythm cracks it

Step 2 is easy on any laptop. Step 1 is the wall: at real RSA size, the pattern runs for an astronomically long time before it repeats.

Half the period

r = 4, so use 7² = 49. One below and one above: 48 and 50.

→
Shared factors

gcd(48, 15) = 3
gcd(50, 15) = 5

→
Cracked

3 × 5

Why Quantum Breaks RSA · VCRI Learnvaluechainrisk.org/learn · CC BY 4.0
The quantum step

What the quantum computer adds

Like hearing a note’s pitch without counting every vibration. Elliptic-curve crypto hides the same kind of structure, so Shor breaks it too.

Classical computer

Walks the pattern step by step to see where it repeats.

At 2048 bits, no classical machine can finish the walk.

Quantum computer

Holds the whole pattern in superposition and hears its rhythm.

The quantum Fourier transform makes wrong answers cancel and the right period reinforce, like waves.

Why Quantum Breaks RSA · VCRI Learnvaluechainrisk.org/learn · CC BY 4.0
Post-quantum

No rhythm to find

Noise is the defense: it erases the clean, periodic structure Shor needs.

Lattices

ML-KEM (from Kyber) and ML-DSA (from Dilithium), NIST FIPS 203 and 204.

A grid of points in hundreds of dimensions. You get a point nudged off the grid: which grid point is closest? Easy in 2D. In hundreds of dimensions, with deliberate noise, there is no known fast method, classical or quantum.

Hash-based signatures

SLH-DSA (from SPHINCS+), NIST FIPS 205.

Security rests only on hash functions being one-way. Almost no math structure to attack. Bigger signatures, very conservative design.

Why Quantum Breaks RSA · VCRI Learnvaluechainrisk.org/learn · CC BY 4.0
Questions everyone asks

Two follow-ups

Is AES broken too?

No. Grover’s algorithm roughly halves symmetric key strength.

AES-256 behaves like AES-128 against a quantum attacker, which is still considered strong.

Why care before the machines exist?

Harvest now, decrypt later: traffic recorded today can be read once the machines arrive.

Signatures add “forge later”: long-lived signing keys and the things they vouch for.

Why Quantum Breaks RSA · VCRI Learnvaluechainrisk.org/learn · CC BY 4.0
What to do Monday

Start with an inventory

  • Find it: where do you use RSA and elliptic-curve keys? TLS, VPNs, SSH, code signing, document signing, device identity.
  • Rank it: which data must stay secret, or which signatures must stay trustworthy, for ten years or more?
  • Ask your vendors: what is your post-quantum plan, and when do you support ML-KEM?
  • Prefer hybrid: classical plus post-quantum key exchange, so you are covered if either one fails.
Why Quantum Breaks RSA · VCRI Learnvaluechainrisk.org/learn · CC BY 4.0
VCRI

Free to use, teach and share.

This deck is part of the VCRI Learn series. Use it in your class, your team meeting or your chapter, with credit to The Value Chain Risk Institute.

valuechainrisk.org/learn

← → or click to move · F full screen · N speaker notes · All decks