NEW
Also known as: KEM
A public-key technique for securely transporting a symmetric key to enable efficient confidential communication.
DESCRIPTION
A Key Encapsulation Mechanism (KEM) uses asymmetric cryptography to encapsulate and deliver a random symmetric key to a recipient, who decapsulates it with their private key. KEMs separate key transport from data encryption and are foundational in hybrid encryption schemes. They underpin modern protocols such as HPKE, and many post-quantum standards specify KEMs to resist quantum attacks. KEMs enable performance and security by leveraging fast symmetric encryption for bulk data after secure key delivery.
ALTERNATIVE DEFINITIONS
Wikipedia
In cryptography, a key encapsulation mechanism (KEM) is an approach to encrypting a symmetric key using asymmetric (public-key) cryptography.
Highlights KEM as a hybrid approach combining asymmetric protection of a symmetric key.
IETF RFC 9180 (HPKE)
Hybrid Public Key Encryption (HPKE) is a scheme that provides a variant of public key encryption using a KEM, a key derivation function (KDF), and an authenticated encryption with associated data (AEAD) encryption function.
Positions KEM as a core primitive within HPKE alongside KDF and AEAD.
NIST
NISTās post-quantum cryptography project standardizes public-key algorithms, including key-encapsulation mechanisms (KEMs), that are designed to be secure against attacks by quantum computers.
Emphasizes KEMs as standardized post-quantum primitives.
RELATED TERMS
Kyber Hybrid Public Key Encryption DiffieāHellman Key Exchange RSA Elliptic Curve Cryptography Post-Quantum Cryptography Key Derivation Function Authenticated Encryption Public Key Encryption
COMPETING TERMS
RELATIONS
- Narrower: Classic McEliece
KNOWLEDGE AREAS
Data Security Software Engineering Cloud
TARGET AUDIENCE
Security Architect Cybersecurity Engineer Chief Information Security Officer Software Developer Cloud Architect DevOps Engineer Data Privacy Officer
EXTERNAL SOURCES
- Wikipedia - Key encapsulation
- IETF - HPKE specification using KEM
- NIST - NIST PQC project overview
- Open Quantum Safe - PQC libraries and KEM demos
TOP QUESTIONS
What problem does a Key Encapsulation Mechanism solve?
A KEM securely transports a symmetric session key using public-key cryptography, enabling fast bulk encryption after the key is delivered.
Category: Requirements
How is a Key Encapsulation Mechanism used in practice?
Protocols like HPKE and post-quantum TLS variants use KEM to establish shared keys, which are then used with AEAD ciphers for data confidentiality.
Category: Example
Why are Key Encapsulation Mechanisms important for post-quantum security?
KEMs like Kyber are designed to resist quantum attacks, protecting key transport even if classical schemes like RSA become vulnerable.
Category: Relevancy
What is a common misunderstanding about Key Encapsulation Mechanisms?
Many assume KEM encrypts user data directly; actually, it encapsulates a symmetric key, while data is encrypted with symmetric algorithms.
Category: Misunderstanding
What risks exist when implementing a Key Encapsulation Mechanism?
Incorrect parameter choices or side-channel vulnerabilities can leak private keys. Poor randomness can weaken the encapsulated session key.
Category: Risks
How does a Key Encapsulation Mechanism compare to Key Exchange?
KEM performs key transport via public-key operations, while key exchange derives a shared secret interactively, often via DiffieāHellman.
Category: Alternatives
What are best practices for deploying a Key Encapsulation Mechanism?
Use standardized KEMs, vetted libraries, constant-time implementations, strong randomness, and integrate with AEAD and KDF per protocol guidance.
Category: Best practices
Is Key Encapsulation Mechanism used in HPKE?
Yes, HPKE combines a KEM, a KDF, and an AEAD to provide efficient public-key encryption of arbitrary-length messages.
Category: Example
Which teams should understand Key Encapsulation Mechanism?
Security architects, cryptography engineers, and developers implementing protocol stacks should understand KEM, especially for post-quantum readiness.
Category: Audience