# The Two Doors of RSA

The mathematical security of the RSA public-key cryptosystem depends simultaneously on two independent parameter dimensions:

- **The absolute bit length of the public modulus $N$**, which determines resistance against sub-exponential integer factorization algorithms such as the General Number Field Sieve (GNFS);
- **The relative magnitude of the private exponent $d$ with respect to $N$**, which determines resistance against polynomial-time algebraic key-recovery algorithms based on continued fractions and lattice basis reduction, notably Wiener's attack and the Boneh–Durfee $N^{0.292}$ bound [1][2].

Separating these two parameter dimensions resolves several recurring questions in applied cryptanalysis [10]: why recent 1024-bit RSA results treat roughly 1,000 bits as insecure while the Boneh–Durfee bound places the algebraic vulnerability threshold below approximately 600 bits, and why the $N^{0.292}$ bound remains operationally relevant when compliant modern deployments exclusively use private exponents exceeding 2,000 bits.

## 1. Two Independent Parameter Dimensions: Modulus Bit Length and Private-Exponent Ratio

When evaluating an RSA parameter set, the bit length of the modulus $N$ and the bit length of the private exponent $d$ address distinct computational problems and distinct attack models.

**The first dimension is the absolute bit length of the composite modulus $N = pq$.** A direct attack against $N$ requires factoring $N$ into its prime factors $p$ and $q$. In November 2026, researchers at Google DeepMind, UC San Diego, and Inria released two working papers on 1024-bit RSA [7]: *Fan Factories* improves Coppersmith's 1993 batch Number Field Sieve precomputation bound, reducing the marginal cost per subsequent 1024-bit modulus to roughly $1/58$ of single-target factoring, while a companion study reduced restricted-oracle 1024-bit signature forgery to 391 core-years [7]. Statements that "1024-bit RSA is insecure" refer specifically to a **1024-bit modulus $N$**, whereas standards mandate **$N \ge 2048\text{ bits}$** (or 3,072 to 4,096 bits for higher security margins) [9].

**The second dimension is the size of the private exponent $d$ relative to $N$.** Even when $N$ is a 2048-bit integer well beyond the reach of integer factorization, key recovery becomes tractable if $d$ is chosen too small. Because RSA decryption and signature generation evaluate modular exponentiation $c^d \bmod N$, computational latency scales linearly with the bit length of $d$. Early resource-constrained smart cards and embedded processors attempted to accelerate private-key operations by selecting a small private exponent $d$ while retaining a full-size modulus $N$. Cryptanalysis established two polynomial-time vulnerability thresholds against this construction:

1. **Wiener's Bound (1990)**: Whenever $d < \frac{1}{3} N^{0.25}$ (fewer than **512 bits** for RSA-2048), the fraction $\frac{k}{d}$ is a convergent of the continued fraction expansion of the public ratio $\frac{e}{N}$, allowing deterministic recovery of $d$ in polynomial time [2].
2. **The Boneh–Durfee Bound (1999)**: Whenever **$d < N^{0.292}$** (fewer than approximately **598 bits** for RSA-2048), lattice basis reduction over bivariate modular shift polynomials recovers the prime factors of $N$ in polynomial time [1].

The contrast between both parameter dimensions at the 2048-bit modulus baseline is summarized below:

| Parameter Dimension | Quantitative Metric | Applicable Cryptanalytic Method | Threshold Values at RSA-2048 |
| :--- | :--- | :--- | :--- |
| **Public Modulus $N$** | Absolute bit length ($\log_2 N$) | Sub-exponential integer factorization (GNFS / Batch NFS) | $N = 1024\text{ bits}$ is deprecated; standards mandate **$N \ge 2048\text{ bits}$** |
| **Private Exponent $d$** | Relative exponent ratio ($\log_N d$) | Continued fractions and lattice reduction (Wiener / Boneh–Durfee) | $d < 598\text{ bits}$ ($N^{0.292}$) is broken in polynomial time; $d < 1024\text{ bits}$ ($N^{0.50}$) lies within the conjectured vulnerability range |

Under RSA-2048, choosing $d \approx N^{0.30}$ (**614 bits**) exceeds the asymptotic Boneh–Durfee bound of 598–600 bits by only 14 to 16 bits; exhausting 16 bits requires at most $2^{16} = 65,536$ lattice reductions to bring the remaining unknown part within solvable bounds. Selecting a 1000-bit private exponent under RSA-2048 corresponds to $d \approx N^{0.488}$, which exceeds known classical polynomial-time attacks ($N^{0.292}$) but remains below the conjectured vulnerability bound $N^{0.50}$ (1,024 bits) formulated by Boneh and Durfee [1].

## 2. Mathematical Formulation and Theoretical Limits of the $N^{0.292}$ Bound

The Boneh–Durfee bound follows directly from the algebraic structure of the RSA key-generation congruence. Expanding $ed \equiv 1 \pmod{\varphi(N)}$ with $\varphi(N) = (p - 1)(q - 1)$ yields:

$$e d = 1 + k(p - 1)(q - 1) = 1 + k\bigl(N + 1 - (p + q)\bigr)$$

Setting the known integer $A = N + 1$ and the unknown integers $x = k$ and $y = -(p + q)$, reducing modulo the public exponent $e$ produces the bivariate modular polynomial congruence:

$$f(x, y) = x(A + y) + 1 \equiv 0 \pmod e$$

When the public exponent $e$ has full bit length ($e \approx N$) and the private exponent satisfies $d < N^\delta$, the small root $(x_0, y_0)$ is bounded by $|x_0| < e^\delta$ and $|y_0| = p + q \approx 2\sqrt{N} \approx e^{0.5}$. Building on Coppersmith's method [3], Boneh and Durfee construct shift polynomials of the form $x^i y^j f(x, y)^k e^{m-k}$, embed their coefficient vectors as rows of a lattice basis, and apply the **Lenstra–Lenstra–Lovász (LLL)** lattice reduction algorithm. By Howgrave-Graham's lemma, short vectors of sufficiently small Euclidean norm correspond to bivariate polynomials $h_1(x, y)$ and $h_2(x, y)$ that vanish at $(x_0, y_0)$ over the integers $\mathbb{Z}$ rather than merely modulo $e^m$. Eliminating $x$ via the resultant $\operatorname{Res}_x(h_1, h_2)$ yields $y_0 = -(p + q)$ and factors $N$ [1].

Three mathematical properties govern what it means for the effective bound to approach or fall strictly below $N^{0.292}$:

1. **Asymptotic Supremum Versus Finite Lattice Dimension**: As the shift degree $m \to \infty$, the determinant condition for short-vector existence yields the exact irrational threshold:
   $$\delta < 1 - \frac{1}{\sqrt{2}} \approx 0.2928932\dots$$
   Because this limit is approached strictly from below as $m$ increases, any finite-dimensional lattice achieves an effective exponent $\delta(m) < 1 - \frac{1}{\sqrt{2}}$, which Boneh and Durfee truncated to **$N^{0.292}$** [1]. In concrete implementations, lattice dimension grows quadratically with $m$ while LLL runtime scales polynomially in high degree with the dimension. Small-dimension lattices completing within seconds typically recover keys up to $N^{0.26} \sim N^{0.275}$, whereas approaching $N^{0.292}$ requires hundreds of dimensions and substantially higher computational time.
2. **Non-Full-Rank Sublattices Versus the $N^{0.284}$ Full-Rank Bound**: Retaining every shift polynomial in a full-rank triangular basis includes high-degree $y$-shifts whose diagonal entries inflate the lattice determinant too rapidly, restricting the solvable bound to $\delta < \frac{7 - 2\sqrt{7}}{6} \approx 0.2847$ ($N^{0.284}$) [1]. Boneh and Durfee introduced *geometrically progressive matrices*—subsequently simplified via *unravelled linearization* by Herrmann and May [4]—to discard determinant-inflating rows and isolate a non-full-rank sublattice, raising the asymptotic bound from $N^{0.284}$ to $N^{0.292}$.
3. **The Algebraic Independence Heuristic and the $0.292$ Ceiling**: Whereas Wiener's $N^{0.25}$ bound is unconditionally proved, the Boneh–Durfee $N^{0.292}$ bound relies on the heuristic assumption that the LLL-reduced polynomials $h_1(x, y)$ and $h_2(x, y)$ are algebraically independent (so their resultant does not vanish identically). Under a strictly provable, non-heuristic model, the guaranteed bound remains below $N^{0.292}$. Conversely, despite Boneh and Durfee's conjecture that RSA is insecure whenever $d < N^{0.50}$, subsequent analyses have shown that $1 - \frac{1}{\sqrt{2}}$ is the exact asymptotic maximum achievable from standard shift-polynomial lattices over $x(A + y) + 1 \equiv 0 \pmod e$ without auxiliary side information [4].

## 3. Practical Significance When Modern Deployments Use 2048-Bit Private Exponents

Under current standards such as NIST FIPS 186-5, compliant **RSA-2048** implementations generate a global private exponent $d$ of approximately **2,046 to 2,048 bits** (with a mandatory lower check of $d > 2^{1024}$), and **RSA-3072** implementations generate $d$ of approximately **3,070 to 3,072 bits** [9].

Given that standard private keys exceed 2,000 bits—more than three times the 598-bit Boneh–Durfee threshold at RSA-2048—the contemporary significance of the $N^{0.292}$ result lies in four concrete areas:

### 3.1 Establishing Modern Key-Generation and CRT Acceleration Standards

Standard implementations use 2048-bit private exponents precisely because Wiener [2] and Boneh–Durfee [1] demonstrated that shortening the global private exponent introduces polynomial-time algebraic vulnerabilities. Those results eliminated short-exponent RSA from cryptographic standards in favor of two universal design rules [9]:

- **Fixed small public exponent $e = 65537$ ($2^{16} + 1$)**: Minimizes public-key encryption and signature-verification cost while forcing the modular inverse $d = e^{-1} \bmod \lambda(N)$ to span nearly the full bit length of $N$;
- **Chinese Remainder Theorem (CRT-RSA) decryption**: Replaces full-modulus exponentiation with two half-length modular exponentiations modulo $p$ and $q$ using $d_p = d \bmod (p - 1)$ and $d_q = d \bmod (q - 1)$ (approximately 1,024 bits each under RSA-2048), reducing private-key computation by roughly a factor of 4 without reducing the bit length of $d$.

### 3.2 Enabling Side-Channel Partial Key Exposure Attacks

Against a compliant, full-length 2048-bit private exponent, multivariate Coppersmith and Boneh–Durfee lattices serve as the primary algebraic post-processing engine for **partial key exposure attacks** [5].

In physical or microarchitectural side-channel evaluations—such as cache-timing traces, power analysis, electromagnetic measurements, or cold-boot DRAM recovery—an attacker may extract a subset of the 2,048 bits of $d$ while hundreds of bits remain unknown. Brute-forcing 500 unknown bits requires $2^{500}$ operations and is computationally infeasible. Within a Boneh–Durfee shift-polynomial lattice, however, **the remaining unknown bits form a bounded small integer variable**. Once side-channel leakage reduces the unknown portion below the corresponding lattice solvability bound, LLL basis reduction recovers all remaining bits in polynomial time [5].

### 3.3 Bounding Small CRT-Exponent Variants

After global short exponents were deprecated, alternative proposals attempted to retain a full-size global $d$ while selecting small CRT exponents $d_p$ and $d_q$ (for instance, 160 to 256 bits) to accelerate CRT-RSA further. Follow-up lattice cryptanalysis adapted sublattice reduction techniques directly from Boneh–Durfee to prove that overly small $d_p$ and $d_q$ values likewise permit polynomial-time factorization of $N$, establishing strict minimum bit-length bounds for CRT parameters.

### 3.4 Auditing Non-Standard Firmware and Backdoored Key Generators

If a proprietary embedded implementation or a compromised key-generation module selects a small private exponent $d < N^{0.292}$, the resulting public key $(N, e)$ exhibits a full 2048-bit modulus and a full-length, pseudorandom-looking public exponent $e$. Inspection of bit lengths alone cannot distinguish such a key pair from a compliant random instance. Running continued-fraction and Boneh–Durfee lattice checks against $(N, e)$ directly detects hidden short-exponent constructions during security audits.

## 4. Security Boundaries Beyond Full-Length Parameters

When an RSA deployment enforces $N \ge 2048\text{ bits}$ alongside a full-length private exponent $d$, known classical public-key algorithms cannot recover the key; for reference, the largest general RSA modulus factored publicly on classical hardware remains the 829-bit challenge integer **RSA-250** (approximately 2,700 core-years) [6].

System-level security nevertheless remains bounded by two additional considerations that drive modern cryptographic migration:

1. **Implementation and Protocol Defects**: Practical compromises of 2048-bit and 4096-bit RSA deployments predominantly arise from implementation flaws rather than mathematical advances against GNFS. Documented failure modes include insufficient entropy during device initialization causing distinct moduli to share a prime factor (recoverable in milliseconds via $\gcd(N_1, N_2)$), timing or error side channels in legacy PKCS#1 v1.5 decryption padding (mitigated by migrating to RSA-OAEP and RSA-PSS), and transient hardware fault injection during unverified CRT-RSA recombination (the Bellcore attack).
2. **Fault-Tolerant Quantum Computing**: Against classical number-field sieving, increasing the modulus from 2,048 bits to 3,072 bits raises computational work sub-exponentially by several orders of magnitude. Under Shor's quantum factoring algorithm, asymptotic circuit complexity scales cubically in the modulus bit length, meaning a 3,072-bit modulus requires only about $(1.5)^3 \approx 3.4\times$ the quantum operations of a 2,048-bit modulus. In May 2025, resource estimates from Google Quantum AI reduced the projected hardware requirement for factoring RSA-2048 from roughly 20 million noisy physical qubits down to **fewer than 1 million noisy qubits** executing over approximately one week [8]. To address store-now-decrypt-later exposure for long-lived confidential data, NIST IR 8547 schedules the deprecation of classical RSA starting in 2030 in favor of lattice-based post-quantum standards such as ML-KEM and ML-DSA [9].

---

[1] Dan Boneh and Glenn Durfee, "Cryptanalysis of RSA with Private Key $d$ Less than $N^{0.292}$," *IEEE Transactions on Information Theory*, vol. 46, no. 4, pp. 1339–1349, 2000. https://crypto.stanford.edu/~dabo/papers/rsa292.pdf

[2] Michael J. Wiener, "Cryptanalysis of Short RSA Secret Exponents," *IEEE Transactions on Information Theory*, vol. 36, no. 3, pp. 553–558, 1990. https://doi.org/10.1109/18.54902

[3] Don Coppersmith, "Small Solutions to Polynomial Equations, and Low Exponent RSA Vulnerabilities," *Journal of Cryptology*, vol. 10, no. 4, pp. 233–260, 1997. https://doi.org/10.1007/s001459900030

[4] Mathias Herrmann and Alexander May, "Maximizing Small Root Bounds by Linearization and Applications to Small Secret Exponent RSA," in *Public Key Cryptography — PKC 2010*, LNCS 6056, pp. 53–69, 2010. https://doi.org/10.1007/978-3-642-13013-7_4

[5] Johannes Blömer and Alexander May, "New Partial Key Exposure Attacks on RSA," in *Advances in Cryptology — CRYPTO 2003*, LNCS 2729, pp. 27–43, 2003. https://doi.org/10.1007/978-3-540-45146-4_2

[6] Fabrice Boudot, Pierrick Gaudry, Aurore Guillevic, Nadia Heninger, Emmanuel Thomé, and Paul Zimmermann, "Comparing the Difficulty of Factorization and Discrete Logarithm: A 240-Digit Experiment," in *Advances in Cryptology — CRYPTO 2020*, LNCS 12171, pp. 62–91, 2020 (companion 829-bit RSA-250 factorization announced February 2020). https://eprint.iacr.org/2020/697

[7] Nadia Heninger, Emmanuel Thomé, et al. (Google DeepMind, UC San Diego, and Inria), "Fan Factories: Multiple Number Fields in Factorization Factories and Batch NFS," and "Modular Roots from a Restricted Oracle: Faster Affine Roots and a 1024-bit Computation," Working Papers, November 2026.

[8] Craig Gidney, "How to Factor 2048 Bit RSA Integers with Less Than a Million Noisy Qubits," `arXiv:2505.15917`, May 2025. https://arxiv.org/abs/2505.15917

[9] National Institute of Standards and Technology (NIST), *Digital Signature Standard (DSS)*, FIPS PUB 186-5, February 2023, and *Transition to Post-Quantum Cryptography Standards*, NIST IR 8547, November 2024. https://doi.org/10.6028/NIST.FIPS.186-5

[10] Ryan Kung, "Academic Networks, Capability Matrices, and Open-Source Forensics in Analyzing the Cryptography Incident Review Group (CIRG)," `RIST-CS-CR-2026-03`, Ryan Institute of Science and Technology (RIST), November 2026. https://rist.edu.rs/papers/cirg/
