CipherTools
ToolsBlogsSnippets
ToolsBlogsSnippets
  • MD5 Text Hash
  • MD5 File Hash
  • BKDR Text Hash
  • BKDR File Hash
  • SHA-256 Text Hash
  • SHA-256 File Hash
  • SHA-512 Text Hash
  • SHA-512 File Hash
  • SHA-3 Text Hash
  • SHA-3 File Hash
  • SHAKE Text Hash
  • SHAKE File Hash
  • Argon2 Text Hash
  • Argon2 File Hash
  • CRC Text Checksum
  • CRC File Checksum
  • HMAC Text Generator
  • HMAC File Generator
  • BLAKE2 Text Hash
  • BLAKE2 File Hash
  • BLAKE3 Text Hash
  • BLAKE3 File Hash
  • CityHash Text Hash
  • CityHash File Hash
  • FarmHash Text Hash
  • FarmHash File Hash
  • xxHash Text Hash
  • xxHash File Hash
  • MurmurHash2 Text Hash
  • MurmurHash2 File Hash
  • MurmurHash3 Text Hash
  • MurmurHash3 File Hash
  • bcrypt Text Hash
  • bcrypt File Hash
  • scrypt Text Derivation
  • scrypt File Derivation
  • AES Encryption and Decryption
  • AES File Encryption
  • AES File Decryption
  • AES-GCM Encryption and Decryption
  • ChaCha20-Poly1305 Text
  • ChaCha20-Poly1305 File Encryption
  • ChaCha20-Poly1305 File Decryption
  • DES Encryption and Decryption
  • DES File Encryption
  • DES File Decryption
  • RSA Encryption and Decryption
  • RSA File Encryption
  • RSA File Decryption

Asymmetric encryption · RSA

RSA-OAEP File Encryption

Upload a small file, paste a PEM-formatted public key, and generate RSA-OAEP ciphertext entirely in the browser. Ideal for testing key handling or wrapping session keys.

Upload a file

Click to browse or drag & drop files here

RSA-OAEP is best for small blobs or session keys. Large uploads will likely exceed the modulus limit.
Encrypted RSA bundles will appear here once processing completes.

Generated keys appear in the PEM editors below so you can experiment end-to-end.

Use the recipient's PEM-formatted public key. RSA-OAEP is best suited for tiny blobs, such as session keys.

Usage notes

This RSA-OAEP page lets you encrypt fixtures or short-lived assets with a recipient’s public key without leaving the browser. The tool automatically handles chunking so you can work with files that exceed RSA’s native block limit, but the equivalent command-line example below shows the direct RSA flow for very small payloads (roughly 214 bytes on a 2048-bit/SHA-256 key). Either way, keep the tab open until processing completes so the browser can package and stream the ciphertext back to you.

Equivalent OpenSSL workflow

Mirror the on-page RSA workflow by running openssl pkeyutl with OAEP padding against a small file:

RSA-OAEP file workflow
# Encrypt a small file directly with RSA-OAEP
openssl pkeyutl -encrypt -inkey public.pem -pubin \
  -pkeyopt rsa_padding_mode:oaep -pkeyopt rsa_oaep_md:sha256 \
  -in secret.bin -out secret.bin.rsa

# Optional: base64 for easy transport
base64 secret.bin.rsa > secret.bin.rsa.b64
© 2026 CipherTools. All computations run locally in your browser.