---
title: HPKE.KDF.HKDF_SHA256
framework: cryptokit
role: symbol
role_heading: Case
path: cryptokit/hpke/kdf/hkdf_sha256
---

# HPKE.KDF.HKDF_SHA256

An HMAC-based key derivation function that uses SHA-2 hashing with a 256-bit digest.

## Declaration

```swift
case HKDF_SHA256
```
