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. This free online tool is useful for RSA encryption tool, RSA-OAEP encrypt online, public key encryptor. Common use cases include secure message exchange, API development, cryptography testing, and public-key workflows. It is designed for quick browser-based hashing, encoding, decoding, encryption testing, checksum comparison, identifier generation, and cryptography education. For production security, follow the algorithm's current standards, key-management requirements, and application-specific security guidance.

How to Use This RSA Encrypt

  1. 1
    Prepare the key materialPaste or generate the RSA key required by the operation.
  2. 2
    Enter the dataProvide plaintext for encryption or ciphertext for decryption.
  3. 3
    Run the operationThe browser performs RSA-OAEP processing locally.
  4. 4
    Review the resultCheck the generated Base64 ciphertext or recovered plaintext.
  5. 5
    Use safelyKeep private keys secret and use hybrid encryption for large data in production systems.

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.