Shor's Algorithm: Breaking RSA

lofi west coast rap

Listen on 93

Lyrics

[Verse 1]
Peter Shor discovered something strange in ninety-four
A quantum path to shatter what we thought was safe before
RSA's mighty fortress built on numbers prime and tall
Could crumble when the qubits start their exponential crawl

[Chorus]
Period finding, order seeking, quantum states entangled
Modular arithmetic where classical minds get tangled
Shor's algorithm dancing through the superposition maze
Two-oh-four-eight bit keys dissolving in quantum phase

[Verse 2]
Start with N equals p times q, the product we must break
Choose random A, then find the period that powers make
A to the R mod N equals one, the cycle we pursue
Quantum Fourier transforms reveal what classical cannot do

[Chorus]
Period finding, order seeking, quantum states entangled
Modular arithmetic where classical minds get tangled
Shor's algorithm dancing through the superposition maze
Two-oh-four-eight bit keys dissolving in quantum phase

[Bridge]
Hadamard gates prepare the ground
Controlled operations spinning round
Measure once and collapse the dream
But interference patterns gleam
Greatest common divisor's gift
Reveals the factors through the drift

[Verse 3]
Where classical computers need exponential time to crawl
Shor's method needs just polynomial steps to breach the wall
Each qubit doubles quantum power, scaling up the threat
The cryptographic winter that we haven't weathered yet

[Chorus]
Period finding, order seeking, quantum states entangled
Modular arithmetic where classical minds get tangled
Shor's algorithm dancing through the superposition maze
Two-oh-four-eight bit keys dissolving in quantum phase

[Outro]
When quantum computers reach the scale
RSA's protection turns quite frail
Post-quantum crypto must arise
Before Shor's algorithm flies

← Classical vs Quantum Computing Power | Period Finding in Quantum Computing →