Ed25519 Verify
Verifies Ed25519 signature (RFC 8032)
Overview
Verifies a 64-byte Ed25519 signature (RFC 8032 / FIPS 186-5) against the original message and the signer's 32-byte Ed25519 public key, emitting a boolean verdict on the Valid output port.
Uses a Judgement Error Profile so invalid signatures produce Valid = false as normal data unless Treat As Error is configured.
When to Use
- Verifying Ed25519 signatures produced by Ed25519 Sign or RFC 8032 test vectors.
Parameter Configuration
| Parameter (ID) | Type & Default | Visibility Condition | Description & Options |
|---|---|---|---|
Treat As ErrorerrorOnValue |
selectDefault: "" (empty) |
Always visible | Judgement error reinterpretation: set to false (or true) to raise an error when Valid matches that value.
|
Error CodeerrorCode |
textDefault: "" (empty) |
When errorOnValue is true or false |
Custom error code when Treat As Error triggers. |
Error MessageerrorMessage |
textDefault: "" (empty) |
When errorOnValue is true or false |
Custom error message when Treat As Error triggers. |
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 (3 total).
| Port Name | Port ID | Data Type | Required | Visibility Condition | Description |
|---|---|---|---|---|---|
Public Key |
publicKey |
Bytes |
Required | Always visible | 32-byte Ed25519 public key. |
Message |
message |
Bytes |
Required | Always visible | Original message bytes (Uint8Array). |
Signature |
signature |
Bytes |
Required | Always visible | 64-byte Ed25519 signature ($R \parallel S$) to verify. |
Output Ports
Port Nature: Fixed Output Ports (1 total).
| Port Name | Port ID | Data Type | Visibility Condition | Description |
|---|---|---|---|---|
Valid |
isValid |
Bool |
Always visible | Boolean verification result (true if valid, false otherwise). |
Error Cases
This node uses a Judgement Error Profile on its boolean output port isValid:
- Default Behavior (
Treat As Error = None): Verification or comparison mismatches do not raise a runtime error; instead, the node completes normally and emitsfalse(ortrue) onisValidso downstream nodes or scripts can inspect the boolean result. - Reinterpretation as Error (
Treat As Error = falseortrue): When the boolean verdict onisValidequals the configurederrorOnValuesetting, the engine transitions this node into anERRORstate using your custom Error Code and Error Message and halts downstream execution.
Examples
Verifying an Ed25519 Signature
Check a 64-byte Ed25519 signature against the 32-byte public key.
- Connect
Public Key,Message, andSignatureto Ed25519 Verify;Validoutputstrue.