Codificadores e Cripto
Gerador de Chaves RSA / ECDSA
PEM + PKCS#8 + JWK — Web Crypto in your browser.
(click generate)
(click generate)
(click generate)
(click generate)
Nota do editor
Understanding · Big primes vs elliptic curves — same job, different maths.
Este capítulo aprofundado está disponível apenas em inglês no momento. A ferramenta de conversão acima funciona no seu idioma; o artigo explicativo longo ainda não foi traduzido.
Perguntas frequentes
Quick answers.
›Is it safe to generate private keys in a browser?
Yes, provided the tool uses the standard Web Crypto API and does not transmit data. This tool runs entirely client-side, meaning your private key is never sent to a server or stored in a database.
›What is the difference between RSA and ECDSA?
RSA is the traditional standard based on large prime numbers, widely compatible but requiring larger key sizes for security. ECDSA uses elliptic curve cryptography to provide equivalent security with much smaller keys, resulting in faster computations and less storage.
›Which curve should I choose for ECDSA?
P-256 (prime256v1) is the most common choice for general web applications and is widely supported by cloud providers. P-384 and P-521 offer higher security margins if required by specific compliance standards.
›What format should I download?
Use PEM or PKCS#8 for server-side environments like Node.js, Python, or OpenSSL. Choose JWK (JSON Web Key) if you are building browser-based applications that need to import keys directly back into the Web Crypto API.
As pessoas também pesquisam por
Ferramentas relacionadas
More in this room.
- Cifragem / Decifragem de Ficheiros AESCifre ficheiros com AES-GCM e uma frase secreta.
- Gerador e Assinador de Chaves Ed25519Gere chaves Ed25519 e assine mensagens localmente.
- Decodificador de Certificados X.509Assunto, emissor, validade, SAN, 'fingerprint' — tudo num relance.
- Cifrar / Decifrar PGPMensagens OpenPGP — cifrar, decifrar, assinar, verificar.
- Codificar / Descodificar Base64Codificar e descodificar Base64 — compatível com Unicode.
- Decodificador JWTDecodifique e inspecione tokens JWT — localmente, nunca registado.