What is cryptographic debt?

Cryptographic debt is the accumulated cost of outdated or hard-coded cryptography that must be fixed later. It is used to describe the migration backlog that builds when algorithms are embedded in systems without a plan to replace them.

On this page

What is cryptographic debt, and why does it matter for a post-quantum migration?

Cryptographic debt is the accumulated cost of outdated or hard-coded cryptography that must be fixed later. Engineering leads often meet the term when a migration inventory turns up algorithms baked into source code, firmware, appliance configuration or legacy protocol settings that nobody planned to change. Architects, program owners and security leads use it in roadmaps, cryptographic inventories and readiness reviews to describe the work that sits between where a system is today and where a post-quantum migration needs it to be. The term is descriptive rather than defined by a standard, and the sources listed on this page do not define it, so teams should agree on a local definition and record it in their program documents.

The practical question for a migration plan is what the debt consists of and who owns the fix. A hard-coded key exchange in a vendor appliance, a certificate profile fixed in a deployment template, or a library pinned to an old version can each require a different owner, a different test effort and a different change window. Teams should list each item in the inventory with its location, its owner, whether it can be reconfigured or must be replaced, and whether the vendor has published a post-quantum upgrade path. The sources listed on this page do not give a cost or effort figure for this work, so the reader should ask vendors and internal owners for estimates tied to specific components rather than relying on a general number.

Where cryptographic debt shows up in a migration

Cryptographic debt rarely appears under its own name. It surfaces as gaps in the records, plans, vendor answers and reviews that a migration depends on. The four places below are where engineering leads are most likely to find it, and where a gap found early costs least to fix.

Cryptographic inventories

An inventory records where an organization uses cryptography, which algorithms, key sizes and protocols each system relies on, and who owns it. Debt shows up here as systems missing from the inventory, algorithms hard-coded into applications instead of set in configuration, and entries that were never updated after a change. Check whether each entry names the algorithm and the component that negotiates it, not only the application. CISA, NSA and NIST's 2023 factsheet recommends preparing a cryptographic inventory as a first step, so this is the usual starting point for finding debt.

CISA quantum-readiness factsheet

Migration roadmaps

A roadmap sequences what moves and when. Debt appears as dates that depend on systems no one has upgraded yet, or as milestones set before discovery is finished. The UK NCSC's timelines guidance sets 2028 for discovery and assessment, 2031 for the highest priority migration activities and 2035 for completion, so a roadmap should show where each system sits against those milestones. Check that every system on the inventory has an owner, a target and a dependency noted.

NCSC PQC timelines

Vendor questionnaires

Buyers ask vendors which post-quantum algorithms their products support, how keys can be rotated and what the upgrade path looks like. Debt appears in the answers: products with algorithms fixed in firmware, no stated roadmap, or answers that describe one component while the product uses another. Ask vendors to name the version and component each answer applies to, and to say when an algorithm is set in configuration rather than code. Do not treat a vendor's statement of support as confirmation that two products interoperate until the versions are checked.

Readiness reviews

A readiness review tests whether the organization can actually migrate, looking at exposure, skills, change capacity and dependencies. Debt appears as systems that cannot be upgraded without replacing hardware, or upgrades blocked by a contract or an unpatched legacy component. The review should record each blocker with an owner and say whether the system will be isolated, replaced or upgraded. Use the same inventory as the source of truth so the review and the roadmap do not disagree.

How cryptographic debt builds up in systems

Cryptographic debt rarely starts as a decision. It builds up when cryptography is treated as a fixed property of a system instead of a setting that can change. Algorithms get hard-coded directly into application code, so a service that calls a specific key exchange or signature routine has to be edited, rebuilt and redeployed before anything else can change. Certificate lifetimes, RSA key lengths and elliptic curve choices get fixed in configuration files, load balancer profiles, VPN gateways and device images, often by a team that has since moved on. Libraries get pinned to old versions to protect a stable build, so the newer library that supports a stronger or post-quantum algorithm sits unused behind a version constraint nobody revisits. Each of these choices was reasonable when made. Together they form the backlog that a migration has to clear.

The joint CISA, NSA and NIST factsheet Quantum-Readiness: Migration to Post-Quantum Cryptography treats the first step of reducing this debt as building a cryptographic inventory, and it asks organizations to assess supply chain considerations alongside it. In practice, the inventory should record each place an algorithm, key length or certificate is set, including the component that owns the setting and whether it can be changed without a code release. Supply chain review then covers the vendor products and open-source components that carry cryptography on your behalf, because a fixed setting inside a purchased appliance or a pinned dependency is debt you inherit rather than create. Ask each vendor which algorithms their products use, whether they are configurable, and when they plan to offer post-quantum options. The factsheet is available at the CISA quantum-readiness factsheet.

The practical measure of debt is how much work a change would take, not how old the algorithm is. A system with cryptography in a single configuration file and a crypto library behind a clear interface carries little debt, even if its current algorithms are classical. A system where the algorithm is spread across dozens of hard-coded call sites, with no record of which teams own them, carries a lot. Crypto agility, meaning the ability to swap algorithms by changing configuration rather than code, is the main way to stop new debt from forming. Teams planning a migration should confirm with their own platform and vendors how each setting is changed and tested in their environment, since the sources listed here do not describe the update path for any specific product.

Names and related terms the sources use

This table lists the names practitioners use for cryptographic debt and the standards that define the replacement algorithms. Use it to match a term in a vendor document or audit request to the standard that governs the algorithm. The sources listed on this page do not give a standard number for cryptographic debt itself.

Name or standardWhat it refers toWhere to check
Cryptographic debtThe accumulated cost of outdated or hard-coded cryptography that must be fixed later. Used in informal discussion; the sources on this page do not define it in a standard.Your own cryptographic inventory and migration backlog
Crypto debt (informal phrasing)A shorter phrasing for the same idea, seen in informal discussion. Treat it as a synonym, not a defined term.Confirm with the author or vendor which meaning they intend
FIPS 203 (ML-KEM)Module-Lattice-Based Key-Encapsulation Mechanism, based on CRYSTALS-Kyber, finalized by NIST on 13 August 2024. Used for key establishment.NIST 2024 PQC standards release
FIPS 204 (ML-DSA)Module-Lattice-Based Digital Signature Algorithm, based on CRYSTALS-Dilithium, finalized by NIST on 13 August 2024. Used for digital signatures.NIST 2024 PQC standards release
FIPS 205 (SLH-DSA)Stateless Hash-Based Digital Signature Algorithm, based on SPHINCS+, finalized by NIST on 13 August 2024. Used for digital signatures.NIST 2024 PQC standards release
NIST IR 8547Transition to Post-Quantum Cryptography Standards, a final report published 27 October 2026 (DOI 10.6028/NIST.IR.8547). Describes NIST's approach to moving to post-quantum schemes.NIST IR 8547 record

What the official timelines say about paying down debt

Cryptographic debt becomes a schedule problem once official timelines are set. On 13 August 2024, NIST announced the finalized FIPS 203 (ML-KEM, based on CRYSTALS-Kyber), FIPS 204 (ML-DSA, based on CRYSTALS-Dilithium) and FIPS 205 (SLH-DSA, based on SPHINCS+). These are the post-quantum standards that a migration replaces the quantum-vulnerable algorithms with. NIST IR 8547, Transition to Post-Quantum Cryptography Standards, describes NIST's approach to moving from quantum-vulnerable key establishment and digital signature schemes to post-quantum ones. Its initial public draft is dated 12 November 2024, and the final report is dated 27 October 2026 (DOI 10.6028/NIST.IR.8547). Confirm the version you are working from before quoting it in a plan. The UK NCSC's Timelines for migration to post-quantum cryptography (version 1.0, 20 March 2025) sets milestones of 2028 to complete discovery and assessment, 2031 to complete the highest priority migration activities, and 2035 to complete migration. These milestones are NCSC's, aimed at UK organizations and the bodies it advises.

Executive Order 14412 sets the deadlines for US federal agencies and covered contractors, not commercial organizations in general. Section 4(b) directs agencies to move high-value assets and high impact systems to post-quantum key establishment by 31 December 2030, and to post-quantum digital signatures by 31 December 2031. Section 6(c) directs the FAR Council to publish a proposed rule requiring covered contractors to comply with NIST's FIPS, including the post-quantum algorithm standards, by 31 December 2030. Commercial organizations can use these dates as a reference point for their own debt payoff, but they do not bind them unless a federal contract or agency requirement says so. Contractors should check with their contracting officer which systems fall under the rule once it is final.

For debt planning, the practical question is which of your hard-coded or outdated cryptographic components sit inside these scopes and how much work each one carries. Build your payoff schedule backward from the earliest date that applies to you, then confirm each date against the current text of the document or order, since timelines can be revised. The CISA quantum-readiness factsheet, published 21 August 2023, recommends building a Quantum-Readiness Roadmap, preparing a cryptographic inventory, and engaging technology vendors about post-quantum support, all of which feed into how fast debt can be paid down.

How debt moves from inventory to retirement

The path starts when an inventory finds cryptography hard-coded in an application, library or device configuration. Each finding is then ranked by exposure and data lifetime, which sets its place in the migration plan. The planned fix replaces the algorithm, and the legacy item is retired only after the replacement is confirmed in place. Check at each hand-off that the record in the inventory has been updated, so the debt is actually closed and not just moved to another list.

Hard-coded cryptography moves through inventory, ranking, planning and retirement.

How to find and reduce cryptographic debt in your environment

This sequence moves from finding every place your organization uses cryptography to scheduling fixes against vendor roadmaps and confirming them afterward. The end result is a dated, owned register of cryptographic debt that engineering and governance teams can track and reduce.

  1. Build a cryptographic inventory

    The engineering lead assigns teams to list every place cryptography is used, including applications, libraries, TLS endpoints, certificates, VPNs, code signing, and vendor products that handle encrypted data. The CISA, NSA and NIST factsheet of 21 August 2023 recommends preparing a cryptographic inventory as an early step of a quantum-readiness roadmap. This step is done when each system with cryptography has a row in one register, and teams confirm the list by checking it against network scans, certificate stores and dependency manifests.

  2. Flag hard-coded algorithms and fixed key lengths

    Engineers review the inventory and mark each entry where an algorithm, curve, or key size is written into source code, configuration or firmware and cannot be changed without a code release or device update. These fixed choices are the core of cryptographic debt because they block replacement later. The step is complete when every flagged entry shows the file, component or device where the value lives, so the team can see which changes need a rebuild rather than a configuration edit.

  3. Record owners and data lifetime

    For each flagged entry, the engineering lead records a named owner, the business system it supports, and how long the protected data must stay confidential. Data lifetime is a key input to priority, so teams should ask data owners for their retention and confidentiality periods instead of guessing. The step is done when every row has an owner who can approve changes and a documented lifetime estimate, or an explicit note that the lifetime is still unknown and needs an owner decision.

  4. Check vendor roadmaps for post-quantum support

    For each vendor product in the register, the team reviews the vendor's published documentation and roadmap to see whether post-quantum algorithms are supported, planned, or not yet announced. The team should also contact the vendor and ask for written answers on supported algorithms, supported versions and migration paths. The step is complete when each vendor entry records the vendor's stated position, its source document and the date it was checked. Where the vendor has published nothing, the register should say so.

  5. Confirm the versions in use

    The team checks the exact software, library, firmware and product versions running in each environment, because support often depends on the version and edition rather than the product name. Engineers gather these from package managers, asset tools, configuration exports and certificate chains, and compare them with the vendor's version notes. The step is done when every register row lists the running version and the team has noted any version that the vendor documentation does not cover for post-quantum support.

  6. Schedule upgrades against the roadmap

    The engineering lead ranks the remaining debt by data lifetime, exposure and the effort needed to upgrade, then sets upgrade sequences that follow the vendor roadmap and the organization's own migration plan. Where a vendor has not announced support, the register should record a fallback such as isolation, replacement or a documented risk acceptance. The output is a schedule with one owner per item, linked to the roadmap and to the planning milestones of the organization's program, such as those in UK NCSC guidance of 20 March 2025.

  7. Retest after each change

    After each upgrade, the team reruns the relevant checks: confirms the new algorithm or version is active on the live endpoint, verifies certificates and key lengths, and tests that dependent systems still connect. Retesting also updates the inventory so that the register reflects the current state rather than the state at the start of the program. The step is complete when the register row is updated with the test result, the date and the name of the person who verified the change.

What cryptographic debt is not

Cryptographic debt is easy to misread because the phrase sounds like a product, a score or a general engineering problem. Each card below separates the term from a nearby idea, so teams know what to inventory, what to fix and what evidence to ask a vendor for.

Not a vendor product or certification

Cryptographic debt is not something a vendor sells, installs or certifies. It is the accumulated cost of cryptography that is outdated, hard-coded or tied to algorithms that must be replaced, and it lives in your own systems: TLS settings, certificates, key stores, libraries and embedded code. A vendor can help you pay it down, but no product removes it on its own. When you evaluate a tool, ask which parts of your inventory it finds and which it leaves for you to fix, and ask for the version and configuration the claim applies to. Nothing in the sources listed on this page describes a vendor product that clears this debt for a customer.

CISA factsheet

Not a fixed-severity defect

Cryptographic debt is not a single defect with a fixed severity score that you can close once. It varies by system, data and timing: a long-lived confidential record behind an outdated key exchange carries more weight than a short-lived internal token. Scoring it as one number hides that spread. Use the inventory to tag each item by what it protects, how long that data must stay confidential and how hard the change is to make, then rank the items. Ask any assessor how they weigh exposure, and whether their scores are tied to a specific data lifetime rather than a general rating.

NCSC timelines

Not the same as technical debt

Cryptographic debt is a narrower idea than technical debt in general. Technical debt covers any shortcut that slows future change, such as messy code or missing tests. Cryptographic debt covers only the cryptographic choices that will need replacing when algorithms change: hard-coded algorithm names, fixed key sizes, protocols that cannot negotiate a new algorithm and certificates issued under old assumptions. That narrower scope matters for planning, because it points to the inventory and agility work rather than to a general refactor. When someone reports a debt figure, ask whether it counts only cryptographic items and which systems it includes.

NIST IR 8547

A quantum safe claim does not clear it

A vendor statement that a product is quantum safe does not clear your cryptographic debt. The claim describes the vendor's product in a particular configuration, not your environment, your certificates or your data. It may cover one algorithm, one component or one deployment mode, and it may depend on settings you control. Treat the claim as a starting point for verification. Ask which named standards and versions it refers to, which components it covers, and what you must configure yourself. The sources listed on this page do not say that any product is quantum safe, and no validation in them should be read as clearing debt in a given estate.

EO 14412 text

Questions people ask about cryptographic debt

What does cryptographic debt stand for?

Cryptographic debt is the accumulated cost of cryptography that is outdated, hard-coded or spread across systems in ways that make it expensive to change later. The term borrows the idea from software engineering, where shortcuts taken today must be repaid as extra work in the future. In a post-quantum context, the debt is the work a team must do to replace algorithms that are expected to be vulnerable to quantum attacks, including the work of finding every place those algorithms are used. The debt grows when algorithms are embedded in code, configuration, certificates or hardware that were never designed to be swapped. The more places cryptography is fixed in place, the more it costs to repay when migration begins.

Is cryptographic debt a standard term?

Cryptographic debt is a descriptive term used in industry discussion rather than a term defined in a NIST standard or federal regulation. The standards and guidance that govern the underlying work are the ones to cite: NIST's FIPS 203, FIPS 204 and FIPS 205 define the finalized post-quantum algorithms, and NIST IR 8547 describes the transition from quantum-vulnerable algorithms. If a vendor or auditor uses the term, ask them to define it in their own documentation so both sides work from the same meaning. Do not assume the term carries a regulatory definition or a required measurement method.

Do our existing products carry cryptographic debt?

Most products that use public-key cryptography carry some debt, because they rely on algorithms that are not post-quantum. The amount depends on how each product selects, configures and updates its algorithms. A product that lets you choose key exchange and signature algorithms through configuration carries less debt than one that hard-codes them into compiled code or firmware. To find out, ask each vendor which algorithms their product uses for key exchange, signatures and certificates, which versions support post-quantum options, and whether those options are enabled by default. Your own cryptographic inventory is the best source for mapping this across your estate.

What does cryptographic debt change for our migration plan?

Debt changes the order and effort of migration more than its goal. Systems with little debt can often move by updating configuration or a library version, while systems with heavy debt may need code changes, new hardware, or replacement. Debt also affects timing, because the work to repay it has to fit into existing change windows and vendor release cycles. Migration planning should therefore record which systems have high debt, what is blocking their change, and which ones depend on a vendor action. The UK NCSC's timelines guidance sets milestones of 2028 for discovery and assessment, 2031 for the highest priority migration activities and 2035 for completing migration, which can help you set internal targets against that work.

How much does it cost to repay cryptographic debt?

The cost depends on how many systems are affected, how tightly their cryptography is coupled to other components, and whether a vendor update is needed before you can act. Costs fall into a few groups: the inventory and discovery work, the engineering time to change code or configuration, the testing and rollout effort, the vendor upgrades or replacements, and the ongoing maintenance of the new setup. Inventory and testing are often one-time costs, while agility work and certificate management recur. When you request a quote, ask the provider to separate these components, state which items depend on vendor releases, and show what is one-time versus recurring. Do not accept a figure that does not break down the work.

What should we ask a vendor about their cryptographic debt?

Ask a vendor which post-quantum algorithms their product supports, which versions include them, and whether those options are on by default. Ask how algorithms are configured, whether they can be swapped without code changes, and whether there is a published timeline for their post-quantum support. Ask what they have documented about the transition, and whether they have a roadmap for dropping quantum-vulnerable algorithms. The CISA, NSA and NIST factsheet on quantum-readiness recommends engaging technology vendors on post-quantum cryptography, so these questions follow that guidance. Request the answers in writing and confirm the specific versions you run.

Can we reduce cryptographic debt ourselves?

You can reduce debt in-house if your team has the time, the access to your systems and the skills to change cryptographic configuration safely. Start with the cryptographic inventory, since you cannot repay debt you have not mapped. Then move systems that allow configuration changes first, and leave hard-coded or vendor-controlled systems for later, once you have a vendor response. Where the work spans many systems or requires specialist testing, an external partner can take part of it under a written scope. DeployOpen plans, implements and documents self-hosted open-source platforms within a client's own infrastructure, and supports security testing and compliance readiness, but it does not provide vendor products or issue certifications.

How DeployOpen works on this

DeployOpen works with your team to find where outdated or hard-coded cryptography sits across your systems, then plans and carries out the fixes in your own infrastructure. Each engagement is fixed-scope, with deliverables agreed in writing before work starts, and the output is documentation your engineers and auditors can review.

How we scope

  • We agree in writing which systems, services and cryptographic components are included in the debt review.
  • We record which algorithms, key lengths and certificate types each in-scope system depends on today.
  • We confirm with you which upgrades are blocked by vendor support, hard-coded keys or legacy protocol versions.

How we build

  • We plan and implement configuration changes, library upgrades and key rotation within your own cloud, data center or air-gapped network.
  • We test each change for compatibility with your existing clients, certificates and integrations before it reaches production.
  • We isolate systems that cannot yet be upgraded and document the compensating controls applied to them.

How we hand over

  • We deliver a documented inventory of remaining cryptographic debt, ranked by the items agreed in your written scope.
  • We provide runbooks, configuration records and test evidence that your security and compliance teams can review directly.
  • We walk your engineers through the handover so they can maintain and extend the changes after the engagement ends.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer after the initial engagement closes.
  • A retainer can cover re-checking the cryptographic inventory as new systems are added or vendor versions change.
  • Ask us to confirm the support scope and response arrangements in writing before the retainer begins.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.