Skip to content

Pillar 1 — Crypto-Agility

Audience: Enterprise Architects, security architects, PQC migration leads

Reading time: 12 minutes

Prerequisites: CAPA framework overview


Definition

Crypto-Agility is the ability to transition between cryptographic algorithms and mechanisms without requiring extensive modification of application code.

This capability allows organizations to respond rapidly to algorithmic vulnerabilities, regulatory changes, and emerging cryptographic standards. In the context of post-quantum migration, crypto-agility enables enterprises to transition from classical cryptographic algorithms to quantum-resistant alternatives while maintaining operational continuity.


Why this matters

Cryptography used to evolve slowly. Algorithms standardized in the 1990s remained viable for decades. Organizations could deploy cryptographic systems with the expectation that they would remain stable for years.

That assumption is no longer safe.

flowchart LR
    PAST["📜 Past<br/><br/>Algorithm transitions:<br/>once a decade"]
    PRESENT["⚡ Present<br/><br/>Multiple algorithm families,<br/>hybrid coexistence,<br/>continuous standard updates"]
    FUTURE["🔮 Future<br/><br/>Continuous cryptographic<br/>evolution as standard practice"]

    PAST --> PRESENT --> FUTURE

    style PAST fill:#fdebd0,stroke:#d68910
    style PRESENT fill:#d6eaf8,stroke:#2980b9
    style FUTURE fill:#d5f5e3,stroke:#1e8449,stroke-width:2px

The current cryptographic landscape is characterized by:

  • Multiple competing post-quantum algorithm families
  • Hybrid (classical + PQC) deployment requirements
  • Evolving regulatory mandates
  • Increased lifecycle management complexity
  • Long-term cryptographic resilience planning

This environment is incompatible with embedded cryptography. Crypto-agility is the capability that bridges this gap.


The structural problem crypto-agility solves

In the embedded cryptography model, an algorithm is code. Migrating from one algorithm to another — whether to a stronger classical alternative, a hybrid scheme, or a fully post-quantum mechanism — requires modifying the application itself.

flowchart TB
    subgraph EMBEDDED["❌ Without crypto-agility"]
        E1["RSA-2048 hardcoded<br/>in 200 services"]
        E2["Vulnerability disclosed"]
        E3["Engineering project<br/>across all 200 services"]
        E4["Coordinated redeployment"]
        E5["Months of effort"]
        E1 --> E2 --> E3 --> E4 --> E5
    end

    subgraph AGILE["✅ With crypto-agility"]
        A1["Algorithm referenced<br/>by Key ID, not name"]
        A2["Vulnerability disclosed"]
        A3["Policy update changes<br/>active algorithm"]
        A4["All 200 services<br/>reflect change immediately"]
        A5["Hours of effort"]
        A1 --> A2 --> A3 --> A4 --> A5
    end

    style EMBEDDED fill:#fadbd8,stroke:#c0392b
    style AGILE fill:#d5f5e3,stroke:#1e8449

In practice, organizations operating in the embedded model rarely execute proactive algorithm migrations. They defer them until vulnerabilities become critical and the cost of inaction exceeds the cost of disruption. This is not a discipline failure — it is the rational response to a structural constraint.


How a control plane provides crypto-agility

Under a Cryptographic Control Plane architecture, the algorithm is no longer in the application. It is in the policy.

flowchart LR
    APP["Application<br/><i>references key by ID</i>"]
    CCP["Cryptographic<br/>Control Plane"]
    POL["Active policy<br/><i>maps Key ID → algorithm</i>"]
    ALGCAT["Algorithm catalog"]

    APP -->|"sign with key K"| CCP
    POL --> CCP
    CCP --> ALGCAT
    ALGCAT -.->|"current binding for K:<br/>ML-DSA-87"| CCP
    CCP -.->|"signature"| APP

    style APP fill:#fdebd0,stroke:#d68910
    style CCP fill:#85c1e9,stroke:#1a5276,stroke-width:3px
    style POL fill:#fadbd8,stroke:#c0392b
    style ALGCAT fill:#d5f5e3,stroke:#1e8449

When the policy changes — for example, when the binding for Key K transitions from RSA-PSS to ML-DSA-87 — every system governed by the control plane reflects that change immediately, without modification or redeployment. An algorithm transition that previously required months of engineering effort becomes an infrastructure governance event measured in hours.

This capability is not incidental to the platform. It is the primary value of the control plane model.


How ANKASecure© implements crypto-agility

Mechanism What it provides
Stable Key Identifier (KID) Applications reference cryptographic intent through a stable identifier rather than an algorithm
Algorithm catalog A platform-managed catalog of available algorithms (classical, PQC, hybrid) — currently 125+ algorithms across 21+ families
Policy resolution At runtime, the platform resolves Key IDs to active algorithms based on policy
Hybrid coexistence Multiple algorithms can coexist for the same KID during a transition window
Streaming re-encryption Existing data encrypted under old algorithms can be migrated to new algorithms without application participation
Versioned key material Multiple algorithm versions of the same KID can be active simultaneously, supporting graceful transitions

For deeper coverage of the technical mechanisms, see:


Crypto-agility for post-quantum migration

The post-quantum transition is the most immediate and most demanding application of crypto-agility. The migration from RSA, Diffie–Hellman, and ECC to ML-KEM, ML-DSA, SLH-DSA, and Falcon is not a single algorithm swap — it is a sustained, multi-year transition.

What crypto-agility provides for PQC

Need Crypto-agility capability
Hybrid (classical + PQC) coexistence Multiple algorithms active simultaneously per KID
Algorithm activation by policy New PQC algorithms activated through policy update
Algorithm deactivation by policy Deprecated algorithms removed without code change
Standard updates New revisions of post-quantum standards integrated into the catalog without affecting consumers
Vulnerability response Algorithm rollback in hours when new analyses are published

The pace of PQC evolution

Post-quantum standards are still maturing. Algorithm families standardized today may be revised, supplemented, or in some cases deprecated as the cryptanalytic community gains experience with them.

flowchart TB
    NIST["📋 NIST publishes<br/>FIPS 203/204/205"]
    ANALYSIS["🔬 Cryptanalytic<br/>research evolves"]
    UPDATES["📝 Standards revised,<br/>supplemented, deprecated"]
    REGULATORY["📜 Regulatory<br/>frameworks updated"]

    NIST --> ANALYSIS --> UPDATES --> REGULATORY
    REGULATORY --> NIST

    AGILE["🔄 Crypto-agile<br/>organization adapts<br/>through policy updates"]

    UPDATES -.->|"hours / weeks"| AGILE
    REGULATORY -.->|"hours / weeks"| AGILE

    style NIST fill:#fdebd0,stroke:#d68910
    style ANALYSIS fill:#d6eaf8,stroke:#2980b9
    style UPDATES fill:#fadbd8,stroke:#c0392b
    style REGULATORY fill:#e8daef,stroke:#7d3c98
    style AGILE fill:#d5f5e3,stroke:#1e8449,stroke-width:3px

Organizations without crypto-agility face the same distributed engineering response with each change. Organizations with it absorb continuous evolution as routine operation.


What crypto-agility looks like at each maturity level

Maturity level State of crypto-agility
Level 1 — Embedded Absent. Each algorithm change is an engineering project per application
Level 2 — Managed keys Partial — only at the key storage level. Algorithm selection still hardcoded
Level 3 — Control Plane Full agility for governed (greenfield) systems. Brownfield migration in progress
Level 4 — Cryptographic Agility Critical and high-risk systems all governed; agility extends to most of the brownfield estate
Level 5 — Optimized Universal. Algorithm changes are routine policy updates across the entire enterprise

For the full maturity treatment, see The Cryptographic Maturity Model.


Operational outcomes

When crypto-agility is operational, several outcomes that are unattainable in the embedded model become routine:

Outcome What it means
Vulnerability response in hours Algorithm deprecation propagates through policy across the full landscape
Standards adoption in weeks New cryptographic standards integrate by adding to the catalog and updating policy
Hybrid PQC deployment Classical and post-quantum algorithms operate side by side during the multi-year migration
Regional algorithm differentiation Different regulatory regions can enforce different algorithm catalogs through policy scope
Deprecated algorithm removal Old algorithms are decommissioned by policy, not by code change

How crypto-agility composes with the other CAPA pillars

Crypto-agility does not stand alone. It composes with the other CAPA pillars to produce the full operational capability of a control plane.

Combined with Produces
Frictionless Modernization Algorithm transitions become routine operations rather than engineering projects
Policy-Driven Governance Algorithm choices are enforced consistently rather than left to individual teams
Regulatory Compliance Compliance with evolving cryptographic mandates is maintained through policy updates
Cryptographic Sovereignty Algorithm choices in third-party exchanges are governed by the data owner, not the counterparty

Summary

Crypto-agility transforms cryptographic change from an engineering project into a governance event. Algorithm migrations that previously required months become operations measured in hours.

This is the primary value of the Cryptographic Control Plane model. Without crypto-agility, the post-quantum transition is unmanageable at enterprise scale. With it, continuous cryptographic evolution becomes a standard mode of operation.