Signature · EdDSA FIPS 186-5 / Edwards25519 RFC 8032 §7.1 Verified

Ed25519 signature

Deterministic signature of a message with a 32-byte secret key, checked against RFC 8032.

Open in app Download .ncw

Ed25519 signature

Overview & Cryptographic Context

Ed25519 (specified in IETF RFC 8032 and NIST FIPS 186-5) is the Edwards-curve Digital Signature Algorithm (EdDSA) over the twisted Edwards curve -x2 + y2 = 1 - (121665/121666)x2y2 (mod 2255-19) paired with SHA-512. Unlike traditional ECDSA, which requires a fresh cryptographic random nonce k for every signature (and suffers catastrophic private-key recovery if a nonce is ever reused), Ed25519 derives the per-message nonce r = SHA-512(prefix ‖ M) mod ℓ deterministically from the secret key's upper SHA-512 half and the message itself.

This workflow reproduces RFC 8032 §7.1 (TEST 2), signing a 1-byte message (0x72) under a 32-byte secret key seed to produce the exact 64-byte signature R ‖ S.

Pipeline Architecture & Wiring Flow

Workflow Input (PrivateKey 32B, Message 1B) ──► Ed25519 Sign (PureEdDSA) ──► Workflow Output (Signature 64B)
  1. Seed & Message Ingress (Workflow Input): Supplies the 32-byte Ed25519 secret seed PrivateKey and the 1-byte Message (0x72).
  2. Deterministic Signing (Ed25519 Sign): Expands the 32-byte seed with SHA-512 into the clamped secret scalar s and nonce prefix, derives public key A = [s]B, computes R = [r]B, and solves S = (r + SHA-512(R ‖ A ‖ M) · s) mod ℓ.
  3. Signature Output (Workflow Output): Emits the 64-byte signature (R || S).

Nodes & Configuration

NodeNode Role & Key ParametersCount
Workflow InputSupplies PrivateKey (32 B) and Message (1 B)1
Ed25519 SignComputes deterministic 64-byte RFC 8032 PureEdDSA signature1
Workflow OutputCollects the 64-byte Signature1

Node reference →

Inputs, Outputs & Test Vector Verification

Verification Source: RFC 8032 §7.1 (TEST 2, message 0x72)

Inputs

NameTypeValue (Hex)
PrivateKeybytes (32 B)4ccd089b28ff96da9db6c346ec114e0f5b8a319f35aba624da8cf6ed4fb8a6fb
Messagebytes (1 B)72

Expected Outputs

NameTypeValue (Hex)
Signaturebytes (64 B)92a009a9f0d4cab8720e820b5f642540a2b27b5416503f8fb3762223ebdb69da085ac1e43e15996e458f3613d0f11d8c387b2eaeb4302aeeb00d291612bb0c00