liveBook · Manning

Shor's algorithm

As explained in Real-World Cryptography

Shor's algorithm is a quantum algorithm that efficiently solves integer factorization and discrete logarithm problems.

Shor's algorithm is a quantum method for finding periods in mathematical functions. That capability efficiently solves integer factorization and discrete logarithms, the hard problems supporting much deployed public-key cryptography. section 14.1.3

Why cryptographers worry

For a function such as g^x mod N, finding a period can lead to efficient factorization. A sufficiently capable quantum computer could therefore break RSA, Diffie–Hellman, and elliptic-curve cryptography; merely increasing key sizes is described as impractical for RSA. section 14.1.3

The practical takeaway is:

  • Long-lived confidential data encrypted today with vulnerable public-key systems may become readable when capable quantum computers exist. section 14.1.3
  • Post-quantum cryptography seeks replacement asymmetric encryption, key exchange, and signature primitives rather than relying on larger traditional parameters. section 14.5

How Real-World Cryptography covers it

How deep it goes
Explains period finding and its cryptographic consequences, but stops short of implementation details or a formal proof.
Examples
Uses g^x mod N, RSA, Diffie–Hellman, elliptic curves, and long-term health or government records as threat examples.
What you can do after
Evaluate which public-key systems are vulnerable to future quantum attacks and why post-quantum migration matters.
How it connects
Connects factorization and discrete logarithms with RSA, Diffie–Hellman, elliptic-curve cryptography, and post-quantum cryptography.

Also explained in

Compare how 2 books explain Shor's algorithm →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Real-World Cryptography. The section links point to the parts of the book it draws on.