---
title: HPKE.KEM.P256_HKDF_SHA256
framework: cryptokit
role: symbol
role_heading: Case
path: cryptokit/hpke/kem/p256_hkdf_sha256
---

# HPKE.KEM.P256_HKDF_SHA256

A key encapsulation mechanism using NIST P-256 elliptic curve key agreement and SHA-2 hashing with a 256-bit digest.

## Declaration

```swift
case P256_HKDF_SHA256
```

## See Also

### Elliptic curve key encapsulation mechanisms

- [HPKE.KEM.Curve25519_HKDF_SHA256](cryptokit/hpke/kem/curve25519_hkdf_sha256.md)
- [HPKE.KEM.P384_HKDF_SHA384](cryptokit/hpke/kem/p384_hkdf_sha384.md)
- [HPKE.KEM.P521_HKDF_SHA512](cryptokit/hpke/kem/p521_hkdf_sha512.md)
