Generation of Cryptography Algorithms Using AI Agents
Kundu & Kompella in Agents
Can AI design cryptography from a security goal?
Generation of Cryptography Algorithms Using AI Agents
The shift is from attack to design
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.
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

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.
Quantum and AI safety are separate demands
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.
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.
Why it matters
- 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.
52 likes 7 slides, 2 min
1 day ago