Hawkynt

Ed25519

EdDSA signature scheme using Curve25519 in twisted Edwards form. Provides 128-bit security with fast constant-time signing and verification. Used in TLS 1.3, SSH, and modern cryptographic protocols.

Properties

Property Value
Category Asymmetric Ciphers
Sub-category Digital Signature
Security status 🛡️ Secure
Complexity Advanced
Inventor Daniel J. Bernstein, Niels Duif, Tanja Lange, Peter Schwabe, Bo-Yin Yang
Year 2011
Origin Not specified
Source algorithms/asymmetric/ed25519.js

Parameters

Parameter Supported values
Key sizes 32 bytes (256 bits)

Capabilities

Flag Value
SupportsEncryption No
SupportsSignatures Yes
SupportsKeyExchange No

Security

Status: 🛡️ Secure

No vulnerabilities are recorded for this implementation.

Documentation

References

Test vectors

3 vectors ship with this algorithm and run in the test suite. Byte values are hexadecimal.

Vector 1 — RFC 8032 Test Vector #1 (Empty Message)

Field Value
secretKey 9d61b19deffd5a60ba844af492ec2cc44449c5697b326919703bac031cae7f60
publicKey d75a980182b10ab7d54bfed3c964073a0ee172f3daa62325af021a68f707511a
input (empty)
expected e5564300c360ac729086e2cc806e828a 84877f1eb8e5d974d873e06522490155 5fb8821590a33bacc61e39701cf9b46b d25bf5f0595bbe24655141438e7a100b

Vector 2 — RFC 8032 Test Vector #2 (Single Byte)

Field Value
secretKey 4ccd089b28ff96da9db6c346ec114e0f5b8a319f35aba624da8cf6ed4fb8a6fb
publicKey 3d4017c3e843895a92b70aa74d1b7ebc9c982ccf2ec4968cc0cd55f12af4660c
input 72
expected 92a009a9f0d4cab8720e820b5f642540 a2b27b5416503f8fb3762223ebdb69da 085ac1e43e15996e458f3613d0f11d8c 387b2eaeb4302aeeb00d291612bb0c00

Vector 3 — RFC 8032 Test Vector #3 (Two Bytes)

Field Value
secretKey c5aa8df43f9f837bedb7442f31dcb7b166d38535076f094b85ce3a2e0b4458f7
publicKey fc51cd8e6218a1a38da47ed00230f0580816ed13ba3303ac5deb911548908025
input af82
expected 6291d657deec24024827e69c3abe01a3 0ce548a284743a445e3680d7db5ac3ac 18ff9b538d16f290ae67f760984dc659 4a7c15e9716ed28dc027beceea1ec40a

← All algorithms