RSA Factorization from an Approximate Value of p+q: Exact Error Budget, Bit Accounting, and Finite-Dimensional Bounds
Let $N=pq$ be an RSA modulus, and suppose that the attacker knows an approximation $M_0$ of $M=p+q$. This paper gives the **exact inverse** of the error-transfer map $$ \varepsilon(t)=\frac{t\,(p-q-t)}{p-t}, $$ which establishes a one-to-one correspondence between the “$M$-side error budget” and the “$p$-side displacement.” Setting $t=N^{1/4}$ yields the idealized threshold $\varepsilon_{\max}$ for a single Coppersmith reduction, with equality attained exactly at this point. Consequently, we obtain the following: the domain of applicability for balanced keys is $\delta=(p-q)/2\le\sqrt N/(2\sqrt2)$; the number of known bits in the middle band is $b\approx\tfrac{3n}4-\log_2\delta$, whose relative correction term is explicitly bounded; $\varepsilon_{\max}$ is irrational, so the integer decision is unambiguous; and using the parity of $M$, we obtain the exact discrete threshold $b_{\text{worst}}=mb-\lfloor\log_2(\varepsilon_{\max}+2)\rfloor$. We further provide a **provable finite-dimensional discount** $\kappa_{\mathrm{rig}}(\nu,N)$, which upgrades the idealized bound to a rigorous criterion incorporating the lattice dimension and rounding; give a one-sided conservative estimate of $\delta$ self-calibrated from $M_0$ (with the loss tending to the constant $2$); and prove that there is no amplification in the low-bit leakage setting: when $M\bmod 2^{k+1}$ is known, the number of candidates for $p\bmod 2^k$ is exactly $4\cdot2^{v_2(\delta)}$, and the bit requirement is independent of $\delta$. We also provide a cost comparison of three attack routes.
Authors
- Ni Chuangao (ORCID: https://orcid.org/0009-0000-1987-8401)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-04
- DOI
- https://doi.org/10.5281/zenodo.24802655
- Primary Topic
- Cryptography and Residue Arithmetic
- Type
- preprint