Microsoft Uses AI Agents to Verify Rust Cryptography Code
Microsoft Research · rss · 2026-07-14
Microsoft Research published an article detailing how to scale formal verification of production-grade cryptographic algorithms using Rust, Lean, Aeneas, and AI agents.
- Background: Cryptographic code demands extremely high security, which traditional testing cannot fully guarantee. Microsoft rewrote algorithms in SymCrypt (the crypto library used by Windows and Azure) using safe Rust and performed formal verification using the Lean framework.
- Method: The Aeneas tool is used to translate Rust code into pure Lean models to prove compliance with standard specifications. AI agents were introduced to write independently verifiable proofs, thereby scaling automation.
- Progress: A code branch containing complete proofs for SHA-3 and ML-KEM (post-quantum cryptography) has been open-sourced, with ongoing expansions to more algorithms like AES-GCM.
- Advantage: Software engineers can continue writing high-performance Rust code while verification engineers work on the generated Lean models without interfering with each other.
More from coding & agent
- Warp's six non-engineering teams all run on Linear and Claude Code — mon__lim · 2026-09-11
- Is inference latency becoming the biggest bottleneck for production AI agents? — Euphoric_Sea632 · 2026-09-11
- Anthropic researcher: 99% of engineers now run swarms of 300+ self-improving agents — AlishaOutridge · 2026-09-11
- Gergely Orosz: Shipping 10x PRs With AI Agents, Sites Fill With Small Regressions — ducha_aiki · 2026-09-11
- Same Echo Maze prompt, three frontier models: all passed visually but shipped the same hidden bug — eyishazyer · 2026-09-11
- Astra storyboards plus Minimax H3 per-shot generation boost video success rates — Hailuo_AI · 2026-09-11