RSA 暗号化 / 復号 オンライン

Browser-only 無料 · ログイン不要 · データ保存なし
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

その他の開発ツール

AES 暗号化
AES-256
HMAC 生成
HMAC-SHA256
ハッシュ生成
MD5/SHA-256
JWT デコード
トークン確認
Base64
エンコード
パスワード生成
安全な乱数
URL エンコード
パーセント変換
JSON フォーマッター
整形・検証・圧縮

なぜこれが最高のオンラインRSA暗号化ツールなのか

鍵生成

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.

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.

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.

プライバシー最優先

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

よくある質問

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.

詳細ガイド
開発者向けセキュリティツールガイド
ハッシュ・HMAC・AES・RSA・JWT
ガイドを読む