<!--
{
  "availability" : [
    "macOS: 15.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AuthenticationServices",
  "identifier" : "/documentation/AuthenticationServices/ASAuthorizationProviderExtensionEncryptionAlgorithm/hpke_Curve25519_SHA256_ChachaPoly",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "Authentication Services",
      "AuthenticationServices"
    ],
    "preciseIdentifier" : "c:@ASAuthorizationProviderExtensionEncryptionAlgorithmHPKE_Curve25519_SHA256_ChachaPoly"
  },
  "title" : "hpke_Curve25519_SHA256_ChachaPoly"
}
-->

# hpke_Curve25519_SHA256_ChachaPoly

A cipher suite for HPKE that uses X25519 elliptic curve key agreement, SHA-2 key derivation
with a 256-bit digest, and the ChaCha20 stream cipher with the Poly1305 message authentication code.

```
static let hpke_Curve25519_SHA256_ChachaPoly: ASAuthorizationProviderExtensionEncryptionAlgorithm
```

---

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)