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

# kSecAttrPRF

A key whose value indicates the item’s pseudorandom function.

```
let kSecAttrPRF: CFString
```

## Discussion

The corresponding value is of type <doc://com.apple.documentation/documentation/CoreFoundation/CFString> and indicates the pseudorandom function associated with this cryptographic key. See [Pseudorandom Function Values](/documentation/Security/item-attribute-keys-and-values#Pseudorandom-Function-Values) for a list of valid values.

---

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)