<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CryptoKit",
  "identifier" : "/documentation/CryptoKit/HPKE/Ciphersuite/init(kem:kdf:aead:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Apple CryptoKit"
    ],
    "preciseIdentifier" : "s:9CryptoKit4HPKEO11CiphersuiteV3kem3kdf4aeadAeC3KEMO_AC3KDFOAC4AEADOtcfc"
  },
  "title" : "init(kem:kdf:aead:)"
}
-->

# init(kem:kdf:aead:)

Creates an HPKE cipher suite.

```
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.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)