---
title: "init(kem:kdf:aead:)"
framework: cryptokit
role: symbol
role_heading: Initializer
path: "cryptokit/hpke/ciphersuite/init(kem:kdf:aead:)"
---

# init(kem:kdf:aead:)

Creates an HPKE cipher suite.

## Declaration

```swift
init(kem: HPKE.KEM, kdf: HPKE.KDF, aead: HPKE.AEAD)
```

## Parameters

- `kem`: The key encapsulation mechanism for encapsulating the symmetric key.
- `kdf`: The key derivation function for deriving the symmetric key.
- `aead`: The authenticated encryption with additional data (AEAD) algorithm for encrypting and decrypting messages.
