NeurIPS 2026QuestionsPapersAreasAboutMarkdown

CryptanalysisBench: Can LLMs do cryptanalysis?

Lukas Fluri, Avital Shafran, Nicholas Carlini, Matthew Jagielski, Milad Nasr, Orr Dunkelman, Eyal Ronen, Florian Tramer

NeurIPS page · Open on the map

Category: AI Safety, Security & Alignment › Agent Security Benchmarks · Type: benchmark or dataset · Keywords: cryptanalysis benchmark, LLM evaluation, cryptographic primitives, formal security games, AI cryptanalysis

Areas: Safety & Security › Cybersecurity › Offensive Cyber Agent Benchmarks; Evaluation & Benchmarks › Language Model and Agent Safety › Agent Security Benchmarks; Benchmarks for LLMs & Agents › Agent Trustworthiness Benchmarks › Agent Security Benchmarks

Summary

CryptanalysisBench is a benchmark of 113 cryptanalysis tasks across six families of cryptographic primitives that evaluates LLMs on breaking cryptographic schemes.

Explained to a 5-year-old

People want to make secret codes that keep messages safe. They made a big collection of puzzles that ask you to break those codes. The puzzles are organized so some are easy (already known) and some are hard. They asked two smart computer programs to try solving the easy puzzles. The computer programs could solve many of the easy ones but not the hard ones.

Explained to a 5-year-old, longer

Secret codes are used to keep messages safe, like when you send a secret note. Cryptanalysis is the name for trying to break those secret codes. The researchers collected many different code-breaking challenges from real competitions. They organized the challenges into three groups: ones that are already broken, ones that are harder, and the hardest ones that are still unsolved. Each challenge is like a game where you must win to show you have cracked the code. Two large AI systems were tested on the easy challenges. One AI solved about 71% of the easy challenges, and the other solved about 79%. The harder challenges were mostly too difficult for the AIs. The benchmark also helps researchers see if AI can rediscover known attacks or just remember them from papers. It will be used to track when AI might become a serious threat to cryptography. The goal is to make sure new cryptographic schemes are tested well before they are used in the real world.

For a technical reader

The paper creates a standardized set of 113 cryptographic attack tasks spanning six primitive families. These tasks are organized into three tiers based on known breaks and difficulty, and each is defined as a formal security game. Two state-of-the-art LLMs were evaluated, achieving high success on the easiest tier but struggling on the more challenging tiers. The benchmark also provides fine-grained analysis to distinguish whether successes come from recalling known attacks or from rediscovering source-level implementations. This helps track AI progress in cryptanalysis and offers a testing platform for future cryptographic schemes.

Problem

Cryptanalysis requires both mathematical reasoning and programming to find attacks against cryptographic schemes. The paper asks whether large language models can succeed at this task.

Method

The authors collected a diverse set of cryptanalysis tasks, categorized them into tiers of difficulty, and framed each as a formal security game that an agent must win to demonstrate a break.

Results

The evaluations showed that Claude Opus 4.7 solved 71.4% of Tier 1 tasks and GPT-5.5 solved 78.5% of Tier 1 tasks, with Tier 2 tasks largely out of reach.

Contributions

The paper introduces a benchmark covering 113 cryptanalysis tasks across six primitive families and offers a detailed analysis separating recall of known attacks from rediscovery of source code.

Practical relevance

It serves as a forecasting tool to monitor AI cryptanalytic progress and as scaffolding to test cryptographic schemes before deployment.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction