RSA Criptografar / Descriptografar Online

Browser-only Grátis · Sem cadastro · Dados não enviados
Key size
Generate a key pair first, or paste PEM keys below. RSA-OAEP (SHA-256) is used. Max plaintext: 190 bytes (2048-bit) or 446 bytes (4096-bit).
Error
PUBLIC KEY (PEM)
PRIVATE KEY (PEM)
PLAINTEXT
CIPHERTEXT (BASE64)
// output appears here

Mais Ferramentas para Desenvolvedores

Criptografia AES
AES-256
Gerador HMAC
HMAC-SHA256
Gerador Hash
MD5/SHA-256
Decodificador JWT
Inspecionar token
Base64
Codificar/Decodificar
Senhas
Seguro
URL Encoder
Codificar URL
Formatador JSON
Formatar & validar

Por Que Esta é a Melhor Ferramenta de Criptografia RSA Online

Geração de Chave

Generate RSA-2048 or RSA-4096 key pairs in-browser using the Web Crypto API. Keys are exported in standard PEM format, ready for use with OpenSSL, SSH, and any language's crypto library.

Preenchimento RSA-OAEP

Uses RSA-OAEP with SHA-256 — the modern, secure RSA encryption scheme. OAEP adds random padding before encryption, making each ciphertext unique even for the same plaintext and key.

Importar & Exportar PEM

Paste any PEM-encoded RSA public or private key (PKCS#8 / SubjectPublicKeyInfo format) to encrypt or decrypt with existing keys. Compatible with keys generated by OpenSSL, Node.js, Python, and Java.

Privacidade em Primeiro Lugar

Keys, plaintext, and ciphertext never leave your browser. No server communication occurs during key generation, encryption, or decryption. Safe for testing with real keys.

Perguntas Frequentes

What is RSA encryption?

RSA is an asymmetric encryption algorithm that uses a public/private key pair. Data encrypted with the public key can only be decrypted with the corresponding private key. RSA is widely used for secure key exchange, digital signatures, and encrypting small amounts of sensitive data like symmetric keys.

What is RSA-OAEP?

RSA-OAEP (Optimal Asymmetric Encryption Padding) is a padding scheme that adds random padding before encryption, making it semantically secure. OAEP is the modern standard and is recommended over the older PKCS#1 v1.5 padding, which is vulnerable to certain attacks.

What is the difference between RSA-2048 and RSA-4096?

RSA-2048 uses a 2048-bit key and is currently considered secure for most applications. RSA-4096 uses a 4096-bit key and provides higher security at the cost of longer key generation and slower operations. RSA-4096 is recommended for long-term data protection.

What is the maximum message size for RSA encryption?

With RSA-OAEP-SHA256, the maximum plaintext size is the key size in bytes minus 66. For RSA-2048 that is 190 bytes; for RSA-4096 it is 446 bytes. For larger data, use hybrid encryption: encrypt the data with AES and encrypt only the AES key with RSA.

Guia detalhado
Guia Ferramentas de Segurança
Hash, HMAC, AES, RSA & JWT
Ler o guia