Factoring assumption

The factoring assumption states that there is no efficient algorithm that factors the product of two large, random, equal-length primes and .

Assumption

For security parameter , let be independently uniform random -bit primes and .

\begin{algorithm}
\algname{Game}
\caption{$\Game^{\mathrm{fac}}_{\calA}(\secpar)$}
\begin{algorithmic}
\State $p, q \getsr$ independent uniform $\secpar$-bit primes; $N \gets pq$
\State $p' \gets \calA(1^\secpar, N)$
\Return $[p' \in \{p, q\}]$
\end{algorithmic}
\end{algorithm}

The factoring advantage of an adversary is

Factoring is hard if for all efficient , is negligible.

Known Results

  • RSA hardness for uniform-prime moduli implies factoring hardness (RSA ⇒ FAC), since the factors of give and hence the decryption exponent — RSA78; the converse is open in the standard model, and RSA ⇔ FAC holds in the generic ring model — AM09, DLO24
  • QR ⇒ FAC: QR hardness for Blum moduli implies hardness of factoring them — folklore; the converse is open — folklore.
  • DCR ⇒ FAC; the converse is open — folklore.

Variations

Strong RSA assumption

The strong RSA assumption lets the adversary choose the exponent: given and a random , it must output with and — BP97, FO97. Its hardness for a generator implies RSA hardness for the generator with the same moduli and a uniform prime exponent in (Strong RSA ⇒ RSA) — folklore.

Factoring Blum integers

For security parameter , let be independent uniform -bit primes with , and , a Blum integer. Factoring Blum integers is hard if for all efficient ,

is negligible. Squaring modulo a Blum integer permutes — BBS86 — which makes Rabin’s function, whose inversion is as hard as factoring — Rab79 — a trapdoor permutation (Factoring ⇒ TDP (Rabin)); Blum integers also underlie the Blum–Blum–Shub generator — BBS86.

Attacks

For and , write , so and . A heuristic running time rests on an unproven assumption that some quantity (an iterated map, the smoothness of auxiliary integers) behaves as it would for random inputs.

  • Trial division finds the smallest prime factor of with at most divisions, so divisions for — standard.
  • Pollard’s method: for and , is divisible by every prime factor of such that every prime power dividing is at most , and computing it takes multiplications modulo — Pol74.
  • Pollard’s method finds a prime factor of with a heuristic expected multiplications modulo (small-space collision search), so for with — Pol75.
  • Elliptic curve method (ECM) finds a prime factor of in conjectured expected time — Len87; for with and of equal bit length this is .
  • Quadratic sieve factors in heuristic time , whatever the sizes of its prime factors — Pom84.
  • Number field sieve (NFS): the special NFS factors with small and in heuristic time — LLMP90; the general NFS factors every in heuristic time — BLP93.
  • Multiple number field sieve: Coppersmith’s variant of the general NFS with several number fields runs in heuristic time with — Cop93 (constant as given by LV18, arXiv v1, Section 1).
  • Randomised NFS: for every and with no heuristic assumption, randomised variants of the general NFS and of Coppersmith’s sieve find with in expected time and respectively — LV18 (arXiv v1, Theorem 2.1 and Remark 4.4). That they find, in the same expected time, a pair with , for which is a proper factor, is shown only for a product of two primes congruent to modulo and under a conjecture — LV18 (arXiv v1, Theorem 2.3).
  • Moduli , which the assumption above excludes, its moduli being squarefree: for and of roughly the same size, the lattice algorithm of Boneh, Durfee and Howgrave-Graham, which adapts Coppersmith’s method to -th power divisors, is faster than ECM when and runs in polynomial time when is as large as — BDHG99 (as described by HH22, arXiv v1, Sections 1.2 and 1.3). For every and , a deterministic algorithm outputs all positive integers with in bit operations for every , with no heuristic assumption — HH22 (arXiv v1, Theorem 1.1).
  • Quantum: Shor’s algorithm — polynomial time — Shor97. See FAC ∈ BQP (Shor).

Participates in

Builds on Factoring assumption

Produces Factoring assumption

Barriers