ARCHITECTURE // AI INFRASTRUCTURE ECONOMICS

Crypto agility

The ability to replace a cryptographic algorithm without redesigning the system. It only exists if you have used it, so the honest measure is how long a rehearsed rotation actually took.

Crypto agility is the ability to replace an algorithm without redesigning the system. It is also written cryptographic agility. It only exists if you have used it. The property matters because algorithm changes have taken far longer than planned in the past, and a break found by software may come with no warning period. A team that can move a signing key to another algorithm in a week faces a different incident from a team that needs a year.

Agility is built from ordinary engineering choices. Protocols and stored data carry an algorithm or key identifier, so that old and new can run side by side. Verifiers read their list of accepted algorithms from configuration. Keys and certificates are short-lived and renewed by automation, which makes replacement routine. Where these are missing, change is slow: NIST's paper on the subject, CSWP 39, finalized on 19 December 2025, records that the complete transition from Triple DES to AES took 23 years. The usual blockers are hard-coded algorithms, pinned keys, keys that are never rotated and devices whose verification code cannot be updated after manufacture.

Rehearse the change. Rotate one production signing key to a different algorithm this quarter, end to end, and time it. Whatever that number is, it is your real response time. A workable pattern for login tokens is to publish the new key next to the old one, wait at least one cache lifetime, switch signing, and remove the old key once the longest-lived token has expired. Then shorten lifetimes so that the next change is routine. Browser-trusted certificates will be limited to 47 days from March 2029, which forces the automation that an algorithm change needs.

Frequently asked questions

What is crypto agility?

Crypto agility is the ability to replace a cryptographic algorithm without redesigning the system that uses it. In practice it means algorithm identifiers in protocols and stored data, accepted algorithms set in configuration, short-lived keys renewed by automation, and a current inventory. It only exists if the replacement has been carried out at least once.

How do you measure crypto agility?

By timing a real change. Rotate one production signing key to a different algorithm, end to end, including every verifier that has to accept the new key, and record how long it took. That duration is the organization's real response time to a broken algorithm. A design document cannot supply it.

Why do algorithm migrations take so long?

Because the algorithm is usually fixed in places that are hard to change: hard-coded in applications, pinned in clients, or built into devices that cannot be updated. NIST's CSWP 39 records that the transition from Triple DES to AES took 23 years, and that SHA-1, shown to be weaker than designed in 2005, is due to be retired by the end of 2030.

Source analyses

READ THE FULL ARGUMENT
Rehearse the change (fifth principle of post-AI cryptography)
READ THE FULL ARGUMENT
The RSA break playbook: first hour, week, quarter and year

References

Related terms

GLOSSARY
Cryptographic inventory
GLOSSARY
RS256 and JWT signing keys
GLOSSARY
Mosca's inequality
Michał Piszczek
Michał Piszczek
CEO / CTO / FOUNDER

Term defined and maintained by Michał Piszczek - CTO of Archdesk, author of the Joule Wars and Proof-Adjusted Autonomy frameworks. Quote freely with attribution to piszczek.pl/glossary (CC BY 4.0).