Skip to content
ecdsa.com
RecommendedTwisted Edwards

edwards25519

Edwards25519 is the twisted Edwards form of Curve25519 used by Ed25519 signatures.

edwards25519 is a twisted Edwards curve ax² + y² = 1 + dx²y² over a 255-bit prime field with a 253-bit prime-order subgroup and cofactor 8; its estimated security level is 128 bits. Status: recommended for new systems.

Edwards25519 is −x² + y² = 1 + dx²y² over 2^255 − 19 with d = −121665/121666. It is birationally equivalent to Curve25519, so both share a group of order 8·n. Its addition law is complete — there are no exceptional cases — which makes constant-time code simpler.

Ed25519 (RFC 8032 §5.1) signatures are 64 bytes with 32-byte public keys, and they are deterministic: the nonce is derived from the private key and the message, so a weak random number generator cannot leak the key. Ed25519 is used by SSH (ssh-ed25519), TLS 1.3, DNSSEC (algorithm 15), JOSE and COSE (Ed25519, RFC 9864), Solana and Tor onion services, and FIPS 186-5 approves it.

Because the group has cofactor 8, libraries disagree on edge cases — whether verification multiplies by the cofactor and which non-canonical encodings of points they accept — so the same signature can verify in one library and fail in another (Chalkias, Garillot and Nikolaenko, 'Taming the many EdDSAs').

Names in standards

StandardName
RFC 8032edwards25519
RFC 8032 / RFC 8410Ed25519

Object identifiers

Domain parameters

255-bit prime field · about 128-bit security

Field prime p
0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffed
Coefficient a
0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffec
Coefficient d
0x52036cee2b6ffe738cc740797779e89800700a4d4141d8ab75eb4dca135978a3
Base point x
0x216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a
Base point y
0x6666666666666666666666666666666666666666666666666666666666666658
Order n of the base point
0x1000000000000000000000000000000014def9dea2f79cd65812631a5cf5d3ed
Cofactor h
0x8

Used in

  • SSH (ssh-ed25519)
  • TLS 1.3 (ed25519)
  • DNSSEC (algorithm 15)
  • JOSE (Ed25519, EdDSA)
  • Solana
  • Signify / minisign
  • Tor onion services

Identifiers in registries

TLS signature schemes
ed25519 0x0807
JOSE algorithms
Ed25519
JWK curves
Ed25519
COSE algorithms
Ed25519 -19
COSE elliptic curves
Ed25519 6
SSH public key algorithms
ssh-ed25519ssh-mldsa44-ed25519
DNSSEC algorithm numbers
ED25519 15

Standards and references

All curves