---
title: Curve25519.Signing.PrivateKey
framework: cryptokit
role: symbol
role_heading: Structure
path: cryptokit/curve25519/signing/privatekey
---

# Curve25519.Signing.PrivateKey

A Curve25519 private key used to create cryptographic signatures.

## Declaration

```swift
struct PrivateKey
```

## Topics

### Creating a private key

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

### Reporting the private key

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

### Finding the public key

- [publicKey](cryptokit/curve25519/signing/privatekey/publickey.md)

### Creating a signature

- [signature(for:)](cryptokit/curve25519/signing/privatekey/signature(for:).md)

## Relationships

### Conforms To

- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Using keys

- [Curve25519.Signing.PublicKey](cryptokit/curve25519/signing/publickey.md)
