CH-J Toolsserver management over SSH
Menu
All guides and articles →

How hybrid post-quantum cryptographic algorithms work

Combination of classical and post-quantum components, difference of hybrid key establishment and signatures, and practical verification of protocol support.

Hybrid means construction, not a simple list of options

A hybrid post-quantum scheme combines traditional and post-quantum cryptographic elements into a single defined construct. The goal may be to maintain the security foundation of an established family while adding protection against quantum threats. It is not enough for a program to know two algorithms and randomly choose one. What is crucial is how the results are combined and what exactly the protocol verifies.

IETF terminology distinguishes between cryptographic elements, schemes, and entire protocols. It is useful for users to avoid confusing a hybrid design with simply supporting several alternatives. If a connection can completely switch to the classical method after failure, the operational record must describe the actually chosen variant and the rules for such a switch.

Establishing a secret combines the results of the exchange

An example in SSH is mlkem768x25519-sha256: it combines ML-KEM with X25519 and uses a defined derivation procedure. Its purpose is not to encrypt each packet independently twice. Both components contribute to establishing the material from which the protocol derives keys for subsequent symmetric communication.

The claim that the security of one component is sufficient is valid only within the limits of the relevant design and assumptions. A bad secret connection, an unverified exchange transcript, a randomness error, or an implementation leak can defeat the original goal. Therefore, one should not design one's own combination by gluing two library outputs according to intuition.

Hybrid signature has a different logic

Hybrid signatures combine signature mechanisms, not shared secrets. The recipient must know which parts to verify and under what conditions to accept the result. For a construction requiring both valid parts, accepting only the classical part would invalidate the intended protection. The exact format and verification rule belong to the specification of the given profile.

Two signatures attached to a file are not automatically a single interoperable hybrid signature without additional rules. You need to determine whether they are both intended to confirm the same data, identity, and context, and how the recipient handles the missing part. Similarly, a certificate with two keys does not necessarily mean that every operation uses both.

Benefits and costs are assessed in a specific environment

A hybrid approach can help with gradual migration and uncertainty about future attacks on individual families. However, it introduces more complexity in implementation and often larger keys, messages, or signatures. The impact depends on the profile and platform. It cannot be generally stated that every hybrid connection will be twice as slow or that the change has no operational cost.

In particular, test connection establishment, packet limits, memory, proxy traffic, and legacy receiver behavior. For long, repetitive sessions, the one-time cost of establishing a connection may be less significant than for a large number of short connections. Actual performance conclusions require measurement; this interpretation does not provide a universal benchmark.

Negotiation and downgrading

The client and server must share a supported protocol name and format. The list of algorithms in the settings may contain both hybrid and classic entries. It depends on the bidding rules and the actual negotiation. A successful login after an update may not mean that the new method was used; the connection may have continued using an older compatible option.

For a targeted test, you can request a single specific KEX in OpenSSH and monitor diagnostics. Failure is not automatically a cryptographic bug, but may indicate a lack of common support. Only implement a global ban on alternatives based on availability and prepared recovery. Tolerating legacy devices and protecting long-term secrecy are separate operational decisions.

Support in the generator and support in operation

The application may create a hybrid key for export, but not be able to use it for SSH login. The keyserver may accept the certificate, but return only its classic or incomplete part. Therefore, for CH-J Tools, assess the specific operation and issue, for CH-J Keys2, the actual returned public certificate and the validity of its bindings.

The record should include accurate identifiers, not just marketing PQCs. For signatures, include the result of verification at the real counterparty. For SSH, list KEX separately from host and user authentication. This avoids the claim that one successful hybrid operation changed all other program functions.

Pre-deployment check questions

  • Which threat and layer does the hybrid address?
  • What specification defines the connection of the two components?
  • Does the recipient require all the necessary parts?
  • Was the actual transmission or signature verified in both implementations?
  • Is a possible transition to the classic version visible and acceptable?

A well-described hybrid mechanism has a specific security goal and verifiable behavior. The number of algorithm names in a dialog is no substitute for it. Operational migration is successful when the corresponding construct is actually used by both parties involved and when you know how the system will behave in the event of an error or lack of support.

Frequently asked questions

Are the two algorithms offered automatically a hybrid?

No. A hybrid design combines them according to specific rules.

Is a hybrid KEX the same as a hybrid signature?

No. The first establishes the secret, the second verifies the signature binding to the data.

Can I create a safe hybrid by simply connecting the outputs?

Use a defined and assessed construction. Intuitive connections may not preserve the desired properties.

Detailed documentation

IETF: RFC 9794 hybrid schema terminology →

OpenSSH: hybrid key exchange →

NIST: ML-KEM →

NIST: ML-DSA →

Biometric unlock and security →

All tutorials by category →