Skip to content

What is crypto agility, and why it matters now

Crypto agility is the ability to change cryptographic algorithms without redesigning the system that uses them. It matters now because post-quantum standards are settling rather than settled: parameter sets are revised, national schemes diverge, and a scheme could be weakened by cryptanalysis.

Why it is not just good practice

Agility has been recommended for years and largely ignored, because changing algorithms was a once-a-decade event that could be handled as a project when it arrived.

The post-quantum transition breaks that assumption. Standards are new, national guidance diverges, hybrid modes will be revised, and the assumption underneath lattice cryptography is younger than the assumption underneath RSA. The chance of exactly one change is low.

What it means concretely

  • Algorithm identifiers are data, not hardcoded constants scattered through a codebase.
  • Key and signature sizes are variable. Fixed-size buffers and database columns sized for elliptic-curve material are the most common blocker, and they are found late.
  • Negotiation is supported, so endpoints agree on what to use rather than assuming.
  • Cryptographic implementations are replaceable without touching application logic.
  • Hardware can be updated, which is the constraint that decides everything else — and where fixed silicon becomes a liability.

Where it usually breaks

Not in the cryptographic library, which is generally well factored. It breaks in the assumptions around it: a protocol field with a fixed width, a certificate store expecting a size, a hardware accelerator supporting one curve, an embedded device without the memory for larger keys.

These are found during migration rather than before it, which is the argument for doing the inventory first.

The hardware constraint is the real one

Software agility is a refactoring problem — expensive, tractable, and entirely within your control. Hardware agility is decided at design time by someone else, years earlier, and cannot be retrofitted.

A device whose cryptography is fixed in silicon is agile only to the extent that it can be replaced. That is why this concept turns a one-time migration into a permanent requirement on what you buy.