Key Encapsulation Mechanism (KEM)
A method two parties use to agree a shared secret key over a public channel
A key encapsulation mechanism (KEM) is a method two parties use to agree a shared secret key over a public channel. That shared key is what encrypts the connection.
It's how post-quantum TLS sets up encryption. Where today's connections use an elliptic-curve exchange, post-quantum TLS adds a KEM alongside it. The KEM standardised by NIST is ML-KEM (FIPS 203), and NIST has selected HQC as a further one.
In TLS 1.3 the two are combined, so the session stays strong if only one half survives. That pairing is called hybrid key exchange.