{
  "id": "2025/380",
  "url": "https://opencryptology.org/2025/380",
  "original_url": "https://eprint.iacr.org/2025/380",
  "title": "A New Generalized Attack on RSA-like Cryptosystems",
  "authors": [
    "Michel Seck",
    "Oumar Niang",
    "Djiby Sow",
    "Abderrahmane Nitaj",
    "Mengce Zheng",
    "Maher Boudabra"
  ],
  "affiliations": null,
  "abstract": "Rivest, Shamir, and Adleman published the RSA cryptosystem in 1978, which has been widely used over the last four decades. The security of RSA is based on the difficulty of factoring large integers $N = pq$, where $p$ and $q$ are prime numbers. The public exponent $e$ and the private exponent $d$ are related by the equation $ed - k(p-1)(q-1) = 1$. Recently, Cotan and Teseleanu (NordSec 2023) introduced a variant of RSA, where the public exponent $e$ and the private exponent $d$ satisfy the equation $ed - k(p^n-1)(q^n-1) = 1$ for some positive integer $n$. In this paper, we study the general equation  $eu - (p^n - 1)(q^n - 1)v = w$ with positive integers $u$ and $v$, and $w\\in \\mathbb{Z}$. We show that, given the public parameters $N$ and $e$, one can recover $u$ and $v$ and factor the modulus $N$ in polynomial time by combining continued fractions with Coppersmith's algorithm which relies on lattice reduction techniques, under specific conditions on $u$, $v$, and $w$. Furthermore, we show that if the private exponent $d$ in an RSA-like cryptosystem is either small or too large, then $N$ can be factored in polynomial time. This attack applies to the standard RSA cryptosystem.",
  "category": "Attacks and cryptanalysis",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“A New Generalized Attack on RSA-like Cryptosystems” by Michel Seck, Oumar Niang, Djiby Sow, Abderrahmane Nitaj, Mengce Zheng, Maher Boudabra, Cryptology ePrint Archive, Paper 2025/380, https://eprint.iacr.org/2025/380. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2025-02-27T13:25:25Z",
    "updated": "2025-05-17T08:15:56Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2025/380.pdf",
    "sha256": "39f575834b42260d22539ed1b527b797b116fd69a84d53a20a0698b64455ebee",
    "size": 553203,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2025/380/versions/20260428T172000Z.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "label": "copy captured 2026-04-28",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/380.pdf",
      "size": 553203,
      "sha256": "39f575834b42260d22539ed1b527b797b116fd69a84d53a20a0698b64455ebee",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2025/380/versions/20250407T013506Z.pdf",
      "captured_at": "2025-04-07T01:35:06Z",
      "label": "copy captured 2025-04-07",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20250407013506id_/https://eprint.iacr.org/2025/380.pdf",
      "size": 591175,
      "sha256": "2c9666ad530183308aa154b23392476c4f0287b1c41f6a3752e5f31ca4a20209",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/380.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 553203
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260427184254id_/https://eprint.iacr.org/2025/380.pdf",
      "captured_at": "2026-04-27T18:42:54Z",
      "size": 502608
    }
  ],
  "bibtex": "@misc{cryptoeprint:2025/380,\n      author = {Michel Seck and Oumar Niang and Djiby Sow and Abderrahmane Nitaj and Mengce Zheng and Maher Boudabra},\n      title = {A New Generalized Attack on RSA-like Cryptosystems},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2025/380},\n      year = {2025},\n      url = {https://eprint.iacr.org/2025/380}\n}"
}
