---
title: "hash(into:)"
framework: extensionfoundation
role: symbol
role_heading: Instance Method
path: "extensionfoundation/appextensionidentity/hash(into:)"
---

# hash(into:)

Hashes the essential components of the extension by feeding them into the given hash function.

## Declaration

```swift
func hash(into hasher: inout Hasher)
```

## Parameters

- `hasher`: The hash function to use when combining the components of the extension.

## See Also

### Comparing app extensions

- [==(_:_:)](extensionfoundation/appextensionidentity/==(_:_:).md)
