Has it been Pwned

Diffie-Hellman

Has Diffie-Hellman been owned?

Export-grade and 768-bit groups, yes. Small-characteristic fields, completely. Properly sized prime-field Diffie-Hellman at 2048 bits stands, but the history of this family is a lesson in shared parameters: one precomputation per prime, then every connection that uses it.

DH-2048 ↗Specialist review requiredDH-1024 ↗Specialist review required
Compare 6 systems and their cryptanalytic verdicts

A new deterministic bound for prime fields

Number field sieve methods already give heuristic subexponential costs for prime-field discrete logs. Liu, Zhang and Ren’s separate claim is a deterministic worst-case bound conditional on the October tensor-contraction theorem. Its scope includes the mathematics behind ffdhe2048, while its abstract gives no concrete cost at that size.

Read the conditional result and how it relates to Diffie-Hellman

Prime-field discrete logarithm records

Bits of the largest prime field whose discrete logarithm has been computed with the number field sieve. The orange mark is a 1,024-bit prime built with a hidden trapdoor: a demonstration that a backdoored standard prime would be breakable.

  • General prime records (compute)
  • Trapdoored prime (math, parameter choice)
4005126007689001,024Bits2004200820122016202020242028NowDH-1024Export-grade 512DH-2048: off chart
Table view
RecordBitsFieldDateTeamMethod
Joux-Lercier 130-digit431prime2005-06-18Antoine Joux, Reynald LercierNFS-DL
Kleinjung 160-digit530prime2007-02-05Thorsten KleinjungNFS-DL
180-digit (CADO-NFS)596prime2014-06-11Cyril Bouvier, Pierrick Gaudry, Laurent Imbert, Hamza Jeljeli, Emmanuel ThoméNFS-DL
DLP-768768prime2016-06-16Thorsten Kleinjung, Claus Diem, Arjen K. Lenstra, Christine Priplata, Colin StahlkeNFS-DL
Kilobit hidden SNFS (trapdoored prime)1024prime2016-10Joshua Fried, Pierrick Gaudry, Nadia Heninger, Emmanuel ThoméSNFS-DL (deliberately trapdoored prime, 160-bit subgroup)
DLP-240795prime2019-12-02Fabrice Boudot, Pierrick Gaudry, Aurore Guillevic, Nadia Heninger, Emmanuel Thomé, Paul ZimmermannNFS-DL
GF(2^1778)1778binary2013-02-11Antoine JouxJoux L(1/4) index calculus
GF(2^6120)6120binary2013-04-11Faruk Göloğlu, Robert Granger, Gary McGuire, Jens ZumbrägelFFS with GGMZ polynomial-time relation generation
GF(2^6168)6168binary2013-05-21Antoine JouxJoux L(1/4) index calculus
GF(3^(6*137))1303ternary2014-01-27Gora Adj, Alfred Menezes, Thomaz Oliveira, Francisco Rodríguez-HenríquezJoux L(1/4) algorithm (no Kummer structure)
GF(2^9234)9234binary2014-01-31Robert Granger, Thorsten Kleinjung, Jens ZumbrägelFFS / Joux-GGMZ descent in twisted Kummer extension
GF(2^(12*367))4404binary2014-02Robert Granger, Thorsten Kleinjung, Jens Zumbrägelquasi-polynomial-era descent (new field representation)
GF(p^2) 160-digit595medium-characteristic (p^2, p of 80 digits)2014-06-24Razvan Barbulescu, Pierrick Gaudry, Aurore Guillevic, François MorainNFS-DL (conjugation method)
GF(2^1279)1279binary (prime extension degree)2014-10-17Thorsten KleinjungFFS with GKZ descent
GF(3^(6*509))4841ternary2016-07-18Gora Adj, Isaac Canales-Martínez, Nareli Cruz-Cortés, Alfred Menezes, Thomaz Oliveira, Luis Rivera-Zamarripa, Francisco Rodríguez-HenríquezJoux / quasi-polynomial-era index calculus
GF(2^30750)30750binary2019-07-10Robert Granger, Thorsten Kleinjung, Arjen K. Lenstra, Benjamin Wesolowski, Jens Zumbrägelquasi-polynomial elimination (first large-scale use) + classical descent

Small-characteristic fields: from 1,778 to 30,750 bits in six years

In 2013 Joux, and then Barbulescu, Gaudry, Joux and Thomé, found index-calculus algorithms for fields like GF(2^n) and GF(3^n) that run in quasi-polynomial time. That is a break in the math. Pairing-based schemes built on those fields were finished overnight.

FieldBitsDateTeam
GF(2^1778)1,7782013-02-11Antoine Joux
GF(2^6120)6,1202013-04-11Faruk Göloğlu, Robert Granger, Gary McGuire, Jens Zumbrägel
GF(2^6168)6,1682013-05-21Antoine Joux
GF(3^(6*137))1,3032014-01-27Gora Adj, Alfred Menezes, Thomaz Oliveira, Francisco Rodríguez-Henríquez
GF(2^9234)9,2342014-01-31Robert Granger, Thorsten Kleinjung, Jens Zumbrägel
GF(2^(12*367))4,4042014-02Robert Granger, Thorsten Kleinjung, Jens Zumbrägel
GF(p^2) 160-digit5952014-06-24Razvan Barbulescu, Pierrick Gaudry, Aurore Guillevic, François Morain
GF(2^1279)1,2792014-10-17Thorsten Kleinjung
GF(3^(6*509))4,8412016-07-18Gora Adj, Isaac Canales-Martínez, Nareli Cruz-Cortés, Alfred Menezes, Thomaz Oliveira, Luis Rivera-Zamarripa, Francisco Rodríguez-Henríquez
GF(2^30750)30,7502019-07-10Robert Granger, Thorsten Kleinjung, Arjen K. Lenstra, Benjamin Wesolowski, Jens Zumbrägel

Math versus everything around it

Broken math

New algorithms for discrete logs in special fields, and parameters that were weak by construction.

  1. Pohlig-Hellman: discrete logs are only as hard as the largest prime factor of the group orderJan 1978

    Stephen Pohlig and Martin Hellman showed that a discrete log in a group of order n can be split into discrete logs in subgroups of prime-power order dividing n, then recombined with the Chinese Remainder Theorem.

  2. Coppersmith's L(1/3) algorithm makes GF(2^n) discrete logs far easier than prime fieldsJul 1984

    Don Coppersmith's "Fast evaluation of logarithms in fields of characteristic two" (IEEE Trans.

  3. Joux's L(1/4) algorithm and GGMZ upend discrete logs in small characteristicFeb 2013

    In February 2013 Antoine Joux posted an index-calculus algorithm with heuristic complexity L(1/4 + o(1)) for finite fields of very small characteristic.

  4. Quasi-polynomial discrete log algorithm for small-characteristic fields (BGJT)20 Jun 2013

    Razvan Barbulescu, Pierrick Gaudry, Antoine Joux and Emmanuel Thomé gave a heuristic algorithm computing discrete logs in finite fields of small characteristic in time n^O(log n), where n is the bit-size of the field.

  5. "128-bit secure" supersingular binary curves broken via field discrete logs21 Feb 2014

    Granger, Kleinjung and Zumbrägel showed that the supersingular genus-one curve over GF(2^1223), proposed for 128-bit-secure pairings, offers only about 59 bits of security.

  6. Kilobit hidden-SNFS computation shows undetectable trapdoored DH/DSA primes are practical5 Oct 2016

    Joshua Fried, Pierrick Gaudry, Nadia Heninger and Emmanuel Thomé built a 1024-bit prime that looks random and has a 160-bit prime subgroup like standard DSA parameters, but is secretly amenable to the

Broken protocols and implementations

Downgrades to export groups, shared primes, non-prime parameters, small-subgroup confusion, timing leaks.

  1. Lim-Lee small-subgroup key recovery against DL schemes that skip public-key validationAug 1997

    Chae Hoon Lim and Pil Joong Lee (CRYPTO '97) showed that when a discrete-log scheme works in a prime-order subgroup of Z_p* but p-1 also has small factors, an attacker can send group elements of small

  2. Bleichenbacher finds bias in FIPS 186 DSA nonce generation; NIST issues a change noticeFeb 2001

    Daniel Bleichenbacher (Bell Labs) found that the pseudorandom generators in FIPS 186-2 Appendix 3, which reduce a 160-bit output modulo the 160-bit prime q, produce slightly non-uniform per-signature secrets k.

  3. "Mining Your Ps and Qs": DSA private keys of 1% of SSH hosts recovered from repeated noncesAug 2012

    Heninger, Durumeric, Wustrow and Halderman (USENIX Security 2012) scanned the IPv4 Internet and recovered the DSA private keys of 1.03% of SSH hosts, because those hosts reused the per-signature rando

  4. Triple Handshake: malicious DHE groups let a TLS server force identical master secretsMay 2014

    Bhargavan, Delignat-Lavaud, Fournet, Pironti and Strub showed that in TLS DHE a malicious server can pick a non-prime group or degenerate parameters so the premaster secret is fully under its control.

  5. Logjam: TLS downgrade to export-grade 512-bit DH, plus the 1024-bit precomputation warning20 May 2015

    Adrian et al. ("Imperfect Forward Secrecy: How Diffie-Hellman Fails in Practice", ACM CCS 2015, best paper) showed that a man-in-the-middle could rewrite a TLS ClientHello to request DHE_EXPORT and tr

  6. OpenSSL CVE-2016-0701: key recovery via small subgroups with RFC 5114 / X9.42 parameters28 Jan 2016

    Antonio Sanso (Adobe) reported that OpenSSL 1.0.2 supported X9.42-style DH parameters, such as the RFC 5114 groups, whose primes are not safe, yet did not validate peer public keys against the subgrou

  7. Socat shipped a hard-coded 1024-bit DH "prime" that was not prime1 Feb 2016

    Socat 1.7.3.0 and 2.0.0-b8 used a hard-coded 1024-bit Diffie-Hellman modulus for its OpenSSL mode that turned out to be composite.

  8. Valenta et al. measure small-subgroup exposure: millions of hosts on non-safe DH primes, no library validating by defaultFeb 2017

    Valenta, Adrian, Sanso, Cohney, Fried, Hastings, Halderman and Heninger (NDSS 2017) scanned HTTPS, POP3S, SMTP/STARTTLS, SSH, IKEv1 and IKEv2 and found millions of hosts using DSA-style or other non-safe primes for DH.

  9. D(HE)at: cheap clients force expensive server-side DHE exponentiations11 Nov 2021

    Szilárd Pfeiffer and Norbert Tihanyi described a denial-of-service attack where a client claims to support only finite-field DHE, ideally at the server's largest group, and sends garbage instead of a real public key.

  10. VoWiFi gateways at 13 operators shared the same ten static DH private keysAug 2024

    Gegenhuber, Holzbauer, Frenzel, Weippl and Dabrowski (USENIX Security 2024) studied the IKEv2 key exchange used for Voice-over-Wi-Fi.

Diffie-Hellman: every event on file

Split by the three questions. Hover or focus a mark for details; select it for the case file.

Show
  • Broken mathMath
  • More computeRecord
  • Broken implementationProtocolImplementationSide channel
  • ContextFalse alarmMilestoneQuantum
Scheduled198019902000201020202030Broken mathMore computeBroken implementationContextNow

Outside 1975 to 2036: GCHQ's Malcolm Williamson devises finite-field "non-secret encryption" in secret (1974, 1976) (1974);

Table view
DateFamilyClassEvent and primary evidence
Jan 1974Diffie-HellmanMilestoneGCHQ's Malcolm Williamson devises finite-field "non-secret encryption" in secret (1974, 1976)
Nov 1976Diffie-HellmanMilestoneDiffie and Hellman publish "New Directions in Cryptography"
Jan 1978Diffie-HellmanMathPohlig-Hellman: discrete logs are only as hard as the largest prime factor of the group order
Jul 1984Diffie-HellmanMathCoppersmith's L(1/3) algorithm makes GF(2^n) discrete logs far easier than prime fields
19 May 1994Diffie-HellmanMilestoneNIST publishes DSA as FIPS 186 over heavy public objection
Aug 1997Diffie-HellmanProtocolLim-Lee small-subgroup key recovery against DL schemes that skip public-key validation
Feb 2001Diffie-HellmanProtocolBleichenbacher finds bias in FIPS 186 DSA nonce generation; NIST issues a change notice
May 2003Diffie-HellmanMilestoneRFC 3526 standardizes the 1536- to 8192-bit MODP groups built from pi
5 Feb 2007Diffie-HellmanRecordKleinjung computes a discrete log modulo a 160-digit (530-bit) safe prime
Jan 2008Diffie-HellmanMilestoneRFC 5114 publishes DSA-style DH groups with no published seeds
Aug 2012Diffie-HellmanImplementation"Mining Your Ps and Qs": DSA private keys of 1% of SSH hosts recovered from repeated nonces
Feb 2013Diffie-HellmanMathJoux's L(1/4) algorithm and GGMZ upend discrete logs in small characteristic
20 Jun 2013Diffie-HellmanMathQuasi-polynomial discrete log algorithm for small-characteristic fields (BGJT)
31 Jan 2014Diffie-HellmanRecordDiscrete logs in GF(2^9234) using about 400,000 core-hours
21 Feb 2014Diffie-HellmanMath"128-bit secure" supersingular binary curves broken via field discrete logs
May 2014Diffie-HellmanProtocolTriple Handshake: malicious DHE groups let a TLS server force identical master secrets
11 Jun 2014Diffie-HellmanRecord596-bit (180-digit) prime-field discrete log record with CADO-NFS
20 May 2015Diffie-HellmanProtocolLogjam: TLS downgrade to export-grade 512-bit DH, plus the 1024-bit precomputation warning
28 Jan 2016Diffie-HellmanImplementationOpenSSL CVE-2016-0701: key recovery via small subgroups with RFC 5114 / X9.42 parameters
1 Feb 2016Diffie-HellmanImplementationSocat shipped a hard-coded 1024-bit DH "prime" that was not prime
16 Jun 2016Diffie-HellmanRecord768-bit prime-field discrete log computed, closing the gap with RSA-768
18 Jul 2016Diffie-HellmanRecordDiscrete logs in the 4,841-bit field GF(3^(6*509)) break a 128-bit pairing setting
Aug 2016Diffie-HellmanMilestoneRFC 7919 introduces negotiated FFDHE groups for TLS
5 Oct 2016Diffie-HellmanMathKilobit hidden-SNFS computation shows undetectable trapdoored DH/DSA primes are practical
Feb 2017Diffie-HellmanProtocolValenta et al. measure small-subgroup exposure: millions of hosts on non-safe DH primes, no library validating by default
Aug 2018Diffie-HellmanMilestoneTLS 1.3 removes static DH, custom DHE groups and DSA
10 Jul 2019Diffie-HellmanRecordDiscrete logs in GF(2^30750): first large-scale quasi-polynomial descent
2 Dec 2019Diffie-HellmanRecordDLP-240: 795-bit prime-field discrete log, announced with RSA-240
11 Nov 2021Diffie-HellmanProtocolD(HE)at: cheap clients force expensive server-side DHE exponentiations
3 Feb 2023Diffie-HellmanMilestoneFIPS 186-5 drops DSA for new signatures
Aug 2024Diffie-HellmanImplementationVoWiFi gateways at 13 operators shared the same ten static DH private keys
Mar 2025Diffie-HellmanMilestoneCADO-NFS team wins the 2025 Levchin Prize for factoring and discrete log records
9 Apr 2025Diffie-HellmanMilestoneOpenSSH 10.0 removes DSA and drops finite-field DH from sshd defaults
Jul 2026Diffie-HellmanMilestoneRFC 10015 prohibits finite-field DH cipher suites in TLS 1.2

Case file

34 case files, newest first.

2020s

  1. Milestone
    RFC 10015 prohibits finite-field DH cipher suites in TLS 1.2

    RFC 10015 (Proposed Standard, July 2026, Nimrod Aviram) says clients MUST NOT offer and servers MUST NOT select finite-field DHE or static DH cipher suites in (D)TLS 1.2, and likewise bans static RSA key exchange. FFDHE remains allowed in TLS 1.3, where the named-group design avoids the problems. The same month the IETF published RFC 9846 (TLS 1.3 revision) and RFC 9852 (new protocols must require TLS 1.3).

    TLS 1.2 DHE (TLS_DHE_*) / TLS 1.2 static DH (TLS_DH_*) / TLS 1.2 static RSA

  2. Milestone
    OpenSSH 10.0 removes DSA and drops finite-field DH from sshd defaults

    OpenSSH 10.0 (9 April 2025) removed support for the DSA signature algorithm entirely, ending a deprecation that began when ssh-dss was disabled by default in OpenSSH 7.0 (2015). It also removed all finite-field (modp) Diffie-Hellman methods from sshd's default key exchange list and made the hybrid post-quantum mlkem768x25519-sha256 the client default.

    ssh-dss (DSA) / diffie-hellman-group* / diffie-hellman-group-exchange-*

  3. Milestone
    CADO-NFS team wins the 2025 Levchin Prize for factoring and discrete log records

    Pierrick Gaudry, Emmanuel Thomé and Paul Zimmermann received the 2025 Levchin Prize for Real-World Cryptography for developing CADO-NFS, the open-source number field sieve used for the largest public factoring and prime-field discrete log records, including RSA-240/RSA-250 and the 795-bit DLP-240.

    NFS-DL / RSA (factoring)

  4. ImplementationPractical
    VoWiFi gateways at 13 operators shared the same ten static DH private keys

    Gegenhuber, Holzbauer, Frenzel, Weippl and Dabrowski (USENIX Security 2024) studied the IKEv2 key exchange used for Voice-over-Wi-Fi. They found 13 mobile operators (about 140 million subscribers) whose ePDG gateways, traced to one vendor (ZTE, per banner analysis), served the same global set of ten static DH key pairs at random, so anyone holding those private keys could decrypt every operator's VoWiFi key exchanges. On the handset side, some MediaTek basebands could be downgraded to weak groups such as 768-bit MODP group 1 that they never offered.

    IKEv2 MODP DH-768 (group 1) / IKEv2 MODP DH-1024 (group 2) / IKEv2 MODP DH-2048 (group 14)

  5. Milestone
    FIPS 186-5 drops DSA for new signatures

    NIST published FIPS 186-5 on 3 February 2023. It approves RSA, ECDSA and EdDSA but no longer approves DSA for generating signatures, keeping it only to verify existing ones. NIST cited little industry use and academic findings that DSA implementations may be vulnerable if domain parameters are not generated properly.

    DSA

  6. ProtocolLimited
    D(HE)at: cheap clients force expensive server-side DHE exponentiations

    Szilárd Pfeiffer and Norbert Tihanyi described a denial-of-service attack where a client claims to support only finite-field DHE, ideally at the server's largest group, and sends garbage instead of a real public key. The server still performs costly modular exponentiations, so a little client CPU and bandwidth ties up much more server CPU. It was assigned CVE-2002-20001 (published November 2021), with follow-ups CVE-2022-40735 (needlessly long exponents) and CVE-2024-41996 (needless public-key order checks with safe primes in OpenSSL).

    TLS DHE / SSH DH / IKE DH

2010s

  1. RecordLimited
    DLP-240: 795-bit prime-field discrete log, announced with RSA-240

    Fabrice Boudot, Pierrick Gaudry, Aurore Guillevic, Nadia Heninger, Emmanuel Thomé and Paul Zimmermann announced the factorization of RSA-240 together with a discrete log modulo p = RSA-240 + 49204, the first safe prime above RSA-240 (795 bits). The discrete log took about 3,100 core-years (2,400 sieving + 700 linear algebra on 2.1 GHz Xeon Gold 6130), compared with about 900 core-years for RSA-240. It remains the prime-field discrete log record as of October 2026.

    DH-768 / DH-1024 / DSA-1024

  2. RecordLimited
    Discrete logs in GF(2^30750): first large-scale quasi-polynomial descent

    Robert Granger, Thorsten Kleinjung, Arjen Lenstra, Benjamin Wesolowski and Jens Zumbrägel computed a discrete logarithm in the 30,750-bit binary field GF(2^30750), represented as GF((2^30)^1025). The run took 25,481,219 core-hours (about 2,900 core-years) on EPFL clusters between February 2016 and May 2019. It was the first large-scale use of the elimination step of the quasi-polynomial algorithm.

    DH over GF(2^n)

  3. Milestone
    TLS 1.3 removes static DH, custom DHE groups and DSA

    RFC 8446 (August 2018) removed static RSA and static Diffie-Hellman key exchange, DSA signatures and custom ephemeral DH groups from TLS. Finite-field DHE survives only through the five named RFC 7919 groups, alongside elliptic-curve groups. The July 2026 revision, RFC 9846, keeps the same FFDHE groups.

    TLS 1.3 FFDHE / DSA

  4. ProtocolPractical
    Valenta et al. measure small-subgroup exposure: millions of hosts on non-safe DH primes, no library validating by default

    Valenta, Adrian, Sanso, Cohney, Fried, Hastings, Halderman and Heninger (NDSS 2017) scanned HTTPS, POP3S, SMTP/STARTTLS, SSH, IKEv1 and IKEv2 and found millions of hosts using DSA-style or other non-safe primes for DH. Of more than 20 libraries and applications examined, none validated subgroup order by default until January 2016. They demonstrated full or partial key recovery against OpenSSL, Exim, the Unbound DNS client and Amazon's load balancer.

    DH (RFC 5114 groups) / DSA-style DH parameters

  5. MathTheoretical
    Kilobit hidden-SNFS computation shows undetectable trapdoored DH/DSA primes are practical

    Joshua Fried, Pierrick Gaudry, Nadia Heninger and Emmanuel Thomé built a 1024-bit prime that looks random and has a 160-bit prime subgroup like standard DSA parameters, but is secretly amenable to the special number field sieve. They then computed a discrete log in it, the first kilobit prime-field discrete log ever reported, in a little over two months of calendar time (about 385 core-years) with CADO-NFS. Detecting the trapdoor without the designer's secret appears infeasible.

    DH-1024 / DSA-1024

  6. Milestone
    RFC 7919 introduces negotiated FFDHE groups for TLS

    RFC 7919 (August 2016, Daniel Kahn Gillmor) let TLS clients and servers negotiate finite-field DHE groups by name through the Supported Groups extension instead of accepting whatever parameters the server sent. It defined five safe-prime groups from 2048 to 8192 bits derived from the digits of e (ffdhe2048 to ffdhe8192).

    ffdhe2048 / ffdhe3072 / ffdhe4096 / ffdhe6144 / ffdhe8192

  7. RecordPractical
    Discrete logs in the 4,841-bit field GF(3^(6*509)) break a 128-bit pairing setting

    Adj, Canales-Martínez, Cruz-Cortés, Menezes, Oliveira, Rivera-Zamarripa and Rodríguez-Henríquez computed discrete logarithms in the order-r subgroup of GF(3^(6*509)), the embedding field of the supersingular curve Y^2 = X^3 - X + 1 over GF(3^509). Before 2013 this setting was assessed at about 2^128 work; the computation took on the order of 200 core-years.

    pairings on supersingular curves over GF(3^509)

  8. RecordLimited
    768-bit prime-field discrete log computed, closing the gap with RSA-768

    Thorsten Kleinjung, Claus Diem, Arjen Lenstra, Christine Priplata and Colin Stahlke computed a discrete log modulo p = [2^766 * pi] + 62762, a 768-bit safe prime. The effort was about 5,300 core-years (scaled to a 2.2 GHz Xeon E5-2660), mostly run from May to December 2015, far below the 30,000 to 50,000 core-years they had first projected. Each additional log in the same group then cost about two core-days.

    DH-768 / DSA-768 / ElGamal-768

  9. ImplementationPractical
    Socat shipped a hard-coded 1024-bit DH "prime" that was not prime

    Socat 1.7.3.0 and 2.0.0-b8 used a hard-coded 1024-bit Diffie-Hellman modulus for its OpenSSL mode that turned out to be composite. Santiago Zanella-Béguelin (Microsoft Vulnerability Research) reported it; socat 1.7.3.1 and 2.0.0-b9 replaced it with a freshly generated 2048-bit prime.

    DH-1024

  10. ImplementationPractical
    OpenSSL CVE-2016-0701: key recovery via small subgroups with RFC 5114 / X9.42 parameters

    Antonio Sanso (Adobe) reported that OpenSSL 1.0.2 supported X9.42-style DH parameters, such as the RFC 5114 groups, whose primes are not safe, yet did not validate peer public keys against the subgroup order and by default reused the server's DH private exponent unless SSL_OP_SINGLE_DH_USE was set. An attacker could make many handshakes with small-order elements and recover the exponent via Lim-Lee style small-subgroup attacks. Rated High; fixed in 1.0.2f, which validates X9.42 keys when q is known and always generates a fresh exponent.

    DH (RFC 5114 / X9.42 groups)

  11. ProtocolPractical
    Logjam: TLS downgrade to export-grade 512-bit DH, plus the 1024-bit precomputation warning

    Adrian et al. ("Imperfect Forward Secrecy: How Diffie-Hellman Fails in Practice", ACM CCS 2015, best paper) showed that a man-in-the-middle could rewrite a TLS ClientHello to request DHE_EXPORT and trick the client into accepting 512-bit DH parameters as if they were normal DHE. After a week-long number field sieve precomputation per prime, individual 512-bit logs took a median of about 70 seconds, fast enough to break handshakes live. Two 512-bit primes covered 92% of export-supporting servers, exposing about 7-8% of Alexa Top 1M HTTPS sites.

    DHE_EXPORT-512 / DH-768 / DH-1024 / Oakley Group 2

  12. RecordLimited
    596-bit (180-digit) prime-field discrete log record with CADO-NFS

    Cyril Bouvier, Pierrick Gaudry, Laurent Imbert, Hamza Jeljeli and Emmanuel Thomé announced a discrete logarithm modulo a 180-digit (596-bit) safe prime using the number field sieve, with GPU-accelerated linear algebra. Kleinjung et al. later put its cost at about 130 core-years.

    DH-512 / DH-768

  13. ProtocolPractical
    Triple Handshake: malicious DHE groups let a TLS server force identical master secrets

    Bhargavan, Delignat-Lavaud, Fournet, Pironti and Strub showed that in TLS DHE a malicious server can pick a non-prime group or degenerate parameters so the premaster secret is fully under its control. Combined with session resumption and renegotiation, this allowed a man-in-the-middle to synchronize two sessions and impersonate a client to another server. Fixes included rejecting degenerate DH public keys (NSS, CVE-2014-1491), blocking certificate changes on renegotiation, and the extended master secret extension (RFC 7627).

    TLS DHE

  14. MathPractical
    "128-bit secure" supersingular binary curves broken via field discrete logs

    Granger, Kleinjung and Zumbrägel showed that the supersingular genus-one curve over GF(2^1223), proposed for 128-bit-secure pairings, offers only about 59 bits of security. They fully broke a genus-two curve over GF(2^367) by computing discrete logs in its 4,404-bit embedding field GF(2^(12*367)). The paper appeared at CRYPTO 2014.

    pairings on supersingular curves over GF(2^1223) and GF(2^367)

  15. RecordLimited
    Discrete logs in GF(2^9234) using about 400,000 core-hours

    Robert Granger, Thorsten Kleinjung and Jens Zumbrägel computed discrete logarithms in the 9,234-bit binary field GF(2^9234) with about 400,000 core-hours. It beat the 6,168-bit record of May 2013 by using automorphisms of a twisted Kummer extension and an optimised descent strategy.

    DH over GF(2^n)

  16. MathPractical
    Quasi-polynomial discrete log algorithm for small-characteristic fields (BGJT)

    Razvan Barbulescu, Pierrick Gaudry, Antoine Joux and Emmanuel Thomé gave a heuristic algorithm computing discrete logs in finite fields of small characteristic in time n^O(log n), where n is the bit-size of the field. This is quasi-polynomial, asymptotically better than any L(epsilon) algorithm. The paper appeared at EUROCRYPT 2014.

    DH over GF(2^n) / DH over GF(3^n) / pairings on supersingular curves over GF(2^n)/GF(3^n)

  17. MathPractical
    Joux's L(1/4) algorithm and GGMZ upend discrete logs in small characteristic

    In February 2013 Antoine Joux posted an index-calculus algorithm with heuristic complexity L(1/4 + o(1)) for finite fields of very small characteristic. In parallel, Göloğlu, Granger, McGuire and Zumbrägel (GGMZ) showed relations for the factor base can be found in polynomial time for suitable fields. Within weeks both teams set records in binary fields of 1,778 to 6,168 bits.

    DH over GF(2^n) / DH over GF(3^n) / pairings on supersingular curves over GF(2^n)/GF(3^n)

  18. ImplementationPractical
    "Mining Your Ps and Qs": DSA private keys of 1% of SSH hosts recovered from repeated nonces

    Heninger, Durumeric, Wustrow and Halderman (USENIX Security 2012) scanned the IPv4 Internet and recovered the DSA private keys of 1.03% of SSH hosts, because those hosts reused the per-signature random value k across signatures. Nearly all were headless embedded devices that generated randomness on first boot without enough entropy.

    DSA-1024 (ssh-dss)

2000s

  1. MilestoneLimited
    RFC 5114 publishes DSA-style DH groups with no published seeds

    RFC 5114 (Informational, January 2008, BBN authors) published additional DH groups for IETF protocols, including a 1024-bit and two 2048-bit MODP groups with small prime-order subgroups (160, 224 and 256 bits), taken from NIST test data. Unlike the Oakley and RFC 3526 groups, the primes are not safe primes, and neither the RFC nor NIST's data includes the seeds needed to verify how they were generated.

    RFC 5114 1024-bit MODP with 160-bit subgroup / RFC 5114 2048-bit MODP with 224/256-bit subgroups

  2. RecordLimited
    Kleinjung computes a discrete log modulo a 160-digit (530-bit) safe prime

    Thorsten Kleinjung announced on the NMBRTHRY list a discrete logarithm modulo the safe prime p = floor(10^159 * pi) + 119849 (160 digits, about 530 bits), using the general number field sieve in the Joux-Lercier variant. It beat the 2005 Joux-Lercier 130-digit (431-bit) record.

    DH-512 / DSA-512

  3. Milestone
    RFC 3526 standardizes the 1536- to 8192-bit MODP groups built from pi

    RFC 3526 (May 2003) defined the 1536-bit group 5 and new 2048-, 3072-, 4096-, 6144- and 8192-bit safe-prime MODP groups (14-18) for IKE. They followed the 768-bit and 1024-bit Oakley groups 1 and 2 of RFC 2409 (1998). Each prime embeds the binary digits of pi, a "nothing up my sleeve" construction that rules out a hidden SNFS trapdoor.

    MODP group 5 (1536) / MODP group 14 (2048) / MODP groups 15-18 (3072-8192) / Oakley groups 1-2 (768, 1024)

  4. ProtocolTheoretical
    Bleichenbacher finds bias in FIPS 186 DSA nonce generation; NIST issues a change notice

    Daniel Bleichenbacher (Bell Labs) found that the pseudorandom generators in FIPS 186-2 Appendix 3, which reduce a 160-bit output modulo the 160-bit prime q, produce slightly non-uniform per-signature secrets k. NIST's Change Notice 1 (5 October 2001) describes the attack as needing about 2^22 known signatures and 2^64 work, and offered either a 2-million-signature cap per key or revised generators.

    DSA

1990s

  1. ProtocolPractical
    Lim-Lee small-subgroup key recovery against DL schemes that skip public-key validation

    Chae Hoon Lim and Pil Joong Lee (CRYPTO '97) showed that when a discrete-log scheme works in a prime-order subgroup of Z_p* but p-1 also has small factors, an attacker can send group elements of small order instead of valid public keys. Each response leaks the victim's static private key modulo a small prime, and Pohlig-Hellman/CRT reassembles the key.

    Diffie-Hellman / DSA-style subgroup DH / ElGamal

  2. Milestone
    NIST publishes DSA as FIPS 186 over heavy public objection

    The US Secretary of Commerce approved the Digital Signature Standard (FIPS 186) on 19 May 1994, effective 1 December 1994. It specified the Digital Signature Algorithm, an ElGamal/Schnorr-style signature computed in a prime-order subgroup of the multiplicative group mod p, designed with NSA involvement.

    DSA

1980s

  1. MathPractical
    Coppersmith's L(1/3) algorithm makes GF(2^n) discrete logs far easier than prime fields

    Don Coppersmith's "Fast evaluation of logarithms in fields of characteristic two" (IEEE Trans. Inf. Theory, July 1984; STOC 1984) gave the first heuristic L(1/3) index-calculus algorithm, for binary fields. It sharply cut the cost of discrete logs in GF(2^n) and broke proposals that had used GF(2^127) for speed.

    DH over GF(2^n)

1970s

  1. MathPractical
    Pohlig-Hellman: discrete logs are only as hard as the largest prime factor of the group order

    Stephen Pohlig and Martin Hellman showed that a discrete log in a group of order n can be split into discrete logs in subgroups of prime-power order dividing n, then recombined with the Chinese Remainder Theorem. If p-1 has only small prime factors, logarithms mod p become easy regardless of how large p is.

    Diffie-Hellman / ElGamal / DSA

  2. Milestone
    Diffie and Hellman publish "New Directions in Cryptography"

    Whitfield Diffie and Martin Hellman's paper in IEEE Transactions on Information Theory (vol. IT-22, no. 6, November 1976) introduced public key distribution: two parties exchange g^a and g^b modulo a prime p and both derive g^ab, while an eavesdropper must, as far as anyone knows, solve a discrete logarithm. The paper also set out the concepts of public-key encryption and digital signatures.

    Diffie-Hellman

  3. Milestone
    GCHQ's Malcolm Williamson devises finite-field "non-secret encryption" in secret (1974, 1976)

    In January 1974 Malcolm Williamson, a mathematician at GCHQ/CESG, wrote an internal note, "Non-Secret Encryption Using a Finite Field", proposing a public-key scheme based on exponentiation in a finite field. That scheme needed inverse exponents computed with the Euclidean algorithm. His follow-up report, "Thoughts on Cheaper Non-Secret Encryption" (10 August 1976), removed that step: both ends publish x^a and x^b for a public primitive element x and share x^ab. This is exactly the Diffie-Hellman exchange, written months before Diffie and Hellman's paper appeared. Both notes stayed classified until the British government released them in 1997.

    Diffie-Hellman