---
title: "ColorSyncProfileGetMD5(_:)"
framework: colorsync
role: symbol
role_heading: Function
platforms: [iOS 16.0+, iPadOS 16.0+, Mac Catalyst 13.0+, macOS 10.13+, tvOS 16.0+, visionOS 1.0+, watchOS 9.0+]
path: "colorsync/colorsyncprofilegetmd5(_:)"
---

# ColorSyncProfileGetMD5(_:)

Returns the MD5 digest for a profile.

## Declaration

```swift
func ColorSyncProfileGetMD5(_ prof: ColorSyncProfile!) -> ColorSyncMD5
```

## Parameters

- `prof`: The profile to compute the digest for.

## Return Value

Return Value The MD5 digest for the profile, calculated as defined by the ICC specification, or a “zero” signature (filled with zeros) in case of failure.

## See Also

### Computing profile digests

- [ColorSyncMD5](colorsync/colorsyncmd5.md)
- [COLORSYNC_MD5_LENGTH](colorsync/colorsync_md5_length.md)
- [kColorSyncProfileMD5Digest](colorsync/kcolorsyncprofilemd5digest.md)
