Introduction: A New Challenge for Cryptography
Cryptography is one of the foundations of modern digital infrastructure.
Every day, billions of people rely on cryptographic algorithms to protect financial transactions, authenticate identities, exchange private messages, access cloud services and secure sensitive information.
When you connect to your bank through HTTPS, send an encrypted message, authenticate with a server, or sign a digital transaction, you are relying on mathematical problems that are believed to be computationally difficult to solve.
For decades, the security of these systems has depended on an important assumption:
Some mathematical problems are practically impossible to solve within a reasonable amount of time using available computing resources.
But what happens when artificial intelligence starts helping researchers explore those mathematical problems?
What happens when an AI system can read cryptographic research papers, generate mathematical hypotheses, write experimental code, test attack strategies and combine techniques that previously required substantial human expertise?
Does this mean AI can now break encryption?
The answer is more interesting than a simple yes or no.
AI has started demonstrating meaningful capabilities in cryptanalysis. Some recent experiments have improved attacks against cryptographic constructions, exposed weaknesses in candidate algorithms and automated parts of research that traditionally required highly specialized knowledge.
However, there is an essential distinction between discovering a cryptographic weakness and breaking the encryption protecting real-world systems.
Understanding that distinction is becoming increasingly important for security engineers, cryptographers, financial institutions and anyone responsible for protecting digital infrastructure.
This article explores what AI-assisted cryptanalysis actually means, what recent research has demonstrated, where its limitations remain, and what the security industry should do next.
1. First, What Does It Mean to Break Cryptography?
Before discussing AI, we need to understand what cryptanalysis is.
Cryptography is the science of designing methods that protect information.
Cryptanalysis is the study of those methods to discover weaknesses, recover secret information, distinguish encrypted data from random data, or otherwise violate the security properties a cryptographic system is supposed to provide.
Consider a simplified encryption system:
ENCRYPTION Plaintext + Secret Key | | +------v------+ | Encryption Algorithm | v Ciphertext The recipient uses the appropriate secret key to recover the original information.
An attacker does not necessarily need to discover the secret key to compromise a system. Depending on the security goal, an attack might:
- Recover the encryption key.
- Recover plaintext without knowing the key.
- Forge a valid digital signature.
- Recover a private key from its public key.
- Distinguish encrypted outputs from random data.
- Discover a weakness in the mathematical construction.
- Exploit an implementation flaw or leak of secret information.
These are different attack goals.
For example, recovering an AES encryption key is not the same problem as finding a statistical property that distinguishes AES output from random data.
Both may be cryptanalytic results, but their practical consequences are very different.
How do cryptanalysts evaluate an attack?
A cryptographic attack is generally evaluated through several questions:
- Attack model: What access does the attacker have?
- Target: Which algorithm, protocol or implementation is being attacked?
- Complexity: How much computation is required?
- Data complexity: How much input or observed data is needed?
- Memory complexity: How much storage is required?
- Success probability: How likely is the attack to succeed?
- Practical feasibility: Can the attack be performed with realistic resources?
An attack that requires an unrealistic amount of computation may be mathematically interesting but operationally irrelevant.
Likewise, an attack against a weakened version of an algorithm does not automatically compromise the full version.
This distinction will become especially important when examining AI's recent cryptographic discoveries.
2. What Changes When AI Enters Cryptanalysis?
Traditional cryptanalysis requires a combination of mathematical knowledge, algorithmic understanding, experimental work and creativity.
Researchers study cryptographic specifications, investigate their mathematical structures, formulate hypotheses, develop attack algorithms and test those algorithms experimentally.
This process can be extremely demanding.
AI introduces a new research assistant into this process.
A capable AI system can help with:
- Reading and analyzing large collections of cryptographic papers.
- Identifying relationships between mathematical constructions.
- Generating potential attack strategies.
- Writing code to test cryptographic hypotheses.
- Exploring mathematical transformations.
- Searching through possible parameter combinations.
- Automating repetitive experiments.
- Analyzing experimental results.
- Combining previously published techniques in unexpected ways.
The important point is that AI does not necessarily need to invent entirely new mathematics to make a contribution.
Sometimes, the discovery comes from combining existing mathematical techniques in a way that researchers had not previously explored.
Imagine a researcher investigating a cryptographic algorithm.
The researcher may already know several mathematical tools, but exploring every possible combination manually is expensive.
An AI-assisted workflow could look like this:
Cryptographic Specification | v Literature and Research | v Mathematical Analysis | v AI-Generated Hypotheses | v Experimental Code | v Automated Evaluation | v Cryptanalytic Candidate | v Independent Verification | v Security Assessment This does not mean that an AI-generated attack is automatically correct.
Mathematical proofs, experimental validation and independent cryptographic review remain essential.
AI can accelerate the search for weaknesses. It cannot replace the need to establish that a proposed attack actually works.
The important shift
The potential change is not simply that computers can perform calculations faster.
It is that AI can help automate parts of the intellectual process involved in discovering cryptographic weaknesses.
That could change the economics of cryptographic research.
3. Three Important Developments That Changed the Conversation
The discussion around AI and cryptography is no longer purely theoretical. Several research developments in 2026 demonstrate why the cryptographic community is paying attention.
3.1 AI discovers a weakness in HAWK
July 2026 · Research breakthrough
One of the most interesting examples comes from Anthropic's research team.
In July 2026, Anthropic published research describing how its Claude Mythos Preview model helped discover an improved attack against HAWK, a candidate post-quantum digital signature scheme.
To understand why this matters, we need to understand what HAWK is.
HAWK is a digital signature construction designed around the mathematical Lattice Isomorphism Problem (LIP).
Its purpose was to provide digital signatures that could remain secure even in a future where sufficiently powerful quantum computers threaten traditional public-key cryptography.
The interesting part is that HAWK had already undergone substantial expert cryptographic review.
Nevertheless, the AI-assisted research identified an improved key-recovery attack.
According to Anthropic:
- The research took approximately 60 hours of work.
- The attack improved on the previously known approach.
- The reported security reduction was substantial for smaller parameter sets.
- The larger parameter sets remained impractical to attack using the reported method.
This is important because the model was not simply identifying a programming bug. It helped researchers discover a weakness in the mathematical construction itself.
However, HAWK was a candidate construction, not a deployed production standard.
The result therefore demonstrates the potential of AI-assisted cryptanalysis, not that deployed post-quantum encryption has been broken.
Sources: Anthropic's technical explanation and CWI's research commentary.
3.2 AI improves an attack against reduced-round AES
July 2026 · Symmetric cryptography
The second result is particularly interesting for anyone working with symmetric cryptography.
AES, or Advanced Encryption Standard, is one of the most widely deployed encryption algorithms in the world.
It is used in operating systems, databases, networking equipment, cloud infrastructure and countless applications.
AES supports three standard key sizes:
| Variant | Key size | Number of rounds |
|---|---|---|
| AES-128 | 128 bits | 10 |
| AES-192 | 192 bits | 12 |
| AES-256 | 256 bits | 14 |
Each round applies transformations that contribute to the cipher's security.
Cryptographers frequently study reduced-round versions of AES to understand how attacks behave against simpler versions of the construction.
For example, researchers might investigate a seven-round version of AES-128 rather than the full ten-round version.
Why?
Because reducing the number of rounds can make certain mathematical structures easier to analyze.
Anthropic reported that Claude Mythos Preview improved an existing attack against seven-round AES-128.
The reported improvement was between 200 and 800 times compared with the previous attack, depending on the comparison.
The important detail is that the attack did not break full AES-128.
It targeted a reduced-round construction.
Understanding the distinction
AES-128
10 rounds
Reduced-round variant
7 rounds
Illustration of the round-count difference, not a measurement of security strength.
This is a critical lesson in cryptography:
Breaking a simplified version of an algorithm does not automatically mean breaking the complete algorithm.
However, improvements against reduced-round constructions can still be valuable because they help researchers understand security margins and improve their analysis techniques.
Source: Anthropic — Improved attack on reduced-round AES.
3.3 CryptanalysisBench: Can AI systematically perform cryptanalysis?
July 2026 · Academic research
Another important development is CryptanalysisBench.
This research was conducted by researchers affiliated with ETH Zurich, Tel Aviv University and TU Berlin, alongside collaborators.
Instead of presenting only individual discoveries, the researchers wanted to answer a broader question:
Can large language models systematically perform cryptanalysis?
They introduced a benchmark containing 191 tasks across six families of cryptographic primitives.
The benchmark divides its tasks into three categories:
- Cryptographic constructions with already-known practical attacks.
- Constructions without known practical breaks, including full-strength and scaled-down versions.
- Challenge tasks involving production cryptographic primitives at the frontier of research.
The study evaluated several frontier models.
Its reported results showed that models could solve a substantial proportion of known-break tasks, some full-strength research tasks and numerous scaled-down variants.
More importantly, the researchers reported novel findings, including a key-recovery attack exploiting a design flaw in SpoC authenticated encryption and an issue involving a published security proof for KINDI.
This is significant because it moves the discussion beyond isolated demonstrations.
It provides a framework for measuring cryptanalytic capabilities across multiple algorithms and attack models.
It also introduces an important research opportunity: using AI to systematically stress-test cryptographic constructions before they become standards.
One caveat matters: benchmark success is not equivalent to demonstrating a practical attack against widely deployed encryption. The target, security game, parameters and verification conditions matter.
Source: CryptanalysisBench — arXiv research paper.
4. Why Breaking Reduced-Round AES Is Not the Same as Breaking AES
This deserves its own section because it is one of the most common misunderstandings in discussions about cryptographic security.
Imagine an attacker trying to recover a secret key from AES-128.
The attacker knows the algorithm but does not know the key.
The attacker must find a way to recover that key or violate a defined security property.
AES-128 uses ten rounds of transformations.
A reduced-round version might use seven rounds.
Removing rounds changes the mathematical construction being attacked.
It can remove layers of protection and make relationships between inputs, intermediate states and outputs easier to exploit.
An attack that works against seven rounds may not work against ten rounds.
This is why cryptographic researchers carefully distinguish between:
- Full-round attacks.
- Reduced-round attacks.
- Related-key attacks.
- Chosen-plaintext attacks.
- Known-plaintext attacks.
- Theoretical distinguishers.
- Practical key-recovery attacks.
These terms describe different threat models and outcomes.
A practical analogy
Imagine designing a building with ten security barriers.
A researcher discovers a way to bypass seven barriers.
That is an important discovery.
It may reveal a structural weakness in the design.
But it does not automatically establish that someone can bypass all ten barriers.
The analogy is imperfect because cryptographic rounds are mathematical transformations rather than physical obstacles, but it illustrates why the number and structure of rounds matter.
Does this make reduced-round research less important?
Absolutely not.
Reduced-round cryptanalysis is one of the established ways researchers evaluate the security margins of cryptographic algorithms.
An attack against a reduced version can reveal weaknesses that inform future algorithm design.
It can also help researchers understand whether an existing construction has enough security margin.
The important thing is to avoid presenting a research result as a production compromise when it is not one.
5. AI Does Not Need to Invent New Mathematics to Find New Attacks
There is another important aspect of these discoveries.
Some of the most interesting cryptographic attacks do not come from completely new mathematical inventions.
They emerge from combining existing techniques.
A researcher may know:
- A particular lattice reduction technique.
- A mathematical transformation.
- A property of a cryptographic construction.
- An optimization strategy.
- A previously published attack.
The challenge is identifying whether these components can be combined to produce a stronger attack.
This is where AI-assisted research becomes interesting.
A capable model can examine a large body of technical literature, identify connections and propose experiments.
Consider a simplified example:
Published Research A | v Known Mathematical Technique | +----------------+ | Published Research B | | | v v Cryptographic Property | | +--------+-------+ | v AI-Assisted Analysis | v New Attack Hypothesis | v Experimental Validation The AI is helping explore the space of possible combinations.
But the discovery is not established until the mathematical reasoning and experimental results hold up under scrutiny.
This distinction matters because language models can produce convincing but incorrect mathematical explanations.
A proposed attack may contain an invalid assumption, an incorrect complexity estimate or an overlooked condition.
Cryptography requires more than plausible reasoning.
It requires proof, verification and reproducibility.
6. Three Different Ways AI Can Influence Cryptographic Security
It is useful to separate three areas of research.
A. AI-assisted cryptanalysis
This is the most direct application.
AI helps researchers discover weaknesses in mathematical constructions.
Examples include:
- Identifying weaknesses in cryptographic designs.
- Improving existing cryptanalytic techniques.
- Exploring attack parameters.
- Automating key-recovery experiments.
- Analyzing cryptographic security proofs.
The HAWK and reduced-round AES findings are examples of this category.
B. AI-assisted implementation vulnerability discovery
A cryptographic algorithm can be mathematically secure while its implementation is vulnerable.
For example, an application may use AES correctly in theory but expose sensitive information through:
- Timing differences.
- Memory management errors.
- Incorrect randomness.
- Side-channel leakage.
- Incorrect cryptographic API usage.
- Improper key handling.
AI can help identify these vulnerabilities by reviewing source code, reasoning about execution paths and generating test cases.
This is a different problem from breaking AES mathematically.
An attacker exploiting a timing leak does not necessarily need to break the AES algorithm.
They may simply exploit information unintentionally exposed by the implementation.
C. AI-assisted protocol and security analysis
Cryptographic protocols involve multiple components.
For example, a secure banking application might rely on:
- TLS.
- Digital certificates.
- Authentication protocols.
- Session management.
- Key exchange.
- Transaction authorization.
- Secure key storage.
Even if the underlying algorithms are secure, weaknesses in the way components interact can compromise the system.
AI can assist researchers in identifying protocol inconsistencies, unexpected interactions and incorrect security assumptions.
These three categories should not be confused.
A vulnerability in a software implementation does not prove that the underlying cryptographic primitive is broken.
Likewise, a weakness in a protocol does not necessarily imply a weakness in its encryption algorithm.
7. Is AI Becoming a Threat to Post-Quantum Cryptography?
This is perhaps the most interesting question for the future.
Post-quantum cryptography (PQC) was developed to address the threat that sufficiently powerful quantum computers could pose to existing public-key cryptographic systems.
Traditional public-key cryptography relies on mathematical problems such as:
- Integer factorization.
- Discrete logarithms.
- Elliptic-curve discrete logarithms.
Shor's algorithm demonstrates why sufficiently capable quantum computers could threaten systems based on these problems.
Post-quantum cryptography uses different mathematical foundations.
Some standardized approaches include:
| Standard | Algorithm | Purpose |
|---|---|---|
| FIPS 203 | ML-KEM | Key encapsulation |
| FIPS 204 | ML-DSA | Digital signatures |
| FIPS 205 | SLH-DSA | Digital signatures |
However, post-quantum does not mean mathematically invulnerable.
Every cryptographic construction depends on assumptions.
Researchers must continuously investigate whether those assumptions are justified.
The HAWK case is an excellent example of why post-quantum candidates need extensive review.
A scheme designed to resist quantum attacks can still have weaknesses against classical cryptanalysis.
This gives us an important distinction:
Quantum resistance and cryptanalytic security are related, but they are not the same property.
AI-assisted research may help discover weaknesses in both classical and post-quantum constructions.
That does not mean AI has broken the standardized PQC algorithms.
It means the research community has another tool for testing their security.
8. What Does This Mean for Banks, Governments and Critical Infrastructure?
Now let's move from mathematical research to engineering.
Cryptography is embedded throughout modern infrastructure.
Banks, government services, telecommunications operators, cloud providers and payment systems depend on cryptographic algorithms and protocols.
Consider a simplified banking architecture:
Customer | v Mobile Banking App | v TLS / HTTPS | v API Gateway | v Authentication | v Transaction Authorization | v Banking Core | v Database / Storage | v Backup Systems Every layer may involve cryptographic dependencies.
An organization cannot simply replace an algorithm in one application and assume that its entire infrastructure is secure.
It must understand:
- Which cryptographic algorithms are deployed.
- Which systems depend on them.
- How cryptographic keys are generated and stored.
- Which vendors provide cryptographic services.
- How certificates are issued and renewed.
- Which data needs long-term confidentiality.
- How future algorithm changes will be deployed.
AI-assisted cryptanalysis makes continuous assessment more valuable.
But it does not mean organizations should panic and replace every encryption algorithm immediately.
The correct response is to improve cryptographic visibility, testing and agility.
The importance of cryptographic agility
Cryptographic agility means designing systems so cryptographic algorithms and protocols can be updated without requiring a complete architectural redesign.
For example, an organization should avoid hardcoding a single cryptographic algorithm throughout thousands of applications.
Instead, it should establish controlled interfaces, approved algorithm policies and migration procedures.
This becomes particularly important when moving toward post-quantum cryptography.
For banks and government institutions, the practical questions are:
- Do we know where cryptography is being used?
- Do we know which mathematical assumptions each system relies on?
- Can we update algorithms without disrupting services?
- Can our vendors support future cryptographic standards?
- Can we test new algorithms before production deployment?
These are engineering questions, not simply theoretical cryptography questions.
9. How Can Security Engineers Experiment With AI-Assisted Cryptanalysis?
As engineers, we should not limit ourselves to reading research papers.
We should reproduce experiments, understand the attack models and develop tools that help evaluate cryptographic security.
Since C and C++ are widely used in cryptographic implementations, they are excellent languages for building a research environment.
I would organize an experimental laboratory around four areas.
Experiment 1: Understand AES
Start with AES using OpenSSL.
Investigate:
- AES-128.
- AES-192.
- AES-256.
- Key generation.
- Encryption and decryption.
- Block structure.
- SubBytes.
- ShiftRows.
- MixColumns.
- AddRoundKey.
Your first objective is to understand what the algorithm actually does.
Do not begin by trying to break it.
Understand its construction first.
Experiment 2: Study differential cryptanalysis
Differential cryptanalysis studies how differences in inputs affect differences in outputs.
At a high level:
Input A --------+ | v Encryption | v Output A Input B --------+ | v Encryption | v Output B Compare the differences Researchers investigate whether certain input differences produce output differences with probabilities that can be exploited.
Start with a small educational cipher.
Then study published differential attacks against reduced-round constructions.
Experiment 3: Build an AI-assisted research workflow
Create a controlled environment where an AI model can:
- Read a cryptographic specification.
- Analyze a toy cipher.
- Suggest possible weaknesses.
- Generate experimental code.
- Run tests against synthetic data.
- Report whether its hypothesis survives validation.
The experiment should be designed so that results are objectively checked.
An AI model claiming that it has discovered an attack is not enough.
The attack must work against an independently generated test instance under the specified security model.
Experiment 4: Explore CryptanalysisBench
CryptanalysisBench is particularly relevant because it provides a research framework for evaluating LLM cryptanalytic capabilities.
Rather than inventing your own benchmark immediately, study its methodology.
Investigate:
- How tasks are defined.
- How attacks are evaluated.
- How successful key recovery is verified.
- How full-strength and reduced-strength variants differ.
- How model performance changes across primitive families.
Then consider building a smaller C++-oriented educational benchmark.
The objective should be reproducible research, not simply demonstrating that an AI can generate cryptographic code.
10. What Should the Cryptographic Community Do Next?
I believe the biggest opportunity is not to treat AI as the enemy of cryptography.
It is to use AI to improve the way cryptography is researched, tested and deployed.
There are several practical directions.
For cryptographic researchers
- Use AI to explore candidate constructions.
- Automate parts of cryptanalysis.
- Verify mathematical hypotheses independently.
- Develop reproducible benchmarks.
- Encourage independent review of AI-generated discoveries.
For software engineers
- Use established cryptographic libraries.
- Avoid implementing cryptographic primitives from scratch in production.
- Review cryptographic dependencies.
- Test implementations for side-channel and memory-safety problems.
- Design systems with cryptographic agility.
For banks and governments
- Maintain cryptographic inventories.
- Identify systems using vulnerable public-key algorithms.
- Assess long-term confidentiality requirements.
- Evaluate post-quantum migration readiness.
- Include cryptographic dependencies in third-party risk management.
For standards organizations
- Encourage broader cryptographic review.
- Evaluate AI-assisted attack methodologies.
- Publish reproducible security benchmarks.
- Continue monitoring candidate algorithms.
- Maintain transparent vulnerability disclosure processes.
The most important principle is that cryptographic security should never depend on the assumption that an algorithm has not yet been attacked.
It should depend on continuous evaluation of the assumptions, evidence and implementation surrounding that algorithm.
11. So, Has AI Started Breaking Cryptography?
The answer is yes, with important qualifications.
AI systems have demonstrated the ability to contribute to genuine cryptanalytic research.
They have helped improve attacks against candidate cryptographic schemes, analyze reduced-round ciphers and discover previously unknown weaknesses in research constructions.
Benchmark research also suggests that advanced models are becoming increasingly capable of performing cryptanalytic tasks.
But we must not confuse these achievements with breaking the cryptographic systems that currently protect the Internet.
The reported AES result does not break full AES.
The HAWK result concerned a candidate construction, not a deployed production standard.
The existence of successful attacks against selected benchmark tasks does not establish that an AI can recover keys from arbitrary production encryption.
There is also an important distinction between AI and quantum computing.
AI can help researchers search for weaknesses using existing computational resources. Quantum computing introduces different computational capabilities that could change the complexity of particular mathematical problems.
Both developments deserve attention, but they should not be treated as interchangeable threats.
The real development is that the cost and accessibility of sophisticated cryptographic research may be changing.
Tasks that once required a small group of highly specialized researchers could increasingly be assisted by automated systems.
That creates an opportunity for defenders to discover weaknesses earlier.
It also creates a challenge: the cryptographic community must evaluate new attack capabilities as quickly as possible.
Conclusion: The Future of Cryptography Will Depend on Continuous Verification
For decades, cryptography has protected the digital world through mathematical assumptions, rigorous analysis and extensive peer review.
AI introduces a new participant into this process.
It can help researchers explore mathematical structures, connect previously separate techniques and automate experiments.
This does not make modern encryption obsolete.
Instead, it challenges us to improve how we establish and maintain confidence in cryptographic systems.
The lesson from recent research is not that encryption is suddenly broken.
The lesson is that even carefully studied cryptographic constructions can contain weaknesses that remain undiscovered until someone approaches the problem from a different perspective.
For security engineers, the response should be curiosity, experimentation and preparation.
We should understand the algorithms we deploy, test their implementations, follow cryptographic research and design infrastructure that can evolve as security assumptions change.
Because ultimately, cryptography is not about creating an algorithm and declaring it secure forever.
It is about continuously proving, testing and challenging the assumptions that make our digital world trustworthy.
The Discussion
Are AI systems making cryptographic assumptions obsolete faster than organizations can reassess them?
Could AI become one of the most valuable tools for cryptographers, or will it eventually give attackers capabilities that defenders struggle to match?
I am particularly interested in the perspective of cryptographers, security researchers and engineers working on financial infrastructure.
What should we be preparing for today?
Beyond the Cipher — Exploring cryptography, privacy, AI, blockchain security and the future of digital trust.
Research references
These are the sources I would attach to the article before publication:
- Anthropic (28 July 2026): Discovering Cryptographic Weaknesses with Claude — HAWK and reduced-round AES findings.
- Fluri et al. (July 2026): CryptanalysisBench: Can LLMs Do Cryptanalysis? — benchmark methodology and experimental results.
- CWI (4 August 2026): AI Helps Uncover Weakness in Cryptographic Method — commentary from researchers involved in HAWK.
- Associated Press (1 December 2026): Anthropic Says It Found a Theoretical Way to Crack Encryption — reporting on the newer lattice-cryptography research. The reported findings have no immediate practical impact on deployed systems.