{
  "id": "elgamal-2048",
  "name": "ElGamal-2048",
  "family_id": "elgamal",
  "description": "Textbook ElGamal over a 2048-bit prime field. Deprecated: ~112-bit classical security against NFS discrete logarithms (NIST SP 800-57) and multiplicatively malleable ciphertexts (no CCA security); implementations must validate parameters and group membership to avoid Bleichenbacher signature forgery and Lim–Lee small-subgroup key recovery. Not quantum-resistant (Shor).",
  "status": "deprecated",
  "parameters": {
    "modulus_bits": 2048,
    "group": "Z_p^* (prime field)",
    "classical_security_bits": 112,
    "cca_secure": false,
    "malleability": "multiplicatively homomorphic",
    "problem": "FFDLP / DDH"
  },
  "references": [
    {
      "title": "A Public Key Cryptosystem and a Signature Scheme Based on Discrete Logarithms",
      "url": "https://doi.org/10.1109/TIT.1985.1057074",
      "authors": [
        "Taher ElGamal"
      ],
      "doi": "10.1109/TIT.1985.1057074",
      "quote_location": "IEEE Transactions on Information Theory 31(4), 1985 (CRYPTO 1984)"
    },
    {
      "title": "NIST SP 800-57 Part 1 Rev. 5: Recommendation for Key Management: Part 1 - General",
      "url": "https://doi.org/10.6028/NIST.SP.800-57pt1r5",
      "authors": [
        "Elaine Barker"
      ],
      "doi": "10.6028/NIST.SP.800-57pt1r5",
      "quote_location": "Section 5.6.1, Table 2 (2048-bit FFC L=2048 = 112-bit security strength)"
    }
  ],
  "kats": [],
  "attacks": [
    {
      "id": "elgamal-2048-boudot-2020-nfs-112-bit",
      "target_id": "elgamal-2048",
      "title": "Classical NFS discrete-log security estimate for 2048-bit ElGamal (~112 bits)",
      "goal": "discrete-logarithm",
      "attack_family": "number-field-sieve",
      "setting": "Finite-field discrete logarithm in a 2048-bit prime field via the general Number Field Sieve, calibrated by the 795-bit DLP-240 record computation and mapped to ~112-bit classical security strength by NIST SP 800-57",
      "claim_kind": "estimate",
      "track": "mathematical",
      "date": "2020-08-17",
      "authors": [
        "Fabrice Boudot",
        "Pierrick Gaudry",
        "Aurore Guillevic",
        "Nadia Heninger",
        "Emmanuel Thomé",
        "Paul Zimmermann"
      ],
      "references": [
        {
          "title": "Comparing the Difficulty of Factorization and Discrete Logarithm: a 240-digit Experiment",
          "url": "https://doi.org/10.1007/978-3-030-56880-1_3",
          "authors": [
            "Fabrice Boudot",
            "Pierrick Gaudry",
            "Aurore Guillevic",
            "Nadia Heninger",
            "Emmanuel Thomé",
            "Paul Zimmermann"
          ],
          "eprint_id": "2020/697",
          "doi": "10.1007/978-3-030-56880-1_3",
          "quote_location": "CRYPTO 2020 / ePrint 2020/697"
        },
        {
          "title": "NIST SP 800-57 Part 1 Rev. 5: Recommendation for Key Management: Part 1 - General",
          "url": "https://doi.org/10.6028/NIST.SP.800-57pt1r5",
          "authors": [
            "Elaine Barker"
          ],
          "doi": "10.6028/NIST.SP.800-57pt1r5",
          "quote_location": "Section 5.6.1, Table 2 (2048-bit FFC L=2048 = 112-bit security strength)"
        }
      ],
      "supersedes": [],
      "disputed_by": [],
      "evidence": {
        "source_status": "peer_reviewed",
        "citation_verified": false,
        "artifact_verified": {
          "verified": false
        },
        "peer_reproduced": {
          "reproduced": false
        },
        "formal_verified": {
          "verified": false
        }
      },
      "metrics": {
        "type": "pqc_security",
        "gate_count_log2": 112,
        "estimator_version": "NIST SP 800-57 Part 1 Rev. 5 (2048-bit FFC = 112 bits), calibrated by Boudot et al. CRYPTO 2020 DLP-240"
      },
      "notes": "gate_count_log2: 112 stores the NIST security-strength figure, not a measured cost. The DLP-240 record itself is tracked under the ffdlp problem. Date approximates CRYPTO 2020."
    },
    {
      "id": "elgamal-2048-bleichenbacher-1996-signature-forgery",
      "target_id": "elgamal-2048",
      "title": "Generating ElGamal signatures without the secret key under weak generator parameters",
      "goal": "forgery",
      "attack_family": "weak-parameter-signature-forgery",
      "setting": "Universal ElGamal signature forgery without the secret key when the domain parameters are weak (for example a smooth or specially chosen generator), as possible with maliciously generated or unvalidated parameters",
      "claim_kind": "record",
      "track": "side_channel",
      "date": "1996-05-12",
      "authors": [
        "Daniel Bleichenbacher"
      ],
      "references": [
        {
          "title": "Generating ElGamal Signatures Without Knowing the Secret Key",
          "url": "https://doi.org/10.1007/3-540-68339-9_2",
          "authors": [
            "Daniel Bleichenbacher"
          ],
          "doi": "10.1007/3-540-68339-9_2",
          "quote_location": "EUROCRYPT 1996"
        },
        {
          "title": "A Public Key Cryptosystem and a Signature Scheme Based on Discrete Logarithms",
          "url": "https://doi.org/10.1109/TIT.1985.1057074",
          "authors": [
            "Taher ElGamal"
          ],
          "doi": "10.1109/TIT.1985.1057074",
          "quote_location": "IEEE Transactions on Information Theory 31(4), 1985 (CRYPTO 1984)"
        }
      ],
      "supersedes": [],
      "disputed_by": [],
      "evidence": {
        "source_status": "peer_reviewed",
        "citation_verified": false,
        "artifact_verified": {
          "verified": false
        },
        "peer_reproduced": {
          "reproduced": false
        },
        "formal_verified": {
          "verified": false
        }
      },
      "metrics": {
        "type": "pqc_security",
        "gate_count_log2": 0,
        "estimator_version": "Bleichenbacher EUROCRYPT 1996 (parameter-dependent signature forgery; no generic cost)"
      },
      "notes": "Implementation / parameter-validation track: it requires weak or attacker-chosen domain parameters and does not affect properly generated 2048-bit groups. gate_count_log2: 0 is the schema placeholder for a practical structural attack. Date approximates EUROCRYPT 1996."
    },
    {
      "id": "elgamal-2048-lim-lee-1997-small-subgroup",
      "target_id": "elgamal-2048",
      "title": "Small-subgroup key recovery when subgroup validation is omitted",
      "goal": "key-recovery",
      "attack_family": "small-subgroup-confinement",
      "setting": "Active key recovery against discrete-log schemes whose implementations omit subgroup / group-membership validation of received elements: confining the secret exponent to small subgroups of Z_p^* reveals it modulo their orders, and the residues are combined by CRT",
      "claim_kind": "record",
      "track": "side_channel",
      "date": "1997-08-17",
      "authors": [
        "Chae Hoon Lim",
        "Pil Joong Lee"
      ],
      "references": [
        {
          "title": "A Key Recovery Attack on Discrete Log-based Schemes Using a Prime Order Subgroup",
          "url": "https://doi.org/10.1007/BFb0052240",
          "authors": [
            "Chae Hoon Lim",
            "Pil Joong Lee"
          ],
          "doi": "10.1007/BFb0052240",
          "quote_location": "CRYPTO 1997"
        },
        {
          "title": "A Public Key Cryptosystem and a Signature Scheme Based on Discrete Logarithms",
          "url": "https://doi.org/10.1109/TIT.1985.1057074",
          "authors": [
            "Taher ElGamal"
          ],
          "doi": "10.1109/TIT.1985.1057074",
          "quote_location": "IEEE Transactions on Information Theory 31(4), 1985 (CRYPTO 1984)"
        }
      ],
      "supersedes": [],
      "disputed_by": [],
      "evidence": {
        "source_status": "peer_reviewed",
        "citation_verified": false,
        "artifact_verified": {
          "verified": false
        },
        "peer_reproduced": {
          "reproduced": false
        },
        "formal_verified": {
          "verified": false
        }
      },
      "metrics": {
        "type": "pqc_security",
        "gate_count_log2": 0,
        "estimator_version": "Lim–Lee CRYPTO 1997 (small-subgroup confinement; cost depends on the smooth part of p - 1)"
      },
      "notes": "Implementation / validation track; prevented by safe-prime or prime-order-subgroup groups with membership checks. gate_count_log2: 0 is the schema placeholder for a practical structural attack. Date approximates CRYPTO 1997."
    }
  ],
  "frontiers": [
    {
      "id": "elgamal-2048-concrete-2048-bit-ffdlp",
      "target_id": "elgamal-2048",
      "title": "Concrete cost of a 2048-bit finite-field discrete logarithm",
      "description": "The ~112-bit figure for 2048-bit prime fields is an extrapolation from records up to 795 bits (DLP-240). Narrowing the uncertainty of the concrete NFS cost at 2048 bits, including precomputation reuse across many targets in a shared group, remains open.",
      "references": [
        {
          "title": "Comparing the Difficulty of Factorization and Discrete Logarithm: a 240-digit Experiment",
          "url": "https://doi.org/10.1007/978-3-030-56880-1_3",
          "authors": [
            "Fabrice Boudot",
            "Pierrick Gaudry",
            "Aurore Guillevic",
            "Nadia Heninger",
            "Emmanuel Thomé",
            "Paul Zimmermann"
          ],
          "eprint_id": "2020/697",
          "doi": "10.1007/978-3-030-56880-1_3",
          "quote_location": "CRYPTO 2020 / ePrint 2020/697"
        },
        {
          "title": "NIST SP 800-57 Part 1 Rev. 5: Recommendation for Key Management: Part 1 - General",
          "url": "https://doi.org/10.6028/NIST.SP.800-57pt1r5",
          "authors": [
            "Elaine Barker"
          ],
          "doi": "10.6028/NIST.SP.800-57pt1r5",
          "quote_location": "Section 5.6.1, Table 2 (2048-bit FFC L=2048 = 112-bit security strength)"
        }
      ]
    }
  ],
  "dead_ends": []
}
