English

Cryptoanalysis of RSA variants with special structure of RSA primes

Number Theory 2025-04-29 v2

Abstract

In this paper, we present attacks on three types of RSA modulus when the least significant bits of the prime factors of RSA modulus satisfy some conditions. Let p,p, and qq be primes of the form p=am1+rpp=a^{m_1}+r_p and q=bm2+rqq=b^{m_2}+r_q respectively, where a,b,m1,m2Z+a,b,m_{1},m_{2} \in \mathbb{Z^+} rp,r_p, and rq r_q are known. The first attack is when the RSA modulus is N=pqN=pq where m1m_1 or m2m_2 is an even number. If (rprq)12\left(r_{p}r_{q}\right)^\frac{1}{2} is sufficiently small, then NN can be factored in polynomial time. The second attack is when N=psq,N=p^{s}q, where q>pq>p and ss divides m2.m_2. If rprqr_pr_q is sufficiently small, then NN can be factored in polynomial time. The third attack is when N=ps+lqs,N=p^{s+l}q^{s}, where p>q,p>q, s,lZ+,s,l \in \mathbb{Z^+}, l<s2l < \frac{s}{2} and ss divides m1l.m_1l. If am1>qam1ls,a^{m_1}>qa^{\frac{m_1l}{s}}, and lrp3lr^3_p is sufficiently small, then NN can be factored in polynomial time.

Keywords

Cite

@article{arxiv.2403.06184,
  title  = {Cryptoanalysis of RSA variants with special structure of RSA primes},
  author = {M. Anwar and Mustafa Ismail and H. M. Bahig},
  journal= {arXiv preprint arXiv:2403.06184},
  year   = {2025}
}

Comments

The paper is being withdrawn due to significant revisions and updates planned for a future version