Glossary

What is hybrid key exchange?

A hybrid key exchange combines a classical algorithm such as X25519 with a post-quantum one such as ML-KEM, so the result is secure if either holds.

A hybrid key exchange runs two independent key-establishment mechanisms and combines their outputs, usually by feeding both shared secrets into a key derivation function. If an attacker can break only one of them, say a future quantum computer breaks X25519 or a flaw is found in the newer lattice scheme, the final key is still protected by the other. The IETF describes the general design in the TLS hybrid design draft, and browsers and servers already deploy X25519MLKEM768 in TLS 1.3. A related use is in public-key encryption: HPKE, defined in RFC 9180, wraps a KEM, a KDF and an AEAD, and hybrid KEMs such as an ML-KEM-768 plus X25519 combiner can plug into it, with the combiner specified in drafts at the IETF. The cost is bigger messages and slightly more computation, which is trivial for occasional vault sharing. The benefit is hedging: it protects against harvest-now-decrypt-later collection without betting everything on algorithms that have had fewer years of scrutiny. Care is needed in how secrets and public values are combined, so follow a published combiner rather than inventing one. BotPassword uses a hybrid KEM within HPKE for recipient envelopes, pinned to a specific draft and test vectors.

Give agents access. Keep the keys.

BotPassword is in early access. Request an invite and we'll email you when your spot opens.