
Cryptographic agility is an organization’s ability to replace the cryptographic algorithms, key sizes, and protocols its systems rely on, quickly and without major disruption. For most of the history of public-key cryptography, that ability was nice to have. Quantum computing and the rapid progress of artificial intelligence (AI) are making it a requirement.
What Is Cryptographic Agility?
Cryptographic agility (often shortened to crypto agility) means designing systems so that algorithms are configuration choices, not hard-coded assumptions. An agile environment knows where cryptography is used and which algorithms and keys are in play. It can swap them through policy, configuration, or a routine update instead of a multi-year re-engineering project. In a public-key infrastructure (PKI), that covers certificate templates, certification authority (CA) hierarchies, enrollment and renewal processes, and every application and device that consumes those certificates.
RSA: Five Decades of Good Fortune
Rivest, Shamir, and Adleman publicly described the RSA algorithm in 1977, and it is still one of the most widely used public-key algorithms in the world. In an industry where few technologies last a decade, nearly 50 years of service is remarkable, and frankly, we have been unbelievably fortunate. Over that time RSA needed only incremental adjustments. Key sizes grew from 512 bits to 1024 bits and then to 2048 bits and beyond as computing power increased, and padding schemes evolved to counter implementation attacks. The underlying math held. Because RSA was so durable, organizations rarely had to replace it, and many never built the processes or tooling to do so. Anyone who has migrated an Active Directory Certificate Services (AD CS) hierarchy from Secure Hash Algorithm 1 (SHA-1) to SHA-2 knows how painful an algorithm change can be when nothing was built for it.
Quantum Computing Changes the Equation
That run of good fortune is ending. A cryptographically relevant quantum computer (CRQC) running Shor’s algorithm would break RSA and elliptic curve cryptography (ECC) outright, and no increase in key size will help. Adversaries are already collecting encrypted data so they can decrypt it once that capability exists, a strategy known as “harvest now, decrypt later.” In response, the National Institute of Standards and Technology (NIST) has published post-quantum cryptography (PQC) standards. These include the Module-Lattice-Based Key-Encapsulation Mechanism (ML-KEM) in FIPS 203 and the Module-Lattice-Based Digital Signature Algorithm (ML-DSA) in FIPS 204. NIST IR 8547 deprecates all quantum-vulnerable public-key algorithms after 2030 and disallows them after 2035, whatever the key size.
AI Is the Wildcard
Quantum computing isn’t the only threat. AI is advancing quickly in mathematics, code analysis, and vulnerability discovery. AI systems could speed up cryptanalysis, expose weaknesses in algorithms long believed to be sound, or find exploitable flaws in how cryptography is implemented, configured, and deployed. In January 2026, OpenSSL patched twelve vulnerabilities discovered by an AI system, some of which had gone unnoticed since the late 1990s. On December 2, 2026, the Office of the National Cyber Director (ONCD), National Security Agency (NSA), and Cybersecurity and Infrastructure Security Agency (CISA) issued a joint statement reporting that U.S. AI companies had disclosed discoveries affecting the security of some cryptography in use today, although the agencies do not consider them an immediate and widespread threat. Unlike the quantum threat, AI’s impact doesn’t depend on new hardware arriving, so a breakthrough could come with little warning. It could also affect classical and post-quantum algorithms alike, and the new PQC algorithms have had years of public scrutiny, not decades. That is exactly why agility matters. The goal isn’t to choose one perfect algorithm. It’s to be able to change algorithms again whenever the need arises.
Building Cryptographic Agility
Building cryptographic agility starts with a few foundational practices, including the following.
- Inventory: Build a cryptographic inventory showing where cryptography is used across certificates, protocols, applications, and devices.
- Abstraction: Choose platforms and libraries that let you change algorithms through configuration, not code changes.
- Automation: Automate certificate enrollment and renewal so that replacing keys and certificates at scale becomes routine.
- PKI Readiness: Plan for PQC-capable CA hierarchies and hybrid deployments during the transition.
- Vendor Accountability: Ask vendors for PQC roadmaps and make crypto agility a procurement requirement.
- Testing: Test new algorithms in the lab now to find compatibility, performance, and key and signature size issues before production.
The Era of Set-and-Forget Cryptography Is Over
RSA gave us nearly half a century of stability, but the next 50 years won’t look like the last 50. With both quantum computing and AI in play, organizations should expect algorithm changes to come more often and less predictably. Organizations that invest in cryptographic agility now will be able to answer the next threat with a configuration change. Those that don’t will face another emergency migration. For more on preparing for the post-quantum transition, visit my post-quantum cryptography resource page.
Additional Information
- Considerations for Achieving Crypto Agility: Strategies and Practices (NIST CSWP 39)
- Transition to Post-Quantum Cryptography Standards (NIST IR 8547)
- Module-Lattice-Based Key-Encapsulation Mechanism Standard (FIPS 203)
- Module-Lattice-Based Digital Signature Standard (FIPS 204)
- Quantum-Readiness: Migration to Post-Quantum Cryptography (CISA, NSA, and NIST)
- Joint Statement on Recent Advances in Cryptographic and Cybersecurity Capabilities (ONCD, NSA, CISA)








