---
title: HPKE.Errors.inconsistentCiphersuiteAndKey
framework: cryptokit
role: symbol
role_heading: Case
path: cryptokit/hpke/errors/inconsistentciphersuiteandkey
---

# HPKE.Errors.inconsistentCiphersuiteAndKey

The supplied encryption key is incompatible with the requested cipher suite.

## Declaration

```swift
case inconsistentCiphersuiteAndKey
```
