---
title: "init(integrityCheckedRepresentation:)"
framework: cryptokit
role: symbol
role_heading: Initializer
path: "cryptokit/xwingmlkem768x25519/privatekey/init(integritycheckedrepresentation:)"
---

# init(integrityCheckedRepresentation:)

## Declaration

```swift
init<D>(integrityCheckedRepresentation: D) throws where D : DataProtocol
```

## See Also

### Creating a private key

- [init(seedRepresentation:publicKey:)](cryptokit/xwingmlkem768x25519/privatekey/init(seedrepresentation:publickey:).md)
