# Generation of Cryptography Algorithms Using AI Agents

> Generative cryptography proposes an AI pipeline linking security goals, hardness assumptions, and problems to candidate algorithms and validation. The paper is conceptual, with no implementation or experimental evaluation and no claim that it generated a secure algorithm.

- arXiv: https://arxiv.org/abs/2612.05468
- Authors: Ashish Kundu, Ramana Kompella
- Published: 2026-12-04
- Topic: Agents
- Visual carousel: https://instaxiv.com/p/2612.05468
- Explanation by InstaXiv, a secondary educational summary. Cite the original paper for exact results. InstaXiv is not affiliated with or endorsed by arXiv or Cornell University.

## Can AI design cryptography from a security goal?

## The shift is from attack to design

**Prior work reviewed:** The paper says most AI-and-cryptography work has focused on attacking schemes; other lines test existing algorithms or study cryptographic code generated by LLMs.

**This proposal:** The authors propose generating candidate algorithms from a stated goal, explicit hardness assumptions, and the mathematical problems supporting them.

Their novelty claim is the full chain: goal, assumption, problem, algorithm, then validation.

## Make the security basis explicit before generation

1. **Specify the goal**: Specify security and performance needs, the computational and threat models, key type, security notion, and special properties.
2. **Connect assumptions to problems**: Provide or determine hardness assumptions, then identify supporting mathematical problems; the copilot may reverse this order.
3. **Generate and validate**: Generate candidates from the goal and hardness basis, then check correctness and validate with AI, research knowledge, and human experts.

## Three agent systems split the work

![Figure 6](https://cdn.instaxiv.com/figures/2612.05468/figure6.webp)

In the proposed design, master agents determine each agent graph. Generation proposes; testing and validation surface issues; patching returns a fix for another validation round until results converge. (Figure 6)

## Quantum and AI safety are separate demands

**Quantum safety:** For quantum safety, screen for a problem believed outside BPP (efficient randomized classical computation) and BQP (efficient bounded-error quantum computation), with no known efficient quantum algorithm. This is not a guarantee.

**AI safety:** Resistance to AI-driven cryptanalysis is a distinct, threat-model-dependent requirement; the paper says AI-safe cryptography has no formal definition.

A threat model can require quantum resistance, AI resistance, or both.

## A proposal, not an evaluated system

- **No implementation**: The authors present the framework conceptually, with no system implementation or experimental evaluation reported.
- **No security result**: They make no claim that the pipeline has generated a secure cryptographic algorithm.
- **Algorithm-level scope**: Protocols and ciphersuites are proposed extensions; implementations are outside the paper's scope.
- **Convergence unspecified**: The paper does not specify agent roles, communication, or when validation counts as converged.

Best used when: Use it as a blueprint for structuring assumptions and validation, not as evidence of a working secure-design tool.

## Key takeaways

- The proposal makes the route from security goals to candidate algorithms explicit, including their assumptions and supporting problems.
- A design team can map assumptions to hard problems and carry both into validation.
- Whether a working system can validate candidate security and decide when checks have converged remains untested.

## Links

- arXiv: https://arxiv.org/abs/2612.05468
- PDF: https://arxiv.org/pdf/2612.05468

## Citation

```bibtex
@article{kundu2026generation,
  title   = {Generation of Cryptography Algorithms Using AI Agents},
  author  = {Kundu, Ashish and Kompella, Ramana},
  journal = {arXiv preprint arXiv:2612.05468},
  year    = {2026},
  url     = {https://arxiv.org/abs/2612.05468}
}
```
