Tidak suka iklan? Pergi Bebas Iklan Hari ini

ECDSA / Ed25519 Key Generator

PengembangKeamanan
IKLAN · HAPUS?

Konfigurasi Kunci

PEM is universal. JWK is used by JWT libraries. Raw hex is for low-level crypto.
IKLAN · HAPUS?

Memandu

ECDSA / Ed25519 Key Generator

ECDSA / Ed25519 Key Generator

Generate cryptographically secure elliptic-curve key pairs in your browser using the Web Crypto API. Pick Ed25519, ECDSA P-256, or ECDSA P-384, and export in PEM (PKCS8/SPKI), JWK, or raw hex format. Useful for JWT signing (ES256, EdDSA), Signal-style protocols, libsodium interop, and any general-purpose elliptic-curve cryptography that is not OpenSSH-flavored.

Cara Penggunaan

  1. Pick the algorithm: Ed25519 for modern signature schemes, ECDSA P-256 for ES256 JWTs, ECDSA P-384 for ES384 JWTs.
  2. Pick an output format: PEM for OpenSSL/Node/Python, JWK for jose / jsonwebtoken libraries, Raw Hex for low-level use.
  3. Klik Hasilkan Pasangan Kunci. Both keys appear instantly.
  4. Copy or download each key. The JWK Thumbprint (RFC 7638) is shown for use as a JWT kid header.

Fitur

  • 100% sisi klien – Keys are generated by window.crypto.subtle.generateKey(); nothing is uploaded.
  • Three curves – Ed25519 (EdDSA), ECDSA P-256 (ES256), ECDSA P-384 (ES384).
  • Three output formats – PEM (PKCS8 private, SPKI public), JWK, and raw hex.
  • JWK Thumbprint – Auto-computed SHA-256 thumbprint per RFC 7638, perfect for the kid claim.
  • Salin satu klik dan unduh – Files are named per algorithm with the right extension.
  • No telemetry – No analytics, no logging, no key escrow.

Tanya Jawab Umum

  1. What is the difference between Ed25519 and ECDSA?

    Ed25519 is an EdDSA scheme over the twisted Edwards curve Curve25519. It uses deterministic signatures, has a fixed key size (32 bytes), and is faster and harder to misuse than ECDSA. ECDSA over NIST curves like P-256 / P-384 predates Ed25519, requires a fresh secure random nonce per signature (a reused nonce leaks the private key), and is the format mandated by many older standards (TLS, JWT ES256/ES384, certificates).

  2. What is PKCS8 versus SPKI?

    PKCS8 (PrivateKeyInfo) is the standard ASN.1 / DER container for a private key, identifying the algorithm and wrapping the key material. SPKI (SubjectPublicKeyInfo) is the matching container for a public key, used inside X.509 certificates. PEM-encoded PKCS8 starts with -----BEGIN PRIVATE KEY----- and SPKI with -----BEGIN PUBLIC KEY-----.

  3. What is a JWK Thumbprint and when do I use it?

    RFC 7638 defines a JWK Thumbprint as a base64url-encoded SHA-256 hash of a canonicalized JSON Web Key. It is a stable, key-derived identifier you can put in the JWT kid header so the verifier can locate the right public key in a JWKS without leaking the key material. Two parties that exchange the same key will compute the same thumbprint.

  4. Why use the Web Crypto API instead of a JavaScript library?

    window.crypto.subtle calls the browser's native, audited cryptographic primitives, which back onto the operating system's CSPRNG. Pure JavaScript libraries depend on the JavaScript engine's Math.random or polyfilled randomness, are easier to backdoor via supply-chain attacks, and run slower because they cannot use CPU AES-NI / SHA extensions.

  5. Are these keys safe to use in production?

    The randomness is as strong as the browser's CSPRNG, which on modern operating systems is suitable for production keys. The risk is the runtime environment: a compromised device, a malicious browser extension, or a phishing page that loads its own version of the page can exfiltrate keys. For the highest-value secrets generate keys offline (openssl genpkey, hardware tokens, HSMs) or inside an air-gapped environment.

Ingin bebas iklan? Bebas Iklan Hari Ini

Instal Ekstensi Kami

Tambahkan alat IO ke browser favorit Anda untuk akses instan dan pencarian lebih cepat

Ke Ekstensi Chrome Ke Ekstensi Tepi Ke Ekstensi Firefox Ke Ekstensi Opera

Papan Skor Telah Tiba!

Papan Skor adalah cara yang menyenangkan untuk melacak permainan Anda, semua data disimpan di browser Anda. Lebih banyak fitur akan segera hadir!

IKLAN · HAPUS?
IKLAN · HAPUS?
IKLAN · HAPUS?

Pojok Berita dengan Sorotan Teknologi

Terlibat

Bantu kami untuk terus menyediakan alat gratis yang berharga

Belikan aku kopi
IKLAN · HAPUS?