# Ed25519 / X25519 Keygen and Signature Verifier

Generate Ed25519 or X25519 keypairs from random or deterministic seed text, then sign or verify messages

> Canonical page: https://elysiatools.com/en/tools/ed25519-x25519-keygen-signature-verifier

- **Category:** Security

- **Keywords:** ed25519, x25519, keypair generator, signature verifier, base58, base64

## Overview

This tool is built for modern key workflows. Generate Ed25519 keys for signatures, X25519 keys for key agreement, use random generation or deterministic seed text, and work in base64 or base58. Message signing and verification use Ed25519 only.

## Inputs

- **Operation** (select)
- **Algorithm** (select)
- **Encoding** (select)
- **Seed Text** (textarea): Optional deterministic seed text. Leave blank for random key generation.
- **Message** (textarea): Message to sign or verify
- **Secret Key** (textarea): Secret key in the selected encoding
- **Public Key** (textarea): Public key in the selected encoding
- **Signature** (textarea): Signature in the selected encoding

## When to use

- When you need to generate Ed25519 keypairs for signing API requests or SSH authentication.
- When you need to generate X25519 keypairs for secure key agreement protocols.
- When you need to sign a message or verify an existing Ed25519 signature using Base64 or Base58 encoded keys.

## How it works

- Select the operation (Generate, Sign, or Verify) and choose the algorithm (Ed25519 or X25519).
- Choose your preferred encoding format, either Base64 or Base58.
- Provide optional seed text for deterministic key generation, or input the required keys, message, and signature for signing and verification operations.
- Run the tool to compute and output the cryptographic results in structured JSON format.

## Use cases

- Generating deterministic Ed25519 keypairs from a custom seed phrase for reproducible deployments.
- Signing API payloads or configuration files using an Ed25519 secret key.
- Verifying the authenticity of a received message against a public key and signature.

## Frequently asked questions

### What is the difference between Ed25519 and X25519?

Ed25519 is optimized for digital signatures, while X25519 is designed for Diffie-Hellman key agreement.

### Can I sign messages using X25519?

No, message signing and verification operations in this tool are supported for Ed25519 only.

### What does deterministic key generation mean?

It means the tool will always generate the exact same keypair when you provide the same seed text.

### Which encodings are supported for the keys and signatures?

The tool supports Base64 and Base58 encodings for inputting and outputting keys and signatures.

### Does this tool support BIP39 mnemonic phrases?

No, the seed text option uses a custom hashed input for deterministic generation, not the BIP39 standard.

## Related tools

- [Data URI Generator](https://elysiatools.com/en/tools/data-uri-generator): Convert files into Data URIs (Base64 or percent-encoded) for inlining images, fonts, and assets directly into HTML, CSS, or Markdown
- [Digital Signature Generator](https://elysiatools.com/en/tools/digital-signature-generator): Sign a message with a private key or verify a signature with a public key — supports RSA-PSS (SHA-256), ECDSA (P-256), and Ed25519. Pure client-side crypto (Node crypto.createSign/createVerify), no network. Paste a PEM key to sign or to verify a base64 signature. This tool signs/verifies; it does not generate key pairs.
- [PKCE Code Verifier & Challenge Generator](https://elysiatools.com/en/tools/pkce-code-verifier-generator): Generate, validate and verify OAuth2 / OIDC PKCE (RFC 7636) code_verifier and S256 code_challenge pairs. Three modes: (1) generate a fresh verifier + challenge from cryptographically secure random bytes at 256/384/512/768-bit entropy, (2) audit a verifier you already have against the RFC — length (43–128), charset \[A-Za-z0-9-._~\] and ≥256-bit entropy, and (3) verify a verifier/challenge pair by recomputing BASE64URL(SHA256(verifier)). Optionally build the full authorization-request URL and token-exchange body. Complements the generic nonce-generator (which only emits a verifier+challenge pair) with RFC-compliance auditing and pair verification.
- [RSA Encrypt / Decrypt](https://elysiatools.com/en/tools/rsa-encrypt-decrypt): Encrypt text with an RSA public key or decrypt ciphertext with the matching private key, using OAEP padding (SHA-1 or SHA-256). Handles long messages by chunking. Keys and data stay local. PKCS#1 v1.5 is intentionally not offered (Node disables it for decryption due to Bleichenbacher attacks).
- [Secure Random Generator](https://elysiatools.com/en/tools/secure-random-generator): Generate cryptographically secure random key material driven by entropy budget — request N bits of entropy, get hex/base64/base64url output. Also supports custom-alphabet strings via crypto.randomInt (rejection-sampled, no modulo bias). Use this instead of Math.random()-based tools for any secret/key/token.
- [Text Hash Generator](https://elysiatools.com/en/tools/text-hash-generator): Compute MD5, SHA-1, SHA-256, SHA-512, and CRC-32 hashes of any text in one shot. Get both hex and Base64 digests over the UTF-8 encoding.
- [Acronym Generator](https://elysiatools.com/en/tools/acronym-generator): Turn a phrase into an acronym or initialism. Choose contributing words, which letter(s) to take, the separator, and the case.
- [API Doc Generator](https://elysiatools.com/en/tools/api-doc-generator): Generate polished API documentation from OpenAPI or annotated comments

## Samples

- [Copyright-Free MP3 Audio Samples](https://elysiatools.com/en/samples/mp3-samples): Collection of royalty-free audio samples for testing and development purposes including nature sounds, meditation music, and ambient audio
- [Web Image Processing Python Samples](https://elysiatools.com/en/samples/web-image-processing-python): Web Python image processing examples using PIL/Pillow including reading, saving, resizing, and format conversion
- [Android Image Processing Java Samples](https://elysiatools.com/en/samples/android-image-processing-java): Android Java image processing examples including reading/saving images, scaling, and format conversion
- [Android Image Processing Kotlin Samples](https://elysiatools.com/en/samples/android-image-processing-kotlin): Android Kotlin image processing examples including reading/saving images, scaling, and format conversion

## Related content

- [Key Material Generation and Public-Key Recording](https://elysiatools.com/en/hubs/key-material-generation-and-recording): Generate or validate a BIP39 mnemonic or create an asymmetric key pair, then record only public material while keeping private material out of uploads, articles, and logs.
- [Detached Signature and File Integrity Verification](https://elysiatools.com/en/hubs/detached-signature-and-file-integrity-verification): Generate or reproduce a file hash, compare it with a published checksum, and verify a detached Ed25519 signature with a separately trusted public key.
