Tech

Why large language models won't break symmetric encryption

Hacker News1 h ago
Abstract binary code and encryption visual
Abstract binary code and encryption visualPhoto: Markus Spiske / Pexels

The rapid progress of large language models in writing code, solving mathematical problems and recognizing complex patterns has led some observers to worry these systems could eventually break modern symmetric encryption algorithms like AES. Cryptographers say that concern stems from a misunderstanding of encryption's mathematical foundation.

Symmetric encryption is a system in which the same key encrypts and decrypts data. The security of modern algorithms like AES-256 rests on the sheer number of possible key combinations — a number larger than the count of atoms in the observable universe.

Experts stress that an AI model cannot 'guess' or 'learn' this key, because the output of a well-designed encryption algorithm is statistically indistinguishable from random data. A pattern-recognition system cannot find a pattern where none exists.

This differs fundamentally from the tasks where AI models excel. Language models work by learning statistical regularities in training data; a cryptographically secure encryption output, by definition, contains no statistical regularities to learn.

Cryptographers note that even quantum computers offer only a limited advantage against symmetric encryption. A quantum method known as Grover's algorithm can reduce key-search time by a square-root factor, but that advantage is easily offset by simply doubling key length.

The piece argues the real threat lies not in mathematically breaking encryption but in implementation errors. Weak key generation, software bugs, side-channel attacks and human error have historically been the actual weak points of encryption systems.

AI models can genuinely help find these secondary weaknesses — for instance, by reviewing code to spot vulnerabilities or identifying common misconfigurations. But that is a fundamentally different capability from breaking the underlying algorithm.

Some researchers acknowledge AI could accelerate cryptanalysis research, helping human researchers discover new attack methods faster. That, however, is not the same as a 'magic shortcut' that would suddenly collapse the underlying mathematical security of existing algorithms.

Experts say part of the public confusion stems from AI's general capabilities being overstated; a system performing impressively on language and reasoning tasks does not mean it can exceed mathematically proven security boundaries.

Ultimately, the security community argues attention should focus on the real threat quantum computers pose to public-key encryption like RSA, and on the human-driven errors in how encryption systems are implemented — while AI breaking symmetric encryption itself appears scientifically implausible for the foreseeable future.

This article is an AI-curated summary based on Hacker News. The illustration is a stock photo by Markus Spiske from Pexels.

Read next

Data center server racks at night
Tech

Why has Texas paused new data center grid connections amid surging AI demand?

Texas has paused new large-scale data center connections to its ERCOT-run power grid after a surge of AI-driven interconnection requests threatened to outpace the grid's capacity, according to Ars Technica. The move is notable because the state's governor has spent the past two years promoting Texas as an AI infrastructure 'epicenter.' Similar strained connection queues have also emerged in Virginia and the PJM Interconnection region as AI data centers grow more power-hungry.

Ars Technica1 d ago