---
title: KEMPublicKey
framework: cryptokit
role: symbol
role_heading: Protocol
path: cryptokit/kempublickey
---

# KEMPublicKey

The public key for a key encapsulation mechanism.

## Declaration

```swift
@preconcurrency protocol KEMPublicKey : Sendable
```

## Topics

### Instance Methods

- [encapsulate()](cryptokit/kempublickey/encapsulate().md)

## Relationships

### Inherits From

- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

### Inherited By

- [HPKEKEMPublicKey](cryptokit/hpkekempublickey.md)

### Conforming Types

- [MLKEM1024.PublicKey](cryptokit/mlkem1024/publickey.md)
- [MLKEM768.PublicKey](cryptokit/mlkem768/publickey.md)
- [XWingMLKEM768X25519.PublicKey](cryptokit/xwingmlkem768x25519/publickey.md)

## See Also

### KEM keys

- [KEMPrivateKey](cryptokit/kemprivatekey.md)
