---
title: stateHash
framework: localauthentication
role: symbol
role_heading: Instance Property
path: localauthentication/ladomainstatebiometry/statehash
---

# stateHash

Contains state hash data for the available biometry type. Returns nil if no biometry entities are enrolled.

## Declaration

```swift
var stateHash: Data? { get }
```

## Discussion

Discussion If biometric database was modified (fingers, faces were removed or added), stateHash data will change. Nature of such database changes cannot be determined but comparing data of stateHash after different evaluatePolicy calls will reveal the fact database was changed between the calls.      the state of biometry has not changed.
