---
title: kSecCodeInfoDigestAlgorithm
framework: security
role: symbol
role_heading: Global Variable
path: security/kseccodeinfodigestalgorithm
---

# kSecCodeInfoDigestAlgorithm

A key whose value is a number indicating the cryptographic hash function.

## Declaration

```swift
let kSecCodeInfoDigestAlgorithm: CFString
```

## Discussion

Discussion The value is a CFNumber indicating the kind of cryptographic hash function used within the signature to seal its pieces together. See SecCSDigestAlgorithm for possible value.
