Punjab Infoline

English

What Happens When Quantum Computers Break Today's Encryption? Meet the Technologies Designed to Protect Us

30 Nov, 2026 10:08 PM

As quantum computing continues to advance, cybersecurity researchers are preparing for a future in which some of today's most widely used cryptographic technologies may no longer provide adequate protection. The potential arrival of Q-Day, when sufficiently powerful quantum computers could break conventional public-key cryptography, has accelerated the development of new security standards. Three important technologies at the centre of this transition are ML-KEM, ML-DSA and SLH-DSA, which have been standardised by the US National Institute of Standards and Technology (NIST) as part of its Post-Quantum Cryptography (PQC) initiative.

These three technologies are designed to protect digital communications, financial transactions, software applications, government records and other sensitive information against attacks from both conventional and future quantum computers. However, each technology performs a different function. Understanding these differences is essential for software developers, cybersecurity professionals, business owners, government organisations and students preparing for the next generation of digital security.

What Is Q-Day and Why Should We Prepare for It?

Q-Day refers to a potential future point when sufficiently powerful quantum computers become capable of breaking widely deployed public-key cryptographic systems such as RSA and Elliptic Curve Cryptography (ECC). These technologies currently play important roles in secure internet connections, digital certificates, electronic signatures, online banking and authentication systems.

The security of RSA depends on the mathematical difficulty of factoring large numbers, while ECC relies on the difficulty of solving the elliptic curve discrete logarithm problem. Conventional computers require enormous computational resources to solve these problems when appropriate security parameters are used.

However, a sufficiently powerful and fault-tolerant quantum computer could use Shor's Algorithm to solve these mathematical problems much more efficiently. This could undermine both the confidentiality of certain encrypted communications and the authenticity of digital signatures based on these technologies.

There is currently no confirmed date for Q-Day. Nevertheless, organisations must prepare in advance because replacing cryptographic technologies across global digital infrastructure could take years. Information collected by attackers today may also remain sensitive when future quantum computers become available.

What Is Post-Quantum Cryptography?

Post-Quantum Cryptography, commonly known as PQC, refers to cryptographic algorithms designed to resist attacks from both classical and quantum computers. Unlike quantum cryptography, which may require specialised quantum communication equipment, post-quantum algorithms can operate on conventional computers, servers, smartphones and other digital devices.

In August 2024, NIST released its first three finalised post-quantum cryptographic standards:

  • FIPS 203: ML-KEM, previously known as CRYSTALS-Kyber.
  • FIPS 204: ML-DSA, previously known as CRYSTALS-Dilithium.
  • FIPS 205: SLH-DSA, based on SPHINCS+.

These standards address two fundamental requirements of modern cryptography: securely establishing shared secret keys and verifying the authenticity and integrity of digital information.

1. ML-KEM: Securing the Exchange of Secret Keys

ML-KEM stands for Module-Lattice-Based Key-Encapsulation Mechanism. Its primary purpose is to enable two parties to establish a shared secret over a potentially insecure communication network without exposing that secret to unauthorised parties.

For example, when a user connects to a banking website, the user's web browser and the bank's server need to establish cryptographic keys to protect their communication. Traditional systems may use Elliptic Curve Diffie-Hellman for this purpose. ML-KEM provides a post-quantum alternative for establishing shared secrets.

It is important to understand that ML-KEM is not intended to directly encrypt large files, videos, databases or entire communication sessions. Instead, it establishes a shared secret that can be used to derive encryption keys for symmetric algorithms such as AES-256.

How Does ML-KEM Work?

ML-KEM is based on a mathematical area known as lattice-based cryptography. A mathematical lattice can be understood as a regularly arranged collection of points in a multidimensional space. While simple lattices can be visualised in two or three dimensions, cryptographic lattices involve much more complex mathematical structures.

The security of ML-KEM is primarily based on the difficulty of the Module Learning With Errors (Module-LWE) problem, which is related to hard mathematical problems involving structured lattices.

In simplified terms, the system performs mathematical calculations involving carefully generated random values and small amounts of mathematical noise. Recovering the original secret information from the publicly available mathematical results is believed to be computationally difficult, even for powerful quantum computers.

The Three Main Operations of ML-KEM

  1. Key Generation: The receiving party generates an encapsulation key, which can be made public, and a private decapsulation key, which must remain confidential.
  2. Encapsulation: The sending party uses the public encapsulation key to generate a shared secret and a corresponding ciphertext. The ciphertext can be transmitted over the network.
  3. Decapsulation: The receiving party uses its private decapsulation key to process the ciphertext and recover the same shared secret.

Both parties now possess the same shared secret without having transmitted that secret directly across the network. Appropriate cryptographic key derivation functions can then generate the keys required to protect their communication.

A Practical Example of ML-KEM

Suppose a customer visits an online banking website. The bank's server and the customer's browser establish a shared secret using ML-KEM as part of an appropriately designed and authenticated communication protocol.

The shared secret is processed through a key derivation function to generate encryption keys. These keys can then be used with symmetric encryption to protect information exchanged during the banking session.

Even if an attacker intercepts the public key and encapsulated ciphertext, the attacker should not be able to recover the shared secret without solving the underlying difficult mathematical problem, assuming the algorithm and its implementation remain secure.

ML-KEM alone does not authenticate the identity of the communicating parties. An authenticated protocol must also protect against impersonation and man-in-the-middle attacks.

Different Security Levels of ML-KEM

NIST has standardised three parameter sets of ML-KEM, offering different security levels and performance characteristics.

  • ML-KEM-512: NIST Security Category 1, with an encapsulation key size of 800 bytes and ciphertext size of 768 bytes.
  • ML-KEM-768: NIST Security Category 3, with an encapsulation key size of 1,184 bytes and ciphertext size of 1,088 bytes.
  • ML-KEM-1024: NIST Security Category 5, with an encapsulation key size of 1,568 bytes and ciphertext size of 1,568 bytes.

All three parameter sets generate a shared secret of 32 bytes. Higher security categories generally involve larger keys, larger ciphertexts and additional computational requirements.

Advantages and Limitations of ML-KEM

ML-KEM offers fast cryptographic operations and is suitable for many modern computing environments. However, its public keys and ciphertexts are considerably larger than those used by some traditional elliptic curve algorithms.

For example, an X25519 public key is 32 bytes, while an ML-KEM-768 encapsulation key is 1,184 bytes. This increases the amount of information that must be exchanged during secure connection establishment.

Although this difference may be manageable for modern websites and high-speed networks, it can be significant for resource-constrained devices, embedded systems and communication networks with limited bandwidth.

2. ML-DSA: Protecting Digital Identity and Authenticity

ML-DSA stands for Module-Lattice-Based Digital Signature Algorithm. Unlike ML-KEM, which establishes shared secrets, ML-DSA is designed to create and verify digital signatures.

Digital signatures allow individuals and computer systems to verify that information has been signed by the holder of a particular private key and that the signed information has not been modified.

Digital signatures are widely used in software updates, digital certificates, electronic documents, government records, financial systems and secure authentication protocols. If conventional digital signature algorithms become vulnerable to quantum attacks, attackers could potentially create fraudulent signatures or impersonate trusted organisations.

ML-DSA provides a post-quantum alternative designed to address this threat.

How Does ML-DSA Work?

ML-DSA also uses lattice-based mathematics. Its security relies on difficult mathematical problems associated with structured module lattices, including Module Learning With Errors and variants of the Module Short Integer Solution problem.

The algorithm uses a signature construction based on the Fiat-Shamir framework with additional techniques that help prevent signatures from revealing sensitive information about the private signing key.

Unlike encryption, a digital signature does not necessarily hide the contents of a message. Instead, it provides a mathematical mechanism for verifying the authenticity and integrity of that message.

The Three Main Operations of ML-DSA

  1. Key Generation: An individual or organisation generates a private signing key and a corresponding public verification key.
  2. Signature Generation: The private signing key is used to create a digital signature associated with a message, document or software package.
  3. Signature Verification: The receiving party uses the public verification key to check whether the signature is valid for the received information.

If the signed information is modified after the signature has been generated, the original signature should no longer pass verification. Similarly, an attacker who does not possess the private signing key should not be able to generate a valid signature for arbitrary information.

A Practical Example of ML-DSA

Consider a software company releasing a security update for its customers. Before distributing the update, the company generates a digital signature using its private ML-DSA signing key.

When a customer's computer downloads the software update, it verifies the signature using the company's trusted public verification key.

If a cybercriminal modifies the software package to insert malicious code, the original digital signature should fail verification. The computer can then reject the modified software instead of installing it.

However, the verification process must also establish that the public key genuinely belongs to the software company. A valid digital signature alone cannot establish a person's or organisation's real-world identity without an appropriate trust mechanism.

Different Security Levels of ML-DSA

NIST has standardised three parameter sets of ML-DSA:

  • ML-DSA-44: NIST Security Category 2, with a public key size of 1,312 bytes and a signature size of 2,420 bytes.
  • ML-DSA-65: NIST Security Category 3, with a public key size of 1,952 bytes and a signature size of 3,309 bytes.
  • ML-DSA-87: NIST Security Category 5, with a public key size of 2,592 bytes and a signature size of 4,627 bytes.

The selection of an appropriate parameter set depends on the required security level, available computing resources, network bandwidth and applicable regulatory or industry requirements.

Where Can ML-DSA Be Used?

  • Software and application code signing.
  • Operating system and firmware updates.
  • Digital certificates and Public Key Infrastructure (PKI).
  • Electronic documents and digital signatures.
  • Government and enterprise authentication systems.
  • Financial transaction authorisation systems.
  • Secure communication protocols that support the algorithm.

ML-DSA offers relatively fast signing and verification operations, making it a suitable candidate for environments where large numbers of digital signatures must be generated or verified regularly.

3. SLH-DSA: An Alternative Based on Cryptographic Hash Functions

SLH-DSA stands for Stateless Hash-Based Digital Signature Algorithm. Like ML-DSA, it is used to generate and verify digital signatures. However, it is based on a fundamentally different mathematical approach.

Instead of relying on lattice-based mathematical problems, SLH-DSA derives its security from the properties of cryptographic hash functions. This makes it an important alternative in the post-quantum security ecosystem.

If a significant mathematical weakness is discovered in lattice-based cryptography in the future, a hash-based digital signature algorithm could provide an alternative that does not depend on the same mathematical assumptions.

What Is a Cryptographic Hash Function?

A cryptographic hash function converts input information of arbitrary length into a fixed-length output, commonly called a hash or digital fingerprint.

For example, a document containing thousands of words can be processed through a hash function to generate a comparatively short digital fingerprint. Even a small modification to the original document should produce a substantially different hash value.

Secure cryptographic hash functions are designed to make it computationally difficult to recover the original input from its hash or find different inputs that produce the same hash value.

SLH-DSA uses standardised hash function families such as SHA-2 and SHAKE as part of its digital signature construction.

How Does SLH-DSA Work?

SLH-DSA combines several hash-based signature techniques, including Winternitz One-Time Signatures Plus (WOTS+), Forest of Random Subsets (FORS) and hierarchical Merkle tree structures.

A Merkle tree is a mathematical structure in which multiple hash values are combined in successive layers until a single root hash is produced. This root can represent and authenticate a large collection of underlying information.

SLH-DSA uses a hierarchy of hash-based signature structures to generate digital signatures that can be verified against a public key. The resulting security depends on the properties of the underlying cryptographic hash functions rather than the difficulty of lattice-based mathematical problems.

Why Is SLH-DSA Called Stateless?

Some earlier hash-based signature schemes, such as XMSS and LMS, require the signing system to maintain a persistent record of which one-time signing keys have already been used.

If this internal state is lost, incorrectly restored from a backup or reused across multiple devices, the security of those signature schemes can be compromised.

SLH-DSA is designed to avoid the requirement for persistent signing-state management. It can generate multiple signatures using the same private key without requiring the application to maintain a strict sequential record of previously used one-time signing keys.

This stateless design can simplify certain deployment and operational requirements, although secure private key management remains essential.

Different Security Levels and Signature Sizes

SLH-DSA provides parameter sets corresponding to NIST Security Categories 1, 3 and 5. It offers both SHA-2-based and SHAKE-based variants, with different configurations optimised for smaller signatures or faster signing.

The public keys are relatively small, ranging from 32 to 64 bytes depending on the selected parameter set. However, the digital signatures are considerably larger than those produced by ML-DSA.

  • 128-bit security family: Signature sizes range from 7,856 to 17,088 bytes.
  • 192-bit security family: Signature sizes range from 16,224 to 35,664 bytes.
  • 256-bit security family: Signature sizes range from 29,792 to 49,856 bytes.

The variants identified by the letter 's' prioritise smaller signatures, while variants identified by the letter 'f' prioritise faster signature generation.

Although SLH-DSA provides valuable mathematical diversity, its larger signatures and generally slower signing performance can make it less suitable for certain high-throughput or bandwidth-constrained applications.

Where Can SLH-DSA Be Used?

SLH-DSA may be particularly useful in applications where digital signatures are generated relatively infrequently, but long-term security and independence from lattice-based mathematical assumptions are important.

  • Long-term authentication of important documents.
  • Root certificate authorities.
  • Critical firmware signing.
  • Government and institutional records.
  • Long-term software authenticity verification.
  • Security architectures requiring cryptographic diversity.

Its suitability for a particular application depends on performance requirements, storage capacity, protocol support and the overall security architecture.

Understanding the Difference Between ML-KEM, ML-DSA and SLH-DSA

Although all three algorithms are part of NIST's post-quantum cryptographic standards, they are not interchangeable. Each addresses a particular security requirement.

  • ML-KEM: Establishes a shared secret that can be used to protect the confidentiality of communications.
  • ML-DSA: Provides efficient lattice-based digital signatures for authentication and data integrity.
  • SLH-DSA: Provides hash-based digital signatures as an alternative to lattice-based signature algorithms.

ML-KEM can help ensure that unauthorised parties cannot recover the secret keys used to protect communications. ML-DSA and SLH-DSA can help verify that digital information has been signed by the holder of a trusted private key and has not been altered.

A complete digital security architecture may require both key establishment and digital signature mechanisms.

How These Technologies Can Work Together After Q-Day

Consider a future online banking system designed to operate securely in a post-quantum environment. The system could combine multiple cryptographic technologies to address different security requirements.

  1. The bank establishes its digital identity using a trusted certificate infrastructure that supports post-quantum digital signatures.
  2. The customer's browser verifies the bank's identity using an appropriate digital signature verification mechanism, such as ML-DSA.
  3. The browser and server establish a shared secret using ML-KEM within an authenticated communication protocol.
  4. A secure key derivation function generates symmetric encryption keys from the established secret.
  5. The communication session uses an authenticated encryption algorithm, such as AES-256-GCM, to protect transmitted information.
  6. Important software updates and institutional documents may additionally be protected using ML-DSA or SLH-DSA signatures.

This combination addresses confidentiality, authentication and data integrity. However, the overall security of the system depends on correct protocol design, secure implementation, trusted public keys and effective private key management.

Hybrid Cryptography: Combining Classical and Post-Quantum Security

Replacing existing cryptographic technologies across the internet cannot happen overnight. During the transition, many systems can adopt a hybrid approach that combines conventional and post-quantum cryptographic algorithms.

One example is X25519MLKEM768, a hybrid key establishment mechanism that combines the traditional X25519 elliptic curve algorithm with ML-KEM-768 in TLS environments.

Both mechanisms contribute to the establishment of the final cryptographic secret. When the hybrid construction is properly designed, the resulting secret can remain protected even if one of the underlying mechanisms is compromised, provided the other remains secure.

This approach offers an additional layer of protection during the transition to post-quantum cryptography. It also helps manage uncertainty surrounding newly standardised cryptographic algorithms.

Can Artificial Intelligence Break Post-Quantum Cryptography?

Post-quantum cryptographic algorithms are designed around mathematical problems that are currently believed to be difficult for both conventional and quantum computers. However, no cryptographic algorithm should be considered permanently immune to future scientific discoveries.

Artificial intelligence could assist researchers in exploring mathematical problems, identifying implementation weaknesses and developing new cryptanalytic techniques. Future breakthroughs in mathematics or computing could potentially affect the security assumptions underlying certain cryptographic technologies.

This is one reason why mathematical diversity is important. ML-KEM and ML-DSA depend on lattice-based mathematical assumptions, while SLH-DSA relies on cryptographic hash functions.

Having alternatives based on different mathematical foundations can reduce dependence on a single family of cryptographic algorithms. Nevertheless, SLH-DSA is a digital signature algorithm and cannot directly replace ML-KEM if a weakness is discovered in lattice-based key establishment.

Will These Technologies Make Systems Completely Safe After Q-Day?

Post-quantum cryptography is an important step towards protecting digital systems against future quantum computing threats. However, adopting ML-KEM, ML-DSA and SLH-DSA does not automatically make an entire computer system completely secure.

Cybersecurity threats can arise from several other sources, including:

  • Weak or predictable random number generation.
  • Incorrect implementation of cryptographic algorithms.
  • Software vulnerabilities and programming errors.
  • Compromised private cryptographic keys.
  • Side-channel attacks targeting physical implementations.
  • Malware and ransomware infections.
  • Phishing and social engineering attacks.
  • Insecure servers, databases and cloud infrastructure.
  • Weak authentication and access control systems.

Even the strongest cryptographic algorithm cannot protect sensitive information if an attacker gains access to the information before it is encrypted or after it has been decrypted.

Post-quantum cryptography must therefore form part of a broader cybersecurity strategy rather than being treated as a complete solution to every digital security threat.

What Software Developers Should Do Now

Software developers should begin preparing their applications for the transition to post-quantum cryptography. Applications that are expected to operate for many years should be designed in a manner that allows cryptographic algorithms to be upgraded when necessary.

This approach is known as Crypto-Agility. It allows organisations to replace outdated or vulnerable cryptographic algorithms without completely redesigning their applications or digital infrastructure.

  • Identify where RSA, ECC, ECDSA and other conventional public-key algorithms are used.
  • Use maintained and trusted cryptographic libraries instead of developing custom encryption algorithms.
  • Evaluate library support for ML-KEM, ML-DSA and SLH-DSA.
  • Design applications with configurable and upgradeable cryptographic components.
  • Evaluate hybrid cryptographic mechanisms where supported.
  • Use secure random number generators and appropriate key management systems.
  • Test performance, memory consumption and network bandwidth requirements.
  • Conduct regular security audits and monitor cryptographic research.
  • Avoid silently accepting weaker algorithms when post-quantum mechanisms are unavailable.

What Businesses and Government Organisations Should Do

Businesses, financial institutions and government organisations should begin by preparing a comprehensive inventory of the cryptographic technologies used across their digital infrastructure.

Such an inventory should cover websites, SSL/TLS certificates, VPN connections, databases, email systems, digital signatures, cloud infrastructure, software applications, firmware and authentication systems.

Organisations should identify information that must remain confidential for many years. This is particularly important because attackers may collect encrypted information today and attempt to decrypt it in the future, a strategy known as Harvest Now, Decrypt Later.

A phased migration strategy should be developed based on the sensitivity of information, expected operational lifetime of systems, technology availability and regulatory requirements. Organisations should also communicate with their software vendors and technology service providers regarding post-quantum security support.

What Ordinary Internet Users Need to Know

Ordinary internet users do not need to manually implement ML-KEM, ML-DSA or SLH-DSA on their computers and smartphones. Technology companies, operating system developers, browser developers and communication service providers are responsible for integrating appropriate cryptographic technologies into their products.

However, users can benefit from these security improvements by keeping their devices and applications updated, using supported operating systems, enabling automatic security updates and selecting trusted digital services.

Strong passwords, multi-factor authentication, secure backups and awareness of phishing attacks will remain important even after post-quantum cryptography becomes widely adopted.

The Future of Digital Security

The transition to post-quantum cryptography represents one of the most significant changes in the history of modern digital security. ML-KEM, ML-DSA and SLH-DSA provide standardised mechanisms for addressing potential threats from future quantum computers.

ML-KEM focuses on secure key establishment, ML-DSA provides efficient lattice-based digital signatures, and SLH-DSA offers an alternative signature mechanism based on cryptographic hash functions. Together, these technologies can contribute to the development of digital systems capable of operating in a post-quantum environment.

However, their long-term effectiveness will depend on continued mathematical research, secure software development, responsible implementation, effective key management and timely migration from vulnerable cryptographic technologies.

The most important lesson for governments, businesses, developers and ordinary internet users is that preparation for Q-Day should begin before powerful quantum computers become capable of breaking today's public-key cryptography. Post-quantum security is not simply about responding to a future threat; it is about protecting information that is being created, transmitted and stored today.

Latest News