RSA Signature Generator — SHA256withRSA Online — Uttir
Skip to main content
Uttir

RSA Signature Generator (SHA256withRSA)

Sign a string with your RSA private key and get the Base64 signature. Accepts PKCS#8 and PKCS#1 keys.

RSA Signature Generator (SHA256withRSA) — Produce an RSA signature without leaving the browser. Paste a private key and a message, and you get the Base64 signature back — the same value you would get from `openssl dgst -sha256 -sign`.

Your private key is processed in this browser tab and never sent anywhere — there is no server. Nothing is stored, so reloading the page clears it.

Was RSA Signature Generator (SHA256withRSA) useful?

What is RSA Signature Generator (SHA256withRSA)?

Produce an RSA signature without leaving the browser. Paste a private key and a message, and you get the Base64 signature back — the same value you would get from `openssl dgst -sha256 -sign`.

This is the scheme Indonesian payment APIs use for the X-SIGNATURE header: SHA256withRSA, also called RSASSA-PKCS1-v1_5. It is not the same as RSASSA-PSS, and a signature made with one is rejected by a verifier expecting the other.

How to use it

  1. Paste your private key

    PKCS#8 (BEGIN PRIVATE KEY) and PKCS#1 (BEGIN RSA PRIVATE KEY) both work.

  2. Paste the string to sign

    The exact text, with no trailing newline.

  3. Copy the signature

    Base64, ready for an X-SIGNATURE header.

Frequently asked questions

Related tools

Last reviewed: 2026-10-22