<!--
{
  "availability" : [
    "macOS: 10.7.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Security",
  "identifier" : "/documentation/Security/kSecAttrPRFHmacAlgSHA256",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Security"
    ],
    "preciseIdentifier" : "c:@kSecAttrPRFHmacAlgSHA256"
  },
  "title" : "kSecAttrPRFHmacAlgSHA256"
}
-->

# kSecAttrPRFHmacAlgSHA256

Use the SHA256 algorithm.

```
let kSecAttrPRFHmacAlgSHA256: CFString
```

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)