What is HPKE and who meets it in post-quantum work?
You are most likely to meet HPKE (Hybrid Public Key Encryption) in a vendor document, a standards reference or an audit request that asks whether a product uses it. HPKE is a public key encryption scheme defined in RFC 9180, Hybrid Public Key Encryption, published in February 2022 as an Informational RFC from the IRTF Crypto Forum Research Group. It combines an asymmetric KEM, a KDF and an AEAD, and it is used to encrypt plaintexts of arbitrary length to a recipient's public key. RFC 9180 notes that many competing, non-interoperable hybrid encryption standards exist, mostly variants on ECIES, and that HPKE specifies a subset of their functions clearly enough for interoperable implementation. Its instantiations shown in that RFC are based on ECDH, HKDF and SHA2.
Engineers most often meet HPKE inside other specifications rather than as a standalone product. RFC 9420, which defines Messaging Layer Security (MLS), states that MLS uses HPKE for public key encryption and that each MLS cipher suite specifies the HPKE KEM, KDF and AEAD. RFC 9458, which defines Oblivious HTTP, uses HPKE base mode, and its gateway key configuration carries 16-bit KEM, KDF and AEAD identifiers. The COSE and JOSE HPKE drafts, which are still in progress, reuse these identifiers. Reviewers reading the post-quantum HPKE draft (draft-ietf-hpke-pq, at revision 05 and still a working group draft) will see ML-KEM and hybrid KEM code points there. Check each specification's own KEM and algorithm identifiers against the version you deploy.
HPKE is not a token format. It defines how a sender encrypts to a recipient's public key, and it does not define how a token, header or claim set is structured. Where HPKE output must travel inside an application message, the container is JWE for JOSE or COSE for CBOR. Before you rely on any draft value, confirm the current status and final identifiers in the IETF Datatracker, since draft code points can change before publication.
Which HPKE names, modes and identifiers should I look for?
This table lists the HPKE names, RFC 9180 modes and identifiers, COSE labels and draft post-quantum code points you are likely to see in specifications and logs. Read the RFC 9180 rows as settled values and the draft post-quantum rows as provisional values that could change before publication. Confirm the exact values against the version your library or vendor implements.
| Item | What it is | Where it appears | Status |
|---|---|---|---|
| Full name | Hybrid Public Key Encryption, abbreviated HPKE | RFC 9180 and documents that reference it | Published as RFC 9180 (February 2022, Informational) |
| RFC 9180 modes | mode_base 0x00, mode_psk 0x01, mode_auth 0x02, mode_auth_psk 0x03 | Configuration and negotiation in HPKE implementations | Defined in RFC 9180 |
| Classical KEM identifiers | 0x0010 DHKEM(P-256, HKDF-SHA256) through 0x0021 DHKEM(X448, HKDF-SHA512) | Cipher suite selection, such as the KEM field in RFC 9458 key configurations | Defined in RFC 9180 |
| KDF and AEAD identifiers | KDF 0x0001 to 0x0003 (HKDF-SHA256, SHA384, SHA512); AEAD 0x0001 to 0x0003 (AES-128-GCM, AES-256-GCM, ChaCha20Poly1305) and 0xFFFF Export-only | Cipher suite fields alongside the KEM identifier | Defined in RFC 9180 |
| COSE HPKE labels | HPKE-0 to HPKE-7, each a fixed combination of RFC 9180 KEM, KDF and AEAD identifiers | COSE messages and key configuration (for example, HPKE-0 uses KEM 0x10, KDF 0x1, AEAD 0x1) | Defined in draft-ietf-cose-hpke-20, not yet an RFC |
| Draft post-quantum KEM code points | 0x0040 ML-KEM-512, 0x0041 ML-KEM-768, 0x0042 ML-KEM-1024, 0x0050 MLKEM768-P256, 0x0051 MLKEM1024-P384, 0x647a MLKEM768-X25519 | Proposed KEM identifiers in draft-ietf-hpke-pq-05 | Draft values that could change before publication |
| Draft post-quantum KDF identifiers | 0x0010 SHAKE128, 0x0011 SHAKE256, 0x0012 TurboSHAKE128, 0x0013 TurboSHAKE256 | Proposed single-stage KDF identifiers in draft-ietf-hpke-pq-05 | Draft values that could change before publication |
| Draft post-quantum public key and ciphertext sizes | For example, ML-KEM-768 has a 1184-byte public key and 1088-byte ciphertext; MLKEM768-X25519 has 1216 and 1120 | Sizing for message and key storage, as listed in draft-ietf-hpke-pq-05 | Draft values; confirm against the final specification |
Where does HPKE show up in protocols and standards?
HPKE is defined once in RFC 9180 and then reused by several protocols, each choosing its own mode and cipher suite. The cards below show where it is referenced, which identifiers each one fixes, and which drafts are still moving toward publication.
Messaging Layer Security (MLS)
RFC 9420 uses HPKE for public key encryption in MLS. Each MLS cipher suite names the HPKE KEM, KDF and AEAD it uses, so the suite identifier in a group's configuration tells you which HPKE algorithms are in play. When reviewing an MLS deployment, check which cipher suite is configured and confirm that the KEM it specifies is the one your inventory records. Any future post-quantum KEM would enter through a new cipher suite, so suite selection is the point to track.
- RFC 9420 published
- July 2023
Oblivious HTTP
RFC 9458 is a Proposed Standard from January 2024 that uses HPKE in base mode. Each gateway publishes a key configuration carrying 16-bit KEM, KDF and AEAD identifiers, and the RFC's example uses DHKEM(X25519, HKDF-SHA256) with AES-128-GCM. For a review, read the key configuration a gateway advertises and confirm the identifiers it lists. A key configuration that lists only classical KEM identifiers is a concrete finding to record.
RFC 9458 textCOSE HPKE draft
draft-ietf-cose-hpke defines HPKE-0 through HPKE-7 as fixed combinations of RFC 9180 identifiers, for example HPKE-0 uses KEM 0x10, KDF 0x1 and AEAD 0x1. The draft was at revision 27, dated 12 September 2026, and its Datatracker state was Waiting for AD Go-Ahead with no RFC number as of 4 December 2026. Treat the HPKE-n labels as draft-stage names and confirm the final identifiers against the published RFC before relying on them in an inventory.
- Latest draft revision
- Revision 27
JOSE/JWE HPKE draft
draft-ietf-jose-hpke-encrypt-22 describes how HPKE output is carried in JSON Web Encryption. As of 4 December 2026, its Datatracker state was RFC Ed Queue, Awaiting Editor Assignment, with no RFC number yet. For a JWE-based design, note the draft version your vendor cites, and ask whether the implementation follows the draft or a later published RFC. The draft itself does not establish that any product implements it.
- Current draft version
- Draft 22
Vendor documents and tenders
Vendor documentation and tender responses sometimes name an HPKE mode or cipher suite, such as mode_base or a specific KEM identifier. When one does, record the exact identifier, the product version it applies to, and whether the value is a published RFC number or a draft code point. Draft code points for post-quantum KEMs in draft-ietf-hpke-pq-05 could change before publication, so ask the vendor which version they implemented and whether they will update when the standard is final.
HPKE PQ draft pageWhat does HPKE do inside a system?
HPKE is the public key encryption building block that a protocol calls when it needs to send data to a recipient's public key. It gives a sender one standardized way to encrypt arbitrary-sized plaintext to a recipient, and RFC 9180 (published February 2022 as an Informational RFC from the IRTF Crypto Forum Research Group) builds that construction from three pluggable parts: an asymmetric KEM, a KDF and an AEAD. A system does not choose these parts separately at the application level. The protocol that uses HPKE fixes the combination, so the question for an engineer is which protocol and which cipher suite or key configuration is in use, not which KEM to load. RFC 9180 says HPKE provides a subset of the many competing, non-interoperable hybrid encryption schemes, mostly variants on ECIES, and is specified clearly enough for interoperable implementation.
RFC 9180 defines four modes, identified as mode_base (0x00), mode_psk (0x01), mode_auth (0x02) and mode_auth_psk (0x03). Base mode provides encryption to a recipient's public key alone. The PSK modes add a pre-shared key known to both parties, and the auth modes add authentication of the sender's key. Protocols pick the mode that matches their threat model. Oblivious HTTP (RFC 9458, January 2024) uses base mode, and each gateway key configuration carries 16-bit KEM, KDF and AEAD identifiers. Messaging Layer Security (RFC 9420, July 2023) uses HPKE for public key encryption, and each MLS cipher suite specifies the KEM, KDF and AEAD. To confirm what a given deployment runs, check the cipher suite or key configuration its protocol implementation reports, and check the mode the protocol specification names for that use.
For post-quantum planning, the important point is where the KEM identifier lives. Under draft-ietf-hpke-pq-05 (6 July 2026, a Standards Track working group draft with no RFC number yet), ML-KEM and hybrid KEMs are registered as HPKE KEM code points, with values that may change before publication. Protocols that carry HPKE output in containers, such as JWE in draft-ietf-jose-hpke-encrypt-22 and COSE in draft-ietf-cose-hpke, are still drafts. Review each protocol's cipher suite or key configuration registry against the current draft or RFC it cites before assuming a KEM is available. Ask vendors which HPKE mode, KEM, KDF and AEAD their product uses, and which specification version it implements.
How the HPKE pieces and carrier formats fit together
The diagram starts at the sender's application, which picks an HPKE mode and cipher suite made of one KEM, one KDF and one AEAD. HPKE produces its encapsulated key and ciphertext, and those bytes are then placed inside a carrier: JWE in the draft for JOSE, or COSE in the draft for CBOR. Protocol consumers such as MLS and Oblivious HTTP use HPKE directly and define their own cipher suites or key configurations. Check which draft revision and which identifiers your implementation uses, since the post-quantum KEM code points are draft values that could change before publication.
A simplified view of how HPKE components, carrier formats and protocol consumers relate in the cited documents.
Is HPKE standardized, and what is still in draft?
The core scheme is published, but several documents that use it are not. RFC 9180, "Hybrid Public Key Encryption", was published in February 2022 as an Informational RFC from the IRTF Crypto Forum Research Group. Informational status means it is a reference specification rather than an IETF Standards Track document, which is a distinction to note when a tender or audit asks for a "standard." Two protocols that build on it are Proposed Standards: RFC 9420 (Messaging Layer Security, July 2023), which uses HPKE for public key encryption and specifies the KEM, KDF and AEAD in each MLS cipher suite, and RFC 9458 (Oblivious HTTP, January 2024), which uses HPKE base mode. When a vendor says it supports HPKE, ask whether it means RFC 9180 or one of these protocol-level uses, and which versions it runs.
Post-quantum HPKE is still draft work. draft-ietf-hpke-pq-05, dated 6 July 2026, defines ML-KEM based and hybrid KEMs for HPKE plus a SHA-3 based KDF. It is a Standards Track working group draft, shown in IETF Datatracker in the state I-D Exists, with no RFC number. Its code points, such as the ML-KEM and hybrid identifiers, are draft values that could change before publication, so do not hard-code them into configuration or conformance checks. Its listed public key and ciphertext sizes are useful for capacity planning, but confirm them against the final text. Post-quantum JOSE and COSE HPKE work is also unpublished: draft-ietf-jose-hpke-encrypt-22 and draft-ietf-cose-hpke-20 had no RFC number as of 4 December 2026. The sources do not record which vendors or products implement these drafts, so ask vendors directly and check their documentation for the exact draft revision they target.
What should I do about HPKE in a post-quantum migration?
The sequence below moves from finding where HPKE is used to confirming which exact KEM, KDF, AEAD and draft revision each system expects. It leaves you with a verified inventory and vendor answers you can check before any identifier changes.
Find every HPKE use in your inventory
Search your cryptographic inventory and application code for HPKE in its common carriers: MLS group messaging, Oblivious HTTP gateways, COSE and JOSE encrypted payloads, and encryption features in vendor products. Record the system, owner and data each one protects. You know this step is done when every HPKE use appears in the inventory with a named owner, even if some entries are marked as unknown configuration.
Record the KEM, KDF and AEAD identifiers
For each use, capture the HPKE mode (base, PSK, auth or auth PSK) and the three 16-bit identifiers for the KEM, KDF and AEAD, as RFC 9180 defines them. Where the carrier is MLS, the cipher suite already fixes these values, so record the suite. The output is a table with one row per system, which becomes the baseline for every later comparison.
Ask vendors which HPKE specification they implement
Send each vendor a written question: do you implement RFC 9180 only, or do you also implement the post-quantum KEMs from draft-ietf-hpke-pq? Ask for the draft revision and the code points they use, and whether those values follow the draft or a private assignment. You know this step is done when each vendor has answered in writing and the answer is filed next to the inventory row.
Check the draft revision and code points
Compare the vendor's answer against the draft text. Draft-ietf-hpke-pq-05 lists ML-KEM and hybrid KEM code points, such as 0x0041 for ML-KEM-768 and 0x647a for MLKEM768-X25519, but these are draft values that can change before publication. Mark any system using a draft code point as provisional, and record the revision it follows. The check is complete when every provisional entry has its revision noted.
Confirm the carrier format and algorithm identifiers
Determine whether the payload is carried in JWE or COSE. For JOSE, check the algorithm identifiers against RFC 9864, which defines fully-specified identifiers and deprecates polymorphic ones. For COSE, the HPKE-0 to HPKE-7 identifiers in draft-ietf-cose-hpke-20 are combinations of RFC 9180 values. The output is a list of the exact identifier strings each system emits, checked against the current registry.
Test interoperability before changing any identifier
Before a production change, run a test exchange between your system and the vendor's in a non-production environment. Encrypt a sample message with the planned identifiers, decrypt it on the other side, and log the result. The test is complete when both sides decrypt correctly and the identifiers they report match the inventory. Repeat the test whenever either side updates its library.
Record the decision and the open questions
Write down which identifiers you will change, which you will keep, and which systems are waiting on a draft or a vendor answer. Note the revision of each draft you depend on. The record is ready when a reviewer can see, for every HPKE use, the current identifiers, the planned identifiers, and the reason for the change or the wait.
What do people mix up with HPKE?
HPKE is often confused with token formats, older hybrid encryption schemes and post-quantum draft identifiers. Each card below separates one of these confusions so that engineers and reviewers can check which specification a given value belongs to.
HPKE is not a token format
HPKE is a public key encryption scheme. It does not define a token or container on its own. Draft work carries HPKE output inside JWE (JSON Web Encryption) and COSE (CBOR Object Signing and Encryption), as draft-ietf-jose-hpke-encrypt-22 and draft-ietf-cose-hpke-20 describe. When a vendor or tender mentions HPKE in a token context, check whether they mean the HPKE scheme, the JWE or COSE container, or both.
JOSE HPKE draftHPKE is not ECIES
RFC 9180 says many non-interoperable hybrid encryption standards exist, mostly variants on ECIES, and that HPKE provides a subset of their functions specified clearly enough for interoperable implementation. HPKE is therefore a specific, narrower standard rather than a general name for ECIES-style encryption. Confirm which exact scheme, KEM, KDF and AEAD a system uses before treating two implementations as compatible.
RFC 9180 textKEM identifiers are not signature identifiers
HPKE KEM identifiers such as 0x0010 or 0x0040 select a key encapsulation method. Signature identifiers in JOSE and COSE name signing algorithms. RFC 9964 registers ML-DSA for JOSE and COSE, which is a signature use, and draft-ietf-hpke-pq-05 registers ML-KEM for HPKE, which is a key encapsulation use. The same algorithm family can appear in both places under different identifiers, so match each value to the specification it belongs to.
RFC 9964 textDraft code points are not final
The HPKE post-quantum draft lists KEM code points such as 0x0040 for ML-KEM-512 and 0x647a for MLKEM768-X25519. The draft states these are draft values that could change before publication. Do not hard-code them into long-lived configuration or evidence without rechecking the current draft or the published RFC.
HPKE PQ draftRFC 9180 and draft identifiers differ
RFC 9180 identifiers such as 0x0010 and 0x0020 are published values, while the post-quantum KEM and KDF identifiers come from a working group draft. The two sets are not interchangeable. A peer that supports RFC 9180 suites does not necessarily support the draft post-quantum code points, so confirm support for each identifier in the library and version you run.
RFC 9180 textA listed draft is not an RFC
The HPKE post-quantum draft, draft-ietf-hpke-pq-05, carries a Datatracker state of I-D Exists and has no RFC number. The JOSE and COSE HPKE drafts were also still awaiting publication as of 4 December 2026. A draft is a work in progress, so do not describe it as published, approved or standardized in procurement answers, audit evidence or product documentation.
IETF DatatrackerWhat do people search about HPKE?
What does HPKE stand for and is it standardized?
HPKE stands for Hybrid Public Key Encryption. It is specified in RFC 9180, titled "Hybrid Public Key Encryption," published in February 2022 as an Informational RFC from the IRTF Crypto Forum Research Group. Informational means the document describes a scheme for interoperable use but is not an Internet Standards Track document. RFC 9180 describes encrypting arbitrary-sized plaintexts to a recipient's public key using a combination of a KEM, a KDF and an AEAD. It works with any combination of these building blocks, and its instantiations are based on ECDH, HKDF and SHA2. RFC 9180 also notes that many competing, non-interoperable hybrid encryption standards exist, mostly variants on ECIES, and HPKE specifies a subset of their functions clearly enough for interoperable implementation.
Is HPKE a token format?
No. HPKE is a public key encryption scheme, not a token format. It defines how to encrypt a message to a recipient's public key. Applications carry HPKE output inside an existing container. Draft-ietf-jose-hpke-encrypt-22 uses JSON Web Encryption (JWE) to carry HPKE output, and draft-ietf-cose-hpke-20 uses CBOR Object Signing and Encryption (COSE) for the same purpose. If a vendor describes HPKE support, confirm which container format it uses and whether that container is the one your systems parse.
Is HPKE post-quantum?
RFC 9180 itself is classical. Its KEM identifiers cover elliptic curve Diffie-Hellman variants such as DHKEM(X25519, HKDF-SHA256) and DHKEM(P-256, HKDF-SHA256), so base RFC 9180 HPKE does not provide post-quantum key encapsulation. Post-quantum and hybrid KEMs for HPKE are defined in draft-ietf-hpke-pq-05, "Post-Quantum and Post-Quantum/Traditional Hybrid Algorithms for HPKE," dated 6 July 2026. That document is a Standards Track working group draft with no RFC number. It lists ML-KEM based and hybrid KEM code points such as ML-KEM-768 and MLKEM768-X25519. Those values are draft values that could change before publication. Confirm with each vendor whether they implement this draft, which revision, and whether the code points they use match the draft you check.
Which protocols use HPKE?
Several published and draft protocols rely on HPKE. The main ones are:
- Messaging Layer Security (MLS), in RFC 9420, which uses HPKE for public key encryption and specifies the HPKE KEM, KDF and AEAD in each cipher suite.
- Oblivious HTTP, in RFC 9458, which uses HPKE base mode. Each gateway key configuration carries 16-bit KEM, KDF and AEAD identifiers.
- Draft-ietf-cose-hpke-20, which defines HPKE-0 to HPKE-7 as combinations of RFC 9180 identifiers for use in COSE.
- Draft-ietf-jose-hpke-encrypt-22, which uses HPKE with JSON Web Encryption (JWE).
The two JOSE and COSE drafts had not been published as RFCs at the time of the sources. Check the current status on the IETF Datatracker before relying on them in a specification.
What changes for a migration if our systems use HPKE?
Migration work for HPKE depends on where it is deployed. Start with an inventory of which components negotiate or configure HPKE: messaging clients, gateways, or any application that stores HPKE cipher suite identifiers. Next, determine which of those components can move from classical KEM identifiers to post-quantum or hybrid identifiers. Classical RFC 9180 KEMs use elliptic curve groups, and the post-quantum code points in draft-ietf-hpke-pq-05 carry much larger public keys and ciphertexts. For example, that draft gives an ML-KEM-768 public key size of 1184 bytes and a ciphertext size of 1088 bytes. Test size limits in any message formats, storage and network paths before changing identifiers. Expect the cost to be mostly engineering and testing time, along with any vendor updates needed to support the new identifiers.
What should we ask a vendor about HPKE support and draft versions?
Ask the vendor which HPKE specification and revision their product implements. Ask whether they support RFC 9180 only or also the post-quantum KEMs in draft-ietf-hpke-pq, and which revision, such as draft-ietf-hpke-pq-05. Ask which KEM, KDF and AEAD identifiers they use by default and whether those values match RFC 9180 or a draft. Ask whether they carry HPKE output inside JWE, COSE or another container, and which revision of that container draft they follow. Ask how they will handle draft code points that change before publication, and what their upgrade path looks like when an RFC is published. Request written answers that name versions, because the sources note that draft values could change before publication.
Does HPKE need to be installed or configured separately?
It depends on the product. HPKE is a scheme that applications implement, so whether your stack already includes it depends on whether a library or product in use provides it. Check the documentation of each component to see whether HPKE is available, which version of the specification it implements, and whether it is enabled by default. Some protocols, such as MLS, require HPKE as part of their cipher suite definition, so the scheme may be present wherever that protocol is used. Confirm these points with the vendor or project documentation for your environment rather than assuming they are configured.
Who sets the HPKE algorithm identifiers that appear in configuration?
The identifiers are defined in specifications, not chosen per deployment. RFC 9180 registers KEM, KDF and AEAD identifiers, such as 0x0020 for DHKEM(X25519, HKDF-SHA256) and 0x0001 for AES-128-GCM. Protocols that use HPKE either reference these values or define their own combinations, for example the HPKE-0 to HPKE-7 combinations in draft-ietf-cose-hpke-20. Where your configuration contains an identifier, check the registry or specification that defines it and confirm the value matches the revision your product implements. The identifiers can differ between RFC 9180 and drafts, so treat any value taken from a draft as provisional until the document is published.
How DeployOpen helps when HPKE turns up in a migration
When HPKE appears in a migration, it usually sits inside a protocol or application that someone else specified, such as OHTTP or MLS, or inside a COSE or JOSE message. DeployOpen starts by identifying which HPKE mode, KEM, KDF and AEAD the system actually uses, then plans changes around that configuration.
How we scope
- We confirm which systems or applications use HPKE and which containers, such as JWE or COSE, carry its output.
- We record the mode, KEM, KDF and AEAD identifiers in use, so the written scope names exactly what is covered.
- Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
How we build
- We review the deployed configuration against the RFC 9180 identifiers and any draft code points your vendors have adopted.
- We test interoperability between your clients and servers, since draft code points may change before publication.
- We implement changes in your own infrastructure, with SSO, access control and audit logging kept in place.
How we hand over
- We document the HPKE configuration, identifiers, sizes and container formats that your teams and auditors will need.
- We deliver a written record of what changed, what was tested and what remains dependent on draft or vendor decisions.
- We walk your security and platform engineers through the handover so the configuration can be maintained internally.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers, so draft-stage changes can be tracked.
- We retest after standards move from draft to publication or after your vendors change HPKE identifiers.
- Ask any support proposal to name the drafts it tracks and how it will handle code point changes before final publication.

