When to use it

Use this prompt when your organization starts planning its move to post-quantum cryptography and nobody knows where RSA and elliptic curves are actually used. It suits security engineers preparing an inventory, developers asked to estimate migration effort, and architects reviewing a single service before a larger program. The timing is practical: NIST finalized its first post-quantum standards in 2024 and its draft transition guidance proposes retiring quantum-vulnerable algorithms by 2035. On November 30, 2026, a review panel looking at new AI-found attacks on lattice schemes again recommended continuing the migration, with hybrids and crypto agility (see our report on Anthropic’s lattice findings).

How to customize it

  • [SYSTEM DESCRIPTION] gives the model context to judge risk. A payment API and an internal dashboard have very different priorities.
  • [DATA SENSITIVITY] is the most important field. The number of years data must stay secret drives the ranking, because of “harvest now, decrypt later” attacks.
  • [LANGUAGES AND LIBRARIES] help the model know where to look. Most real crypto lives in TLS configuration, JWT libraries, SSH and database settings, not in application code.
  • [CODE AND CONFIG] can be pasted directly or, with a coding agent that has repository access, replaced by an instruction to search the repository. Include infrastructure files such as load balancer and VPN settings; they are often missed.

Why it works

A migration starts with knowing what you have, and a cryptography inventory (sometimes called a CBOM, a cryptographic bill of materials) is the first step most guidance recommends. The prompt forces a consistent record for every use, so nothing is described vaguely as “uses encryption”. Separating quantum-vulnerable public-key algorithms from symmetric ones avoids a common mistake: AES and SHA-2 are not broken by quantum computers, though larger sizes are advised, so they need far less work than RSA or elliptic curves.

Ranking by how long data must stay secret reflects how quantum risk actually works. The crypto-agility check targets the problems that make migrations slow, such as database columns sized for small signatures. The rule against inventing details matters because a model guessing library versions can produce a confident but wrong plan.

Tips and variations

  • Run it service by service and merge the tables, rather than pasting a whole monorepo at once.
  • Ask for a version written for management: three risks, three decisions needed, rough effort.
  • Pair it with our lightweight threat model prompt for services that handle sensitive data.
  • For broader context, read our explainer on myths about AI, quantum computers and encryption.
  • Treat the output as a starting point: verify every finding in the code and confirm library support in official documentation before planning work.