TRANSMISSION // 2612.05468v1

Could AI help design new cryptography?

Source published

A proposal for AI-assisted cryptographic design lays out a pipeline from security goals to candidate algorithms—but reports no working system or tested algorithms.

AI-generated conceptual illustration for Could AI help design new cryptography?
AI-generated conceptual illustration; not documentary evidence.

Cryptographic algorithms are usually designed and scrutinized by specialists. Ashish Kundu and Ramana Kompella propose a framework in which AI agents could help generate and check candidate algorithms. It includes both a human-assisted “copilot” mode and a fully automatic mode, but the paper does not test either or establish how security decisions would be made in practice.

Cryptography protects information by turning mathematical problems into practical safeguards. Designing a new algorithm is not just a matter of inventing a clever formula: researchers need to state what it should protect, specify the threats it must withstand, explain which mathematical assumptions its security relies on, and test the design rigorously. Could AI agents help organize that process?

In Generation of Cryptography Algorithms Using AI Agents, Ashish Kundu and Ramana Kompella introduce “generative cryptography”: using AI models, mathematical and cryptographic knowledge, automated tools, and human expertise to produce candidate algorithms from a stated goal. A request might specify, for example, that a public-key encryption algorithm should protect data against a sufficiently capable quantum computer. The proposed system would then work through the assumptions and mathematical problems that could support such a design.

The central contribution is a proposed workflow, not an experiment. The authors describe a five-part pipeline: record the goal; provide or determine security assumptions; identify the hard mathematical problems behind those assumptions; generate and validate candidate algorithms; and, where quantum resistance is required, assess that requirement separately. Their more detailed design expands the process into 19 steps, including defining security formally, choosing parameters and a source of randomness, generating algorithms, testing them, fixing problems, and documenting the resulting candidate.

Three cooperating groups of AI agents would handle generation, testing and validation, and patching. The proposed checks draw on retrieval from cryptography and mathematics sources, automated tests, theorem-proving tools, adversarial agents that try to find weaknesses, and expert review. The system would represent an algorithm’s goals, threats, trust requirements, assumptions, and dependencies in connected graphs. In principle, those representations could help reviewers trace how a claimed security goal depends on a particular mathematical assumption or a source of randomness.

The authors describe two operating modes. In semi-automatic mode, the system acts as a “crypto copilot” for a human team, which can review explanations, help validate candidates, and resolve open questions. In automatic mode, the system is intended to produce candidates without human intervention in the loop. The paper does not establish how either mode would perform or who would have final authority over a security judgment in an automatic system.

The authors also sketch two ways to organize the search for hard mathematical problems. One begins by identifying problems thought to resist classical and quantum attacks, then looks for structures that could support cryptographic designs. The other builds a graph of relationships between problems and uses a partially ordered lattice to organize them. Here, “lattice” means a mathematical structure for arranging relationships; the authors clarify that it is not the same thing as the lattices used in lattice-based cryptography.

A key distinction in the proposal is between quantum safety and what the authors call AI safety. Quantum safety concerns resistance to attacks using quantum computers. AI safety, as used in this paper, concerns whether AI-driven methods could solve or weaken the mathematical assumptions on which an algorithm relies. The authors say these are separate, threat-dependent requirements. They also acknowledge that AI-safe cryptography has no formal definition yet, and that their proposed quantum-safety criterion is a screening guide, not a guarantee of security.

That caution is important because cryptographic security cannot be established simply by generating plausible-looking designs or passing ordinary tests. A mathematical assumption is generally not proven true; it is supported by evidence, reductions to other problems, and the absence of known efficient attacks. Automated theorem proving may check a proof, but it does not by itself establish that an underlying assumption will remain hard. The authors also warn that AI can hallucinate algorithms, claims, proof steps, or references, and that bias can affect which assumptions and problems a system selects. Multiple validators and human scrutiny are proposed safeguards, but their effectiveness remains to be demonstrated.

The clearest limitation is also the paper’s most important qualification: the authors report no implementation, experimental evaluation, or generated secure algorithm. They do not specify key operational details of the multi-agent framework, such as how agents communicate or when validation has converged, and they make no claim about cost or efficiency. The work focuses on algorithms; implementations and deployment are outside its scope. The paper’s examples are illustrative, not results.

So the paper does not show that AI can design secure cryptography. It offers a framework for how such a research effort might be structured, with explicit assumptions and proposed layers of checking. Because it is conceptual and reports no implementation or experimental evaluation, its pipeline should be read as a research agenda, not as a proven method or a reason to trust AI-generated algorithms.

Reviewed cross-references

These connections were reviewed by a model, not independently fact-checked by a human. Similarity does not imply agreement; consult the original papers and the evidence below.

  • Can AI Agents Implement Post-Quantum Cryptography?

    Shared method: Both papers include testing in cryptographic validation: the origin paper proposes automated testing for generated algorithms, while PQCImplement-Bench evaluates implementation patches with repository tests and NIST validation vectors. The comparison is limited because the origin paper is conceptual and reports no implementation; the benchmark tests existing-library code, not generated algorithms or their security.

    Model review: · openai-codex/gpt-6-luna

    Evidence and provenance

    Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.

    • 2612.05468v1 — Original paper

      Excerpt reference: static/papers/2612.05468v1.md:13-82
      Basis: Paper text
      Source file SHA-256: 0dca0e249d15a551cbe2ccecc1fad18fbad66eb7be9cfbd24b95fbdcef9e5c5b

    • 2612.05468v1 — Original paper

      Excerpt reference: static/papers/2612.05468v1.md:1621-1692
      Basis: Paper text
      Source file SHA-256: 0dca0e249d15a551cbe2ccecc1fad18fbad66eb7be9cfbd24b95fbdcef9e5c5b

    • 2612.03088v1 — Original paper

      Excerpt reference: static/papers/2612.03088v1.md:79-143
      Basis: Paper text
      Source file SHA-256: 2eef47cee7d361dac116e834c1f70615a52deebd3f5d6ce17136d5483e5dc333

    • 2612.03088v1 — Original paper

      Excerpt reference: static/papers/2612.03088v1.md:144-203
      Basis: Paper text
      Source file SHA-256: 2eef47cee7d361dac116e834c1f70615a52deebd3f5d6ce17136d5483e5dc333

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.