---
title: HMAC.Key
framework: cryptokit
role: symbol
role_heading: Type Alias
path: cryptokit/hmac/key
---

# HMAC.Key

An alias for the symmetric key type used to compute or verify a message authentication code.

## Declaration

```swift
typealias Key = SymmetricKey
```

## See Also

### Getting a key

- [SymmetricKey](cryptokit/symmetrickey.md)
