---
title: kSecDigestHMACSHA2
framework: security
role: symbol
role_heading: Global Variable
path: security/ksecdigesthmacsha2
---

# kSecDigestHMACSHA2

An HMAC using one of the SHA2 digest algorithms.

## Declaration

```swift
let kSecDigestHMACSHA2: CFString
```
