---
title: kSecAttrSalt
framework: security
role: symbol
role_heading: Global Variable
path: security/ksecattrsalt
---

# kSecAttrSalt

A key whose value indicates the salt to use for this item.

## Declaration

```swift
let kSecAttrSalt: CFString
```

## Discussion

Discussion The corresponding value is of type CFData that indicates the salt to use with this cryptographic key.
