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

# kSecCodeInfoDigestAlgorithms

A key whose value is a list of the kinds of cryptographic hash functions available within the signature.

```
let kSecCodeInfoDigestAlgorithms: CFString
```

## Discussion

The value is a <doc://com.apple.documentation/documentation/CoreFoundation/CFArray> of <doc://com.apple.documentation/documentation/CoreFoundation/CFNumber> objects indicating the kinds of cryptographic hash functions available within the signature. The ordering of the items in the array has no significance in terms of priority, but determines the order in which the hashes appear in [`kSecCodeInfoCdHashes`](/documentation/Security/kSecCodeInfoCdHashes).

---

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)