RSA Encryption & Decryption
Asymmetric encryption using RSA algorithm. Uses separate public key for encryption and private key for decryption.
Text Data
Result Output
sponsor AD
300×250
Ad Space
💡 Quick Tips
- RSA is an asymmetric algorithm using two linked keys (public and private).
- Usually, you encrypt with the public key and decrypt with the private key.
- Maximum data size for RSA depends on the key size (e.g., 2048-bit fits ~245 bytes).
- PEM format starts with -----BEGIN PUBLIC KEY----- and ends with -----END PUBLIC KEY-----.