---
title: P521_SHA512_AES_GCM_256
framework: cryptokit
role: symbol
role_heading: Type Property
path: cryptokit/hpke/ciphersuite/p521_sha512_aes_gcm_256
---

# P521_SHA512_AES_GCM_256

A cipher suite for HPKE that uses NIST P-521 elliptic curve key agreement, SHA-2 key derivation with a 512-bit digest, and the Advanced Encryption Standard cipher in Galois/Counter Mode with a key length of 256 bits.

## Declaration

```swift
static let P521_SHA512_AES_GCM_256: HPKE.Ciphersuite
```

## See Also

### Using elliptic curve cipher suites

- [Curve25519_SHA256_ChachaPoly](cryptokit/hpke/ciphersuite/curve25519_sha256_chachapoly.md)
- [P256_SHA256_AES_GCM_256](cryptokit/hpke/ciphersuite/p256_sha256_aes_gcm_256.md)
- [P384_SHA384_AES_GCM_256](cryptokit/hpke/ciphersuite/p384_sha384_aes_gcm_256.md)
