NodeCrypto Help

Ed25519 Sign

Category: Asymmetric & Elliptic Curve ยท Node Type ID: asymmetric-ed25519-sign

High-speed Edwards-curve digital signature (RFC 8032)

Overview

Computes a deterministic 64-byte Ed25519 digital signature ($R \parallel S$, RFC 8032 / FIPS 186-5 PureEdDSA) over an arbitrary-length message using a 32-byte Ed25519 private key.

Unlike ECDSA, PureEdDSA Ed25519 hashes the entire message internally with SHA-512 and derives the per-message nonce deterministically from the private key and message, eliminating random-number-generator nonce reuse vulnerabilities.

When to Use

Parameter Configuration

Ed25519 Sign has no configurable parameters; RFC 8032 PureEdDSA deterministically signs the raw Message using SHA-512 internally.

Port I/O Specification

See Ports & Connections for general wiring rules, data type colors, and dynamic port creation.

Input Ports

Port Nature: Fixed Input Ports (2 total).

Port NamePort IDData TypeRequiredVisibility ConditionDescription
Private Key privateKey Bytes (32B) Required Always visible 32-byte Ed25519 private key seed.
Message message Bytes Required Always visible Raw message bytes (Uint8Array) of any length to sign.

Output Ports

Port Nature: Fixed Output Ports (1 total).

Port NamePort IDData TypeVisibility ConditionDescription
Signature signature Bytes (64B) Always visible 64-byte Ed25519 signature ($R \parallel S$).

Error Cases

When any of the following conditions occurs at runtime, this node transitions to an ERROR state and downstream nodes connected to its outputs do not execute.

Error CodeDefault Engine MessageTrigger Condition
INVALID_KEY_MATERIAL Invalid key length or format Raised when Private Key is not exactly 32 bytes.

Examples

Signing a Message with Ed25519

Sign a UTF-8 message and produce a 64-byte signature.

  1. Connect the 32-byte Private Key from Ed25519 KeyGen and your message bytes to Ed25519 Sign.