---
title: kSecKeyEffectiveKeySize
framework: security
role: symbol
role_heading: Global Variable
path: security/kseckeyeffectivekeysize
---

# kSecKeyEffectiveKeySize

Type uint32; value is the effective number of bits in this key.  For example, a DES key has a key size in bits (kSecKeyKeySizeInBits) of 64 but a value for kSecKeyEffectiveKeySize of 56.

## Declaration

```swift
var kSecKeyEffectiveKeySize: Int32 { get }
```
