ToolPuma Logo

RSA / Public-Key

Encrypt messages with an RSA 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 / Public-Key?

The RSA / Public-Key tool encrypts messages with an RSA public key. Anyone can encrypt with your public key, but only the matching private key can decrypt — this is the foundation of public-key cryptography. This free online tool is useful for RSA public key encryption, RSA encrypt online, RSA-OAEP. Common use cases include public-key cryptography, secure message exchange, interoperability testing, and development. 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 / Public-Key

  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

Generate one with the RSA Key Pair Generator, or use the public key someone shares with you. Publish your public key freely; it is meant to be public.
Yes. A 2048-bit RSA-OAEP key holds about 190 bytes per operation, so longer messages are automatically split into multiple chunks.