RSA Encrypt / Decrypt
Encrypt and decrypt messages using RSA asymmetric keys (PKCS#1 / PKCS#8)
Input (Plaintext)
PUBLIC KEY (PEM)
Output (Ciphertext Base64)
About RSA Encryption
RSA (Rivest–Shamir–Adleman) is a widely used public-key cryptosystem (asymmetric cryptography). This means it uses a pair of keys: a public key for encryption and a private key for decryption.
Because RSA can only encrypt data smaller than the key size (e.g., maximum 245 bytes for a 2048-bit key), it is primarily used to securely transmit short pieces of data like passwords, symmetric AES keys, or digital signatures, rather than large files.