<!--
{
  "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/AEAD",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Apple CryptoKit",
      "CryptoKit"
    ],
    "preciseIdentifier" : "s:9CryptoKit4HPKEO4AEADO"
  },
  "title" : "HPKE.AEAD"
}
-->

# HPKE.AEAD

The authenticated encryption with associated data (AEAD) algorithms to use in HPKE.

```
enum AEAD
```

## Topics

### Enumeration Cases

[`case AES_GCM_128`](/documentation/CryptoKit/HPKE/AEAD/AES_GCM_128)

An Advanced Encryption Standard cipher in Galois/Counter Mode with a key length of 128 bits.

[`case AES_GCM_256`](/documentation/CryptoKit/HPKE/AEAD/AES_GCM_256)

An Advanced Encryption Standard cipher in Galois/Counter Mode with a key length of 256 bits.

[`case chaChaPoly`](/documentation/CryptoKit/HPKE/AEAD/chaChaPoly)

A ChaCha20 stream cipher with the Poly1305 message authentication code.

[`case exportOnly`](/documentation/CryptoKit/HPKE/AEAD/exportOnly)

An export-only mode.

## Relationships

### Conforms To

[`Equatable`](/documentation/Swift/Equatable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Hashable`](/documentation/Swift/Hashable)

[`Sendable`](/documentation/Swift/Sendable)

[`CaseIterable`](/documentation/Swift/CaseIterable)

---

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)