---
title: init()
framework: cryptokit
role: symbol
role_heading: Initializer
path: cryptokit/curve25519/signing/privatekey/init()
---

# init()

Creates a random Curve25519 private key for signing.

## Declaration

```swift
init()
```

## See Also

### Creating a private key

- [init(rawRepresentation:)](cryptokit/curve25519/signing/privatekey/init(rawrepresentation:).md)
