⚠️ PRIVACY-FIRST RSA CRYPTOGRAPHY
Key Management Notice: Private keys should never be shared or uploaded to untrusted sites. All keys are generated and cryptography operations are executed 100% locally in your browser sandbox using the Web Crypto API. No data is stored or transmitted.
🔑 RSA Key Pair Generator
Max plaintext size:
2048-bit: 190 chars | 3072-bit: 318 chars | 4096-bit: 446 chars
2048-bit: 190 chars | 3072-bit: 318 chars | 4096-bit: 446 chars
0 characters
System Ready: Generate keys or choose a tab to begin...
Understanding RSA Cryptography
How Asymmetric Crypto Works
Unlike symmetric encryption (like AES) which uses a single secret key, RSA uses a mathematically-linked **key pair**:
- Public Key: Can be shared freely with anyone. Used strictly to **encrypt** messages.
- Private Key: Must be kept secure and private. Used strictly to **decrypt** messages encrypted by the matching public key.
Plaintext Size Limits & Padding
This tool uses RSA-OAEP (Optimal Asymmetric Encryption Padding) with SHA-256:
- OAEP pads plaintext messages dynamically to prevent eavesdroppers from recognizing repeating patterns.
- This padding has a fixed size overhead of 66 bytes when using SHA-256. Therefore, the maximum plaintext character limit is strictly capped depending on key bits.