---
title: hpke_Curve25519_SHA256_ChachaPoly
framework: authenticationservices
role: symbol
role_heading: Type Property
path: authenticationservices/asauthorizationproviderextensionencryptionalgorithm/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.

## Declaration

```swift
static let hpke_Curve25519_SHA256_ChachaPoly: ASAuthorizationProviderExtensionEncryptionAlgorithm
```
