---
title: HPKEKEMPrivateKey
framework: cryptokit
role: symbol
role_heading: Protocol
path: cryptokit/hpkekemprivatekey
---

# HPKEKEMPrivateKey

A type that represents the private key in HPKE.

## Declaration

```swift
@preconcurrency protocol HPKEKEMPrivateKey : KEMPrivateKey where Self.PublicKey : HPKEKEMPublicKey
```

## Relationships

### Inherits From

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

### Inherited By

- [HPKEKEMPrivateKeyGeneration](cryptokit/hpkekemprivatekeygeneration.md)

### Conforming Types

- [XWingMLKEM768X25519.PrivateKey](cryptokit/xwingmlkem768x25519/privatekey.md)
