Crypto-Agility
An organization's ability to replace a cryptographic algorithm, key size or protocol that has become weak, quickly and without rebuilding its systems.

Crypto-agility is an organization's ability to replace a cryptographic algorithm, key size or protocol once it becomes weak, quickly and without rebuilding its systems. It is as much a governance issue as a technical one: it touches architecture, procurement, supplier contracts and risk management. The transition to post-quantum cryptography has turned it from a good practice into a priority.
What crypto-agility covers
A definition NIST and ANSSI share
NIST defines crypto-agility as the capabilities needed to replace and adapt cryptographic algorithms in protocols, applications, software, hardware, firmware and infrastructure while preserving security and ongoing operations. ANSSI, France's national cybersecurity agency, uses a similar definition: extending or replacing cryptographic components without affecting how systems work, while keeping downtime during the update to a minimum.
Two levels of agility
ANSSI distinguishes two levels:
- Parameter agility: raising the security level within the same family, for example moving from AES-128 to AES-256 or from RSA-2048 to RSA-4096. It answers a partial weakening.
- Algorithmic agility: replacing an algorithm entirely, for example SHA-2 with SHA-3. It is the only answer to a broken algorithm, and ANSSI recommends implementing it whenever the context allows.
For an executive, the practical question is simple: if an algorithm used everywhere is declared weak tomorrow, how much time and money will it take to move off it?
Why it has become a board-level topic
History: transitions that take decades
The history of cryptography is a series of deprecations, each slower than planned:
- DES and Triple DES: according to NIST, the full transition from Triple DES to AES, standardized in 2001, took 23 years, ending only when Triple DES was finally disallowed in 2024.
- MD5: the first collisions were published in 2004. In March 2011, IETF's RFC 6151 declared MD5 no longer acceptable where collision resistance is required, such as digital signatures.
- SHA-1: weaknesses were known from 2005 and NIST officially deprecated it in 2011. On February 23, 2017, CWI Amsterdam and Google announced the first practical collision (SHAttered). Only in December 2022 did NIST set a full phase-out of SHA-1, by the end of 2030 at the latest.
- RSA key sizes: for signatures, NIST's minimum RSA modulus rose from 1,024 to 2,048 bits in 2013. As NIST notes, a device with a fixed key size then has to be replaced.
ANSSI draws a lesson from this: it took a practical attack published by researchers before vendors replaced their SHA-1 certificates, and some deprecated algorithms are still in service because they are costly to replace.
The post-quantum transition changes the scale
A sufficiently powerful quantum computer could break RSA and elliptic curves. NIST stresses that this transition is unprecedented in scope, since every public-key algorithm must be replaced, and that it will not be the last one. The new algorithms, such as ML-KEM, are also more recent, and ANSSI warns that weaknesses could still be found in them. Being able to switch a second time is part of the plan.
How to build it
1. Cryptographic inventory
It all starts with knowing where cryptography lives: protocols (TLS, VPN, SSH), certificates, libraries, hardware, purchased software, cloud services. The EU's June 2025 roadmap calls this inventory a no-regret first step and recommends a standardized format such as a CBOM (Cryptography Bill of Materials). Added to the open OWASP CycloneDX standard in April 2024, the format describes algorithms, keys, certificates and how they relate to software components. NIST recommends tooling this discovery, because a manual inventory goes stale quickly.
2. Abstracting cryptographic libraries
Applications should not call a specific, hard-coded algorithm. They should go through a shared cryptographic interface that can be configured centrally, so that changing algorithms becomes a configuration decision rather than a rewrite. ANSSI stresses consistency: making one component agile is pointless if the protocol that uses it cannot handle longer signatures.
3. Centralized certificate and key management
Scattered certificates, renewed by hand with no clear owner, are the classic obstacle to any transition. Managing the life cycle of certificates and keys centrally provides both the visibility and the leverage to replace them at scale.
4. Testing
Post-quantum algorithms produce larger keys and signatures. ANSSI recommends sizing systems for the worst case and checking that a cryptographic update does not break any function. These switches should be rehearsed in a staging environment before they are needed in an emergency.
5. Requirements in supplier contracts
Much of an organization's cryptography is bought, not built. The EU roadmap calls for an early dialogue with suppliers, for crypto-agility to be considered in procurement, and for products expected to last beyond 2030 to be upgradable to post-quantum cryptography. It also ties this requirement to the Cyber Resilience Act from December 2027. NIST, for its part, highlights how much suppliers help when they provide a complete list of the cryptographic components in their products: algorithms, protocols, libraries, certificates.
What official sources say
NIST
White paper CSWP 39, "Considerations for Achieving Crypto Agility: Strategies and Practices", was published in final form on December 19, 2025, and updated on June 29, 2026. It sets out a continuous strategic plan: build crypto-agility into existing governance and name an accountable official, inventory cryptographic use, close gaps in tooling, prioritize assets, then migrate or compensate. For assets too rigid to change, it suggests compensating controls as part of a zero trust approach.
European Union
The coordinated roadmap of June 2025 sets three post-quantum milestones: first steps and national roadmaps by the end of 2026, high-risk use cases migrated by the end of 2030 at the latest, then as many systems as feasible by 2035. It defines crypto-agility as designing protocols and systems in a modular way so their cryptographic components can be replaced, and warns against confusing it with automatic algorithm negotiation, a common source of downgrade attacks.
ANSSI
In its note "ANSSI views on crypto agility" of January 19, 2026, ANSSI asks for crypto-agility to be considered from the benefit-risk analysis of any new product. Its recommendations cover consistency across subsystems, service continuity, protecting updates with the highest-confidence signatures and strict control over which algorithms are allowed. It also warns that crypto-agility is hard to achieve and can widen the attack surface if it is implemented carelessly.
CIRG, November 2026
Crypto-agility is also at the heart of the recommendations of the Cryptography Incident Review Group, a group of independent cryptographers, after theoretical results on the lattices behind ML-KEM and ML-DSA were published on November 30, 2026. Without questioning those standards in the short term, the group recommends designing agile systems so that individual schemes can be replaced quickly if the need arises, and combining schemes with different mathematical foundations.
Standards and Specifications
NIST CSWP 39: Considerations for Achieving Crypto Agility
Final NIST white paper (December 19, 2025, updated June 29, 2026) covering agility in protocols, implementations and the governance of cryptographic risk
ANSSI views on crypto agility
Note from France's national cybersecurity agency, published January 19, 2026, for developers and architects: definition, levels of agility and six recommendations
OWASP CycloneDX: Cryptography Bill of Materials (CBOM)
Open format describing a cryptographic inventory (algorithms, keys, certificates) and its links to software components, added in CycloneDX 1.6 in April 2024
Frequently Asked Questions
What is crypto-agility?
Crypto-agility is the ability to replace or adapt the cryptographic algorithms an organization relies on without interrupting its services or rebuilding its systems. NIST defines it as the capabilities needed to do so across protocols, applications, software, hardware and infrastructure while preserving security. France's ANSSI separates two levels: changing parameters within the same family (moving to a longer RSA key, for instance) and swapping out an algorithm entirely. It is not a product you can buy but a property of your architecture and your organization, built up over time.
Where should an organization start?
With a cryptographic inventory: you cannot replace what you cannot find. That means mapping where cryptography is used (protocols, certificates, libraries, hardware, purchased products) and which algorithms and key sizes are involved. The EU's coordinated post-quantum roadmap calls this a no-regret first step and recommends a standardized format such as a CBOM. Next comes prioritization by data criticality, then a conversation with suppliers. Naming an accountable owner, as NIST suggests, keeps the inventory from becoming a one-off exercise.
How does crypto-agility relate to post-quantum cryptography?
The move to post-quantum cryptography is what made crypto-agility urgent. NIST notes that this transition is far larger than earlier ones, because every public-key algorithm (RSA, elliptic curves) has to be replaced, not just one. The new algorithms are also younger, and ANSSI points out that weaknesses could still be found in them, so being able to switch again matters. NIST adds that this will not be the last transition. A crypto-agile organization gets through this migration faster and is ready for the next one.
Does crypto-agility carry risks of its own?
Yes, when it is poorly designed. Supporting many algorithms and letting systems negotiate between them automatically invites downgrade attacks, where an attacker forces the weakest option. The EU roadmap stresses that agility must not be confused with cipher suite negotiation. ANSSI recommends tightly limiting the coexistence of valid and deprecated algorithms, banning deprecated ones from new systems and protecting configuration with authentication. Agility has to be governed, not left to whatever a handshake settles on.
Resources and Documentation
- A Coordinated Implementation Roadmap for the Transition to Post-Quantum Cryptography European Commission, NIS Cooperation Group report
- CWI and Google announce first collision for industry security standard SHA-1 CWI Amsterdam documentation
- RFC 6151: Updated Security Considerations for the MD5 Message-Digest and the HMAC-MD5 Algorithms IETF documentation
- Initial Assessment of Anthropic's Findings on Lattice Cryptography Cryptography Incident Review Group report