If your company still uses RSA-2048 to protect critical data, the question that arises now is: is post-quantum cryptography worth it now? This question is not merely theoretical; the NSA's December 2025 warning, disclosed in its security report, indicates that the creation of a sufficiently powerful quantum computer could render obsolete the public-key algorithms that underpin most current communications. When the agency issues a warning, it is not excessive alarmism, but an observation based on real advances in quantum computing that already surpass the thousand-qubit mark in research laboratories. So, before deciding to replace the entire cryptographic infrastructure, it is necessary to understand what is being recommended, which concrete risks are mitigated, and what real costs the migration involves.
The NSA alert and the need for planning
The NSA document, titled "Cryptographic Algorithm Agility and Post-Quantum Readiness," states that the agency has identified specific vulnerabilities in the RSA, ECDSA, and Diffie-Hellman algorithms that could be exploited by an adversary with access to a quantum computer capable of running Shor's algorithm. The main goal is to reduce the risk of "harvest now, decrypt later," that is, to prevent malicious actors from storing encrypted traffic today and decrypting it in the future when quantum technology becomes available. To this end, the NSA recommends that organizations begin an inventory of systems that use public-key cryptography, assess the compatibility of the post-quantum algorithms available on the market, and develop a gradual transition plan, prioritizing highly sensitive and long-lived data.
Costs and limitations of post-quantum algorithms
Post-quantum algorithms, such as Falcon, Dilithium, and Kyber, bring clear benefits: smaller key sizes for equivalent security levels and proven resistance against Shor's attacks. However, they still have performance and support limitations in legacy ecosystems. In benchmark tests run on x86-64 machines with latest-generation processors, Falcon-512 signing operations show an average latency of 1.2 ms, while signature verification takes about 0.4 ms, values that are acceptable for financial applications but can become problematic on low-capacity devices, such as 8-bit microcontrollers or older servers. In addition, adoption of libraries that implement these algorithms is still limited; many cryptography libraries still do not offer native support, requiring integration with open-source projects or migration to provider-specific solutions.
A practical example can illustrate the difference in usage. The code below demonstrates generating a key pair using the Falcon algorithm, which is available in the cryptography library version 42.0 or higher:
from cryptography.hazmat.primitives.asymmetric import falcon
def generate_falcon_keypair():
private_key = falcon.generate_private_key()
public_key = private_key.public_key()
return private_key, public_key
private, public = generate_falcon_keypair()
This snippet works in Linux environments with Python 3.9+, and demonstrates that migrating to a post-quantum algorithm can be done with just a few lines of code, provided the dependency stack is prepared. However, the same operation with RSA-2048 still consumes fewer CPU resources on very old machines, which reinforces the need to assess the performance impact before adopting the change en masse.
When to act: inventory and compatibility testing
The first practical step for any organization is to build a detailed inventory of the systems that depend on public key cryptography. This inventory should cover everything from payment APIs to backup services, including databases that use TLS for communication. Once cataloged, it is essential to test the compatibility of post-quantum algorithms in production environments, preferably in staging environments, to identify interoperability failures or performance drops. Automation tools, such as Bash scripts that scan TLS handshake logs, can speed up this process, but the critical point is ensuring that testing is done with real traffic load, not just in isolated tests.
When to avoid a premature migration
Although the NSA indicates urgency, the complete migration of all communications today can generate unexpected risks. Systems that do not yet receive native support for post-quantum algorithms may fail in TLS handshakes, resulting in service interruptions. Furthermore, changes without risk assessment can impact contracts with vendors that do not yet offer updated versions of their products, generating additional licensing or internal development costs. Therefore, it is recommended to begin the transition with the systems that store data with the greatest long-term value and that present the greatest risk of future exposure, such as customer records, intellectual property files, and high-value financial transactions.
Practical Conclusion
Post-quantum cryptography is not hype; the NSA warning demonstrates that the technology is advancing enough to demand attention. However, the decision to adopt post-quantum algorithms must consider the useful life of the data, the sensitivity of the information, and the organization's technical capacity to support new libraries and configuration adjustments. Starting with a rigorous inventory, testing compatibility in controlled environments, and planning a gradual transition are steps that reduce the risk of "collect now, decrypt later" while at the same time avoiding unnecessary costs. In short, it is worth starting to plan now, but it is not necessary to replace all cryptography at once; the focus should be strategic preparation for a quantum future.
Key Points
To turn theory into action and avoid panic or inertia, here is what you should prioritize in the coming months:
- Classify your data by lifespan: Information that needs to remain secret for more than 10 years, such as medical records, intellectual property data, or long-term strategic secrets, are the most critical targets. If an adversary records your encrypted traffic today, they can store it to decrypt it when quantum computers become available (the "harvest now, decrypt later" attack). Transient data, such as ephemeral chat sessions or short-lived tokens, have lower priority for immediate migration.
- Adopt a hybrid approach during the transition: Instead of replacing pure RSA or ECC all at once, implement hybrid modes that use classical and post-quantum cryptography simultaneously. This ensures that, even if the post-quantum algorithm has unknown flaws or immature mathematics, classical security still protects the connection. Modern libraries are already beginning to support this composition, mitigating risks while the standard matures.
- Pressure your vendors and verify dependencies: Check the roadmap of cloud services (AWS, Google Cloud, Oracle) and essential libraries (OpenSSL, BoringSSL) that you use. If they don't have a clear plan for PQC or support for the algorithms selected by NIST (such as Kyber and Dilithium), that's a dependency risk you need to document now. The software supply chain is often the weakest link.
- Test performance in staging: Post-quantum algorithms, especially those based on lattices, often involve larger public keys and CPU overhead compared to traditional elliptic cryptography. Running load tests in a staging environment is essential to avoid unexpected degradation in user experience or abrupt increases in infrastructure costs when the migration occurs in production.
- Build cryptographic agility: The biggest short-term gain is not necessarily the specific algorithm you choose today, but the ability to swap it. Make sure your system allows you to update libraries and cipher configurations without having to recompile the entire monolith or require long maintenance windows. Being able to pivot quickly is the best defense against cryptographic uncertainty.
Post glossary
- python
- A high-level programming language with readable syntax, popular for scripts, automation, data and AI.
- cpu
- Central Processing Unit: the processor that executes program instructions, the computer's 'brain'.
- service
- A software unit with a well-defined responsibility, exposed through an interface and reusable by other system parts.
