<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CryptoKit",
  "identifier" : "/documentation/CryptoKit/Curve25519",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Apple CryptoKit"
    ],
    "preciseIdentifier" : "s:9CryptoKit10Curve25519O"
  },
  "title" : "Curve25519"
}
-->

# Curve25519

An elliptic curve that enables X25519 key agreement and Ed25519 signatures.

```
enum Curve25519
```

## Topics

### Performing operations

[`Curve25519.KeyAgreement`](/documentation/CryptoKit/Curve25519/KeyAgreement)

A mechanism used to create a shared secret between two users by
performing X25519 key agreement.

[`Curve25519.Signing`](/documentation/CryptoKit/Curve25519/Signing)

A mechanism used to create or verify a cryptographic signature using
Ed25519.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)