Skip to main content
Should You Migrate to Post-Quantum Cryptography Now?Cryptography Fundamentals
5 min readFor Payment Security Engineers

Should You Migrate to Post-Quantum Cryptography Now?

The decision isn't whether to adopt post-quantum cryptography, it's when and how. With ML-KEM and ML-DSA now available in pyca/cryptography, your payment security team faces a practical choice: start migrating encryption primitives now during the quiet period, or wait until quantum threats materialize and you're scrambling under pressure.

Here's how to decide which path fits your architecture.

The Decision You're Facing

You're choosing between three migration strategies for your payment infrastructure's cryptographic primitives:

  1. Early adoption: Integrate post-quantum algorithms into new systems and begin parallel operation in existing ones.
  2. Staged preparation: Build crypto agility into your architecture without switching primitives yet.
  3. Wait and see: Defer any action until quantum computing threats become imminent.

Each path has specific technical and compliance implications. Your choice depends on four factors: your system's cryptographic dependencies, your compliance horizon, your capacity for dual-algorithm operation, and your ability to update cryptographic implementations without architectural rewrites.

Key Factors That Affect Your Choice

Cryptographic lock-in severity. If your Key Encryption Keys (KEKs) and Data Encryption Keys (DEKs) are hardcoded to specific algorithms, you're facing a rearchitecture regardless of when you start. If you've already implemented algorithm negotiation and key rotation mechanisms, you can add post-quantum primitives without touching core infrastructure.

Cardholder Data retention periods. Any Primary Account Number (PAN) you encrypt today with RSA-2048 could be harvested now and decrypted later when quantum computers mature. If you retain encrypted cardholder data for years (dispute resolution, recurring billing, tokenization vaults), that data is at risk from harvest-now-decrypt-later attacks.

Compliance framework maturity. PCI DSS doesn't yet mandate post-quantum cryptography, but NIST SP 800-208 provides migration guidance. If you operate under frameworks that reference NIST standards broadly, you may need to demonstrate awareness of post-quantum risks in your next assessment.

Deployment velocity. Can you push cryptographic library updates to production weekly, monthly, or only during major releases? Your update cadence determines whether you can adopt incrementally or need a big-bang migration.

Path A: Early Adoption, When to Start Now

Choose this path if:

  • You're architecting new payment systems or vault infrastructure.
  • You retain encrypted cardholder data beyond three years.
  • You can run dual-algorithm operations (traditional + post-quantum) without performance penalties.
  • Your key management system supports algorithm negotiation.
  • You have automated regression testing for cryptographic operations.

Implementation approach: Add ML-KEM for key establishment alongside your existing ECDH or RSA key exchange. Use ML-DSA for digital signatures in new API authentication flows. Keep traditional algorithms active in parallel; this is crypto agility in practice.

What this requires: Update key ceremony procedures to generate both traditional and post-quantum key pairs. Your Hardware Security Modules (HSMs) may not support ML-KEM or ML-DSA yet, so you might operate post-quantum operations in software initially, then migrate to HSM-backed implementations as vendors catch up.

Compliance consideration: Document your migration timeline in your PCI DSS compensating controls worksheet if you're using software-based post-quantum operations before HSM support arrives. Explain that you're implementing NIST-standard primitives ahead of quantum threats.

Risk you're managing: Harvest-now-decrypt-later attacks. Any cardholder data encrypted today with traditional algorithms could be captured and stored until quantum computers can break the encryption. Early adoption protects future data immediately.

Path B: Staged Preparation, When to Build Agility First

Choose this path if:

  • Your current architecture is tightly coupled to specific cryptographic primitives.
  • You can't afford dual-algorithm performance overhead yet.
  • You're planning a major infrastructure refresh in the next 18 months.
  • Your HSMs don't support post-quantum algorithms and you can't operate critical keys in software.

Implementation approach: Refactor your encryption layer to abstract algorithm selection. Build key versioning into your data model so you can rotate to new algorithms without re-encrypting everything at once. Implement algorithm negotiation in your API authentication flows.

What this requires: You're not changing cryptographic primitives yet, you're removing the barriers to changing them later. Add a crypto_version field to encrypted records. Build a key derivation framework that can support multiple algorithms. Test that you can swap algorithms in development without breaking decryption of existing data.

Compliance consideration: This counts as strengthening your cryptographic architecture under PCI DSS Requirement 3.5 (protecting stored cardholder data). You're building the infrastructure needed for future algorithm migrations, which demonstrates forward-looking risk management.

Risk you're managing: Migration disruption. When post-quantum cryptography becomes mandatory (through regulation or threat landscape changes), you'll be able to adopt it without emergency rearchitecture work.

Path C: Wait and See, When Deferral Makes Sense

Choose this path only if:

  • You don't retain encrypted cardholder data (you tokenize immediately and purge PANs).
  • Your encryption is entirely for data-in-transit, not data-at-rest.
  • You operate in a highly regulated environment where unapproved algorithm changes create more risk than quantum threats.
  • You have contractual obligations to use specific FIPS 140-3 validated modules that don't yet support post-quantum primitives.

What this requires: Active monitoring of NIST post-quantum cryptography guidance and PCI SSC updates. A documented decision that you've evaluated post-quantum migration and determined the timing doesn't fit your risk profile yet.

Compliance consideration: Don't confuse "waiting" with "ignoring." If your QSA asks about quantum computing risks during your next assessment, you need a reasoned answer about why you haven't started migration. "We're waiting for HSM vendor support" is valid. "We haven't thought about it" isn't.

Risk you're accepting: You're betting that quantum computing threats won't materialize before you can react. That's reasonable for short-lived encryption (TLS sessions, temporary tokens), but dangerous for long-retention encrypted data.

Summary Matrix

Factor Early Adoption Staged Preparation Wait and See
Data retention >3 years encrypted PAN storage Mixed retention periods No long-term encrypted storage
Architecture flexibility Can run dual algorithms Need refactoring first Tightly coupled to current primitives
HSM support Can operate in software temporarily Planning hardware refresh Require FIPS validation for all operations
Compliance pressure Proactive risk management Building future capability Contractual algorithm constraints
Implementation timeline Start within 6 months 12-18 month preparation Monitor and reassess quarterly

The right answer depends on what you're protecting and how long you're protecting it. If you're encrypting cardholder data that'll sit in your vault for five years, start migrating now. If you're only encrypting API payloads that live for seconds, you have time to build agility first.

Either way, don't wait for an emergency. Crypto agility is the goal, whether you're adding post-quantum primitives today or building the architecture to add them tomorrow.

You Might Also Like