ToolPuma Logo

RSA Encrypt

Encrypt text with an RSA-OAEP public key.

Note: RSA-OAEP with SHA-256 is used. Messages longer than about 190 bytes are split into chunks automatically. All processing runs locally in your browser.

What Is a RSA Encrypt?

The RSA Encrypt tool encrypts text with an RSA-OAEP public key using the Web Crypto API. RSA is asymmetric: a message encrypted with the public key can only be decrypted by the corresponding private key.

How to Use This RSA Encrypt

  1. 1
    Paste Public KeyPaste the PEM public key (BEGIN PUBLIC KEY).
  2. 2
    Enter TextType the plaintext message.
  3. 3
    EncryptClick Encrypt to produce base64 ciphertext for the receiver.

Frequently Asked Questions

Optimal Asymmetric Encryption Padding is the recommended padding scheme for RSA encryption. It adds randomness and protects against several classic attacks on textbook RSA.
Long messages are split into chunks, and each chunk's base64 ciphertext is joined with a period so the decrypt tool can reassemble them.