Curve25519

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

Curve25519.swift:19
iOS
13+
macOS
10.15+
tvOS
13+
watchOS
6+
enum Curve25519

See also

  • enum P521

    An elliptic curve that enables NIST P-521 signatures and key agreement.

  • enum P384

    An elliptic curve that enables NIST P-384 signatures and key agreement.

  • enum P256

    An elliptic curve that enables NIST P-256 signatures and key agreement.

  • struct SharedSecret

    A key agreement result from which you can derive a symmetric cryptographic key.

  • enum HPKE

    A container for hybrid public key encryption (HPKE) operations.

Citizens in Crypto

Types

  • enum KeyAgreement

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

  • enum Signing

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