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
-
Paste your private key
PKCS#8 (BEGIN PRIVATE KEY) and PKCS#1 (BEGIN RSA PRIVATE KEY) both work.
-
Paste the string to sign
The exact text, with no trailing newline.
-
Copy the signature
Base64, ready for an X-SIGNATURE header.
Examples
Sign a release manifest string with SHA256withRSA
Paste an unencrypted PKCS#8 or PKCS#1 private key PEM and a plain payload.
Message: "release=2.4.0&sha=9f81c2" | Key: PKCS#8 Private Key PEM | Scheme: PKCS1-v1_5
Result: Deterministic 256-byte (344-char Base64 for 2048-bit key) RSA signature string.
Produce an RSA-PSS signature for strict API gateways
Switch padding mode to PSS when integrating modern OAuth or financial specs.
Message: "POST:/v1/orders:1735689600" | Padding: RSA-PSS (SHA-256)
Result: Fresh Base64 signature verifiable against the paired public key in RSA Verify.
Frequently asked questions
Related guides
Related tools
RSA Signature Verifier
Check whether a Base64 RSA signature is valid for a message and public key. SHA256withRSA and PSS supported.
SNAP / QRIS Request Signer
Build the stringToSign and X-SIGNATURE for Indonesian payment APIs. Handles the B2B token and transactional forms.
RSA Key Generator
Generate an RSA key pair in your browser. 2048, 3072 or 4096 bits, exported as PEM — nothing is uploaded.
JWT Sign (HS256 / RS256)
Sign a JSON Web Token with HS256 (HMAC shared secret) or RS256 (RSA private key). Output is a standard compact JWT (header.payload.signature).