A Continued Fraction-Hyperbola based Attack on RSA cryptosystem

Authors: Gilda Rech Bansimba, Regis Freguin Babindamana, Basile Guy R. Bossoto

Submitted to arXiv on 08 Apr. 2023
License: CC BY 4.0
Abstract

In this paper we present new arithmetical and algebraic results following the work of Babindamana and al. on hyperbolas and describe from the new results an approach to attacking a RSA-type modulus based on continued fractions, independent and not bounded by the size of the private key $d$ nor public exponent $e$ compared to Wiener's attack. When successful, this attack is bounded by $\displaystyle\mathcal{O}\left( b\log{\alpha_{j4}}\log{(\alpha_{i3}+\alpha_{j3})}\right)$ with $b=10^{y}$, $\alpha_{i3}+\alpha_{j3}$ a non trivial factor of $n$ and $\alpha_{j4}$ such that $(n+1)/(n-1)=\alpha_{i4}/\alpha_{j4}$. The primary goal of this attack is to find a point $\displaystyle X_{\alpha}=\left(-\alpha_{3}, \ \alpha_{3}+1 \right) \in \mathbb{Z}^{2}_{\star}$ that satisfies $\displaystyle\left\langle X_{\alpha_{3}}, \ P_{3} \right\rangle =0$ from a convergent of $\displaystyle\frac{\alpha_{i4}}{\alpha_{j4}}+\delta$, with $P_{3}\in \mathcal{B}_{n}(x, y)_{\mid_{x\geq 4n}}$. We finally present some experimental examples. We believe these results constitute a new direction in RSA Cryptanalysis using continued fractions.

The papers around it, by date and closeness

Higher is closer to this paper; left is older. Lines join papers close to each other: groups of lines are sub-topics. Select a point to see why it is there. Back to the summary of this paper

How to read this map? Illustrated guide

Closest papers Prior work it builds on Papers that cite it

Papers around this one

Ranked by how close their title and abstract are to this paper’s. Select some to read them together.

Closest papers

  1. Very close
    New Attacks on RSA with Modulus N = p2q Using Continued Fractions
    Muhammad Asyraf Asbullah, M. R. K. Ariffin · 2015 · Journal of Physics, Conference Series · cited 17 times · Not summarized yet
    Abstract

    In this paper, we propose two new attacks on RSA with modulus N = p2q using continued fractions. Our first attack is based on the RSA key equation ed – ϕ(N)k = 1 where ϕ(N) = p(p – 1)(q – 1). Assuming that and , we show that can be recovered among the convergents of the continued fraction expansion of . Our second attack is based on the equation eX – (N – (ap2 + bq2)) Y = Z where a,b are positive integers satisfying gcd(a,b) = 1, |ap2 – bq2| < N1/2 and ap2 + bq2 = N2/3+α with 0 < α < 1/3. Given the conditions , we show that one can factor N = p2q in polynomial time.

  2. Very close
    On the Improvement Attack Upon Some Variants of RSA Cryptosystem via the Continued Fractions Method
    Wan Nur Aqlili Ruzai, M. R. K. Ariffin, Muhammad Asyraf Asbullah et al. · 2020 · IEEE Access · cited 7 times · Not summarized yet
    Abstract

    Let <inline-formula> <tex-math notation="LaTeX">$N=pq$ </tex-math></inline-formula> be an RSA modulus where <inline-formula> <tex-math notation="LaTeX">$p$ </tex-math></inline-formula> and <inline-formula> <tex-math notation="LaTeX">$q$ </tex-math></inline-formula> are primes not necessarily of the same bit size. Previous cryptanalysis results on the difficulty of factoring the public modulus <inline-formula> <tex-math notation="LaTeX">$N=pq$ </tex-math></inline-formula> deployed on variants of RSA cryptosystem are revisited. Each of these variants share a common key relation utilizing the modified Euler quotient <inline-formula> <tex-math notation="LaTeX">$(p^{2}-1)(q^{2}-1)$ </tex-math></i…

  3. Very close
    Improved cryptanalysis of RSA
    Virgile Dossou-Yovo, Abderrahmane Nitaj, Alain Togbé · 2024 · Journal of Discrete Mathematical Sciences and Cryptography · Not summarized yet
    Abstract

    Let N = pq be an RSA modulus and e be a public exponent. Let j(N) = (p − 1)(q − 1) be the Euler’s totient function. The equation ex2 −j(N)y2 = z has infinitely many solutions in integers (x, y, z). We show that if x, y and z are suitably small, then one can factor the RSA modulus. Our bounds on the size of the solutions x, y, and z improve the existing bounds of some attacks on RSA such as Wiener’s continued fractions based attack, and Blömer-May’s lattice reduction based attack.

  4. Very close
    Cryptanalysis of RSA-type cryptosystems based on Lucas sequences, Gaussian integers and elliptic curves
    M. Bunder, Abderrahmane Nitaj, W. Susilo et al. · 2018 · Journal of Information Security and Applications · cited 17 times · Not summarized yet
    Abstract

    Abstract In this paper, we apply the continued fraction method to launch an attack on the three RSA-type cryptosystems when the private exponent d is sufficiently small. The first cryptosystem, proposed by Kuwakado, Koyama and Tsuruoka in 1995, is a scheme based on singular cubic curves y 2 = x 3 + b x 2 ( mod N ) where N = p q is an RSA modulus. The second cryptosystem, proposed by Elkamchouchi, Elshenawy and Shaban in 2002, is an extension of the RSA scheme to the field of Gaussian integers using a modulus N = P Q where P and Q are Gaussian primes such that p = | P | and q = | Q | are ordinary primes. The third cryptosystem, proposed by Castagnos in 2007, is a scheme over quadratic field q…

  5. Very close
    Cryptanalysis on prime power RSA modulus of the form \(N = p^r q\)
    M. R. K. Ariffin, Sadiq Shehu · 2016 · International Journal of Applied Mathematical Research · Not summarized yet
    Abstract

    Let \(N = p^r q\) be an RSA prime power modulus for \(r \geq 2\) and \(q < p < 2 q\). This paper propose three new attacks. In the first attack we consider the class of public exponents satisfying an equation \(e X - N Y = u p^r + \frac{q^r}{u} + Z\) for suitably small positive integer \(u\). Using continued fraction we show that \(\frac{Y}{X}\) can be recovered among the convergents of the continued fraction expansion of \(\frac{e}{N}\) and leads to the successful factorization of \(N p^r q\). Moreover we show that the number of such exponents is at least \(N^{\frac{r+3}{2(r+1)}-\varepsilon}\) where \(\varepsilon \geq 0\) is arbitrarily small for large \(N\). The second and third attacks wo…

  6. Very close*
    A new RSA vulnerability using continued fractions
    Dieaa I. Nassr, H. M. Bahig, Ashraf Bhery et al. · 2008 · 2008 IEEE/ACS International Conference on Computer Systems and Applications · cited 16 times · Not summarized yet
  7. Close
    Continued fractions and RSA with small secret exponent
    A. Dujella · 2004 · arXiv.org · preprint, not peer reviewed · cited 67 times · Not summarized yet
    Abstract

    Extending the classical Legendre's result, we describe all solutions of the inequality |x - a/b| < c/b^2 in terms of convergents of continued fraction expansion of x. Namely, we show that a/b = (rp_{m+1} +- sp_m) / (rq_{m+1} +- sq_m) for some nonnegative integers m,r,s such that rs < 2c. As an application of this result, we describe a modification of Verheul and van Tilborg variant of Wiener's attack on RSA cryptosystem with small secret exponent.

  8. Close
    A variant of Wiener’s attack on RSA
    A. Dujella · 2008 · Computing · cited 9 times · Not summarized yet
    Abstract

    Wiener’s attack is a well-known polynomial-time attack on a RSA cryptosystem with small secret decryption exponent d, which works if d < n0.25, where n = pq is the modulus of the cryptosystem. Namely, in that case, d is the denominator of some convergent pm/qm of the continued fraction expansion of e/n, and therefore d can be computed efficiently from the public key (n, e). There are several extensions of Wiener’s attack that allow the RSA cryptosystem to be broken when d is a few bits longer than n0.25. They all have the run-time complexity (at least) O(D2), where d = Dn0.25. Here we propose a new variant of Wiener’s attack, which uses results on Diophantine approximations of the form |α − …

Prior work it builds on

  1. Close*
    Diophantine and Lattice Cryptanalysis of the RSA Cryptosystem
    Abderrahmane Nitaj · 2013 · Artificial Intelligence, Evolutionary Computing and Metaheuristics · cited 21 times · Not summarized yet
  2. Close*
    Cryptanalysis of Short RSA Secret Exponents (Abstract)
    M. Wiener · 1990 · International Conference on the Theory and Application of Cryptographic Techniques · cited 782 times · Not summarized yet
  3. Close*
    Small Solutions to Polynomial Equations, and Low Exponent RSA Vulnerabilities
    D. Coppersmith · 1997 · Journal of Cryptology · cited 843 times · Not summarized yet
  4. Related*
    Cryptanalysis of RSA with Small Prime Difference
    B. de Weger · 2002 · Applicable Algebra in Engineering, Communication and Computing · cited 150 times · Not summarized yet
  5. Related Used in depth by this paper A method it uses
    Lattice Points on the Fermat Factorization Method
    R. F. Babindamana, G. R. Bansimba, Basile Guy Richard Bossoto · 2022 · Journal of mathematics · cited 5 times · Not summarized yet
    Abstract

    In this paper, we study algebraic properties of lattice points of the arc on the conics x2 − dy2 = N especially for d = 1, which is the Fermat factorization equation that is the main idea of many important factorization methods like the quadratic field sieve, using arithmetical results of a particular hyperbola parametrization. As a result, we present a generalization of the forms, the cardinal, and the distribution of its lattice points over the integers. In particular, we prove that if (N − 6) ≡ 0 mod 4, Fermat’s method fails. Otherwise, in terms of cardinality, it has, respectively, 4, 8, 2(α + 1), 1−δ2pi2n+1 , and 2∏i=1nαi+1 lattice pointts if N is an odd prime, N = Na × Nb with Na and N…

Papers that cite it

  1. Related
    Integer Factorization: Another perspective
    G. R. Bansimba, R. F. Babindamana · 2025 · arXiv.org · preprint, not peer reviewed · cited 1 time · Not summarized yet
    Abstract

    Integer factorization is a fundamental problem in algorithmic number theory and computer science. It is considered as a one way or trapdoor function in the (RSA) cryptosystem. To date, from elementary trial division to sophisticated methods like the General Number Field Sieve, no known algorithm can break the problem in polynomial time, while its proved that Shor's algorithm could on a quantum computer. In this paper, we recall some factorization algorithms and then approach the problem under different angles. Firstly, we take the problem from the ring $\displaystyle\left(\mathbb{Z}, \text{+}, \cdot\right)$ to the Lebesgue space $\mathcal{L}^{1}\left(X\right)$ where $X$ can be $\mathbb{Q}$ o…

  2. Related
    GuardSec: A Multi-Modal Web Platform for Real-Time Digital Fraud Detection, Entity Verification, and Connection Security Analysis in the African Context
    G. R. Bansimba, Régis Babindamana · 2026 · arXiv.org · preprint, not peer reviewed · Not summarized yet
    Abstract

    Online fraud in Africa has reached an epidemic scale. The few cybersecurity tools that exist are out of reach for ordinary citizens, built almost exclusively for SOC analysts and technically literate users sitting on stable broadband. That mismatch isn't accidental. It's what happens when a research culture rewards benchmark numbers and treats deployability, accessibility, and local threat context as someone else's problem. We present \textit{GuardSec}, a production-deployed web platform for real-time multi-modal threat verification, built from the start around the African user. Anyone with a browser can assess the legitimacy of URLs, websites, phone numbers, email addresses, and business en…

How are these papers found?

We compare the title and abstract of this paper with those of every paper summarized on this site, and with the papers Semantic Scholar recommends, those it cites and those citing it (for a much-cited paper, its most recent citations and, from OpenAlex, the most cited ones). Among the prior work and the follow-ups, the papers that use each other in depth, a method it uses and the much-cited follow-ups come a little higher. The levels (very close, close, related) come from the similarity of the texts, not from a judgment of quality; * marks a paper without an abstract, compared by its title. The sentence under a paper is written by an AI from the two abstracts: check it in the papers. A paper marked not relevant by three readers leaves the list.

Updated on 6 November 2026.

The illustrated guide to the papers around a paper