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

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
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

RSA Factorization from an Approximate Value of p+q: Exact Error Budget, Bit Accounting, and Finite-Dimensional Bounds

Ni Chuangao
Zenodo (CERN European Organization for Nuclear Research)
Cryptography and Residue Arithmetic
preprint

RSA Factorization from an Approximate Value of p+q: Exact Error Budget, Bit Accounting, and Finite-Dimensional Bounds

Ni Chuangao
preprint en

Abstract

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.

Zenodo (CERN European Organization for Nuclear Research)
Cryptography and Residue Arithmetic
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon