Security

RSA Encrypt / Decrypt

Live

RSA Encrypt / Decrypt with subject-specific controls, reviewable intermediate detail, and private browser processing.

About RSA Encrypt / Decrypt

RSA Encrypt / Decrypt with subject-specific controls, reviewable intermediate detail, and private browser processing. Enter plaintext or base64 ciphertext, operation, rsa key size in a purpose-built rsa encrypt decrypt interface designed for this subject. Web Crypto generates a temporary RSA-OAEP key pair and performs the selected operation locally. The result includes ciphertext, algorithm, parameters, security notice, supporting detail, and clear units or diagnostics. Results depend on entered assumptions, supported formats, browser capabilities, and rounding. Processing stays in your browser, and UtilityPages does not store the values you enter.

Set up RSA Encrypt / Decrypt

Workspace

Source workbench

Edit the source fields below and inspect the rendered output alongside your work.

Complete the fields to prepare a result.

Enter plaintext or base64 ciphertext.

Enter operation.

Enter rsa key size.

RSA Encrypt / Decrypt result

Enter the values above, then calculate to see a detailed result.

How RSA Encrypt / Decrypt works

Web Crypto generates a temporary RSA-OAEP key pair and performs the selected operation locally.

How it works

Web Crypto generates a temporary RSA-OAEP key pair and performs the selected operation locally. Results depend on entered assumptions, supported formats, browser capabilities, and rounding.

Examples

RSA Encrypt / Decrypt worked example

Example input
{
    "input": "Private local message",
    "mode": "roundtrip",
    "key_size": 2048
}
Expected result
{
    "result": "ja9yp32wIEuiv8qvPEoJciVJmQ84uE6429ZPeazMir3MpuDdu4G2idVjxVFiDRPRFi72P0qXghp/R/bIH6XdMk9a4DbQFL1UtQcRyKEnfniud5oKXODZQKHaHJAcA4dGgtqkaZUnwUE/rCSuOwXdlJW371j3CpZ1jjbto38d1YPzmpIiV8h1ORL/jEJM5PM3MmzWX4gnu4gbYUAUI/S4/zQM0TqlglVub9DjfOmjuKWjLJeg0zAl159dYZO88CbIU9Uk8iso3veGzhR7QxJlp2+wO1qVaWql0qd2uxmTAcOOCSXUkiJDb/KdClMLxggzAhkiUN28DTJvB+hvPYgFHQ==",
    "algorithm": "RSA-OAEP with SHA-256",
    "parameters": [
        {
            "parameter": "Key size",
            "value": "2048 bits"
        },
        {
            "parameter": "Public exponent",
            "value": "65537"
        },
        {
            "parameter": "Round-trip check",
            "value": "Pass"
        }
    ],
    "notice": "A temporary key pair was generated for this browser operation and is not retained."
}

Privacy

This tool does not store your inputs or results on UtilityPages.org.

Citations & sources

  1. Web Cryptography API
  2. Internet standards

Frequently asked questions

How does the RSA Encrypt / Decrypt work?

Web Crypto generates a temporary RSA-OAEP key pair and performs the selected operation locally.

What information should I enter?

Enter plaintext or base64 ciphertext, operation, rsa key size. Use values and units from the same scenario so the result is internally consistent.

What results does this tool provide?

It reports ciphertext, algorithm, parameters, security notice, including intermediate context where it helps you review the answer.

What limitations should I know about?

Results depend on entered assumptions, supported formats, browser capabilities, and rounding.