NSA and Post-Quantum Cryptography: Why Now?

You have sent sensitive data believing that today's encryption would shield your information forever. The sense of security when you see the green padlock in your browser or when you configure an SSH key is comforting, but there is a silent threat on the horizon that could turn that secret into an open book in the future. The question that arises is: why is the NSA warning about post-quantum cryptography now, if quantum computers capable of breaking everything don't even exist yet? The answer lies less in today's technology and more in the longevity of the data you generate today.

The U.S. National Security Agency (NSA) recently issued a statement that caught many people off guard, recommending an immediate transition to post-quantum cryptographic algorithms. The notice doesn't say the sky is falling tomorrow, but that preparation time is long. For those working with infrastructure, as I do maintaining local Linux servers and handling system integrations, knowing about these changes in advance is vital to avoid emergency refactors years down the line. The recommendation is clear: start replacing vulnerable algorithms (like RSA and ECC) with quantum-resistant alternatives as soon as possible, especially in systems with long lifecycles.

The real threat lies in the theoretical capability of quantum computers to solve the mathematical problems that underpin current asymmetric cryptography. Algorithms like RSA rely on the difficulty of factoring large numbers, something classical computers take eons to do. A sufficiently powerful quantum computer, using Shor's algorithm, could do it in hours. However, we're not there yet. The necessary hardware is still in experimental stages. The danger is underestimating the speed of scientific progress; what seems like science fiction today could be operational reality before the end of the decade.

This is where the concept of "harvest now, decrypt later" comes in. Malicious actors may be intercepting and storing encrypted traffic today, even if they can't read any of it. The logic is insidious: they hold onto your data, wait for quantum technology to mature, and then apply the break to that historical archive. If the data you protect today still holds confidential value in 10 or 15 years, state secrets, intellectual property, or sensitive personal data, it's already compromised, even if the key seems secure right now.

For developers and companies, the immediate action isn't to scrap everything and buy "quantum-ready" solutions with dubious marketing. The rational step is to inventory where cryptography is used across your systems. In projects I maintain, I see how easy it is to lose track of legacy libraries that depend on older versions of OpenSSL or TLS. The path forward is to follow NIST (National Institute of Standards and Technology) standards, which have already selected candidate algorithms for post-quantum cryptography, such as CRYSTALS-Kyber for key exchange. Planning the migration involves testing these new algorithms in staging environments and ensuring your infrastructure can handle the additional computational load, which tends to be higher.

While the industry adapts, the code we write today still relies on these legacy standards, as in this Python example using the cryptography library:

from cryptography.hazmat.primitives.asymmetric import rsa, padding
from cryptography.hazmat.primitives import hashes

# Generating an RSA key pair (vulnerable to quantum computers)
private_key = rsa.generate_private_key(
    public_exponent=65537,
    key_size=2048,
)
public_key = private_key.public_key()

# In the future, post-quantum algorithms like Kyber would replace this logic
message = b"Sensitive data that needs to last for decades"
ciphertext = public_key.encrypt(
    message,
    padding.OAEP(
        mgf=padding.MGF1(algorithm=hashes.SHA256()),
        algorithm=hashes.SHA256(),
        label=None
    )
)

NSA post-quantum cryptography: why now? (FAQ)

Article map
Article steps, in the order the reader will encounter each idea.

What is post-quantum cryptography? It is a set of cryptographic algorithms designed to run on classical computers (like your PC or current server) but that are secure against attacks from quantum computers. They do not rely on prime factorization or discrete logarithms, which are the weak points exploited by quantum computing.

Did the NSA say quantum computers already break cryptography? No. The alert is preventive. The NSA acknowledges that no quantum computer capable of breaking current cryptography exists today, but the time needed to migrate critical national security systems is long. If they wait until quantum technology becomes a reality, it will be too late to protect the data being transmitted right now.

Who needs to act first? Organizations that handle long-lived, high-value data are the primary target, such as governments, financial institutions, and critical infrastructure. However, the alert serves as a warning for the software industry as a whole: adopting new standards takes years, and the learning curve for developers must begin now.

The transition to post-quantum cryptography is not a problem you solve with a magic command or a library update. It is a paradigm shift that affects everything from signing a TLS certificate to how we store passwords in a database. In my daily work, dealing with integrations between retail and e-commerce systems, I see how complexity grows when you need to maintain compatibility between different versions of protocols and data formats. Now imagine that complexity multiplied by decades of critical infrastructure.

The first practical step is to take inventory. Catalog all systems that use cryptography, identify which algorithms are in use, and classify them by criticality. You'll be surprised by how many legacy systems still rely on RSA or ECC. The NSA recommends that organizations start this inventory immediately, not because a quantum attack is imminent, but because migration is a long process that involves planning, testing, and coordination across teams.

After the inventory comes migration planning. The new standards already exist: NIST finalized the post-quantum algorithms in 2024, with ML-KEM (formerly CRYSTALS-Kyber) for key exchange and ML-DSA (formerly CRYSTALS-Dilithium) for digital signatures. Most modern cryptographic libraries, such as OpenSSL and BoringSSL, already support these algorithms in recent versions. The challenge isn't implementation but interoperability: you need to ensure legacy systems keep working while the transition takes place.

In my case, when I worked with OSPOS, an open-source point-of-sale system, I learned that infrastructure migrations are rarely a single event. They're incremental processes, with periods of coexistence between the old and the new. Post-quantum cryptography will follow the same path: we'll have hybrid modes, where classical and quantum algorithms operate together, until the old ones are fully retired.

For software developers, the recommendation is to start getting familiar with the new APIs and libraries. OpenSSL has offered support for post-quantum algorithms since version 3.5, and Google's BoringSSL does too. If you use Python, the cryptography library already has implementations of ML-KEM and ML-DSA. Testing these algorithms in personal projects, even small ones, helps you understand the differences in performance and key size compared to classical methods.

What exactly did the NSA recommend?

Quick summary
Central theme and keywords of this post.

The NSA published a statement in 2025 calling for an immediate transition to post-quantum cryptography. The alert isn't about a threat that already exists, but about the time window needed to protect data with a long shelf life. Classified or sensitive data transmitted today could be intercepted and stored by malicious actors, only to be decrypted once quantum technology becomes available. The NSA recommends that systems protecting national security information begin the migration now, with critical infrastructure as the top priority.

What is post-quantum cryptography?

It is a set of cryptographic algorithms designed to be secure against attacks from quantum computers. Current methods, such as RSA and ECC, rely on the difficulty of factoring large numbers or solving discrete logarithms, problems that quantum computers could solve exponentially faster using Shor's algorithm. Post-quantum cryptography uses different mathematical problems, such as Euclidean lattices, which do not have the same type of vulnerability.

Did the NSA say quantum computers already break encryption?

No. The NSA acknowledges that no quantum computer capable of breaking current encryption exists today, but the time required to migrate critical national security systems is long. If they wait until quantum technology becomes a reality, it will be too late to protect the data being transmitted right now.

Who needs to act first?

Organizations that handle long-lived, high-value data are the primary targets, such as governments, financial institutions, and critical infrastructure. However, the warning serves as a heads-up for the software industry as a whole: adopting new standards takes years, and the learning curve for developers needs to start now.

Practical Takeaways

  • Inventory your cryptography: map all systems that use RSA, ECC, or other classical algorithms and classify them by criticality.
  • Follow the official standards: NIST has already published the final post-quantum algorithms; use them as your reference.
  • Test on small projects: try ML-KEM and ML-DSA in personal projects to understand the differences in performance and integration.
  • Plan for hybrid modes: the migration won't be a single event, but a gradual process with algorithms coexisting.
  • Don't wait for the threat to materialize: the transition takes years; those who start now will be ahead when quantum technology becomes a reality.

Post glossary

python
A high-level programming language with readable syntax, popular for scripts, automation, data and AI.
event
A relevant system occurrence (click, order, message) that triggers asynchronous actions, the basis of event-driven architectures.
Ismael Douglas

About the author

Ismael Douglas

Full Stack developer passionate about building fast, well-crafted web products. I write about what I learn along the way — code, infra and best practices.

Check out my portfolio →