RSA Key Generator, Sign, Verify & Encrypt
Generate 2048-bit JWK keys, sign and verify with RS256, or encrypt and decrypt with RSA-OAEP and SHA-256.
How to use
To verify a signature from this tool, choose Hex output when signing. Paste the Hex signature, the original message and its encoding, and the public key in Verify mode.
FAQ
Where are RSA private keys generated or used?
RSA key generation, signing and decryption run in the browser. Imported and generated private keys stay on your device during these operations.
What is supported?
Signing and verification accept JWK or PKCS#8 private / SPKI public PEM. Encryption and decryption require JWK. The OAEP plaintext limit depends on the key size.
Other Languages
References
How we make sure
We check this tool with the automated test suites linked below. Example checks are shown in their original language.
- Verification method
- Generate an RSA key, independently verify the signature and decrypt OAEP output with Node crypto; also run the page module verification and inverse decryption.
- Comparison reference
- Node.js 24.22.1 crypto (OpenSSL 3.5.9) verify/privateDecrypt against WebCrypto RS256 and RSA-OAEP/SHA256.
- Verification scope
- Compares RS256 signatures and RSA-OAEP/SHA-256 ciphertext using generated JWKs. External PEM parsing and the plaintext size boundary are outside this comparison.
Test source and cases (select a file to read it)
-
completion-tools.test.js
- rsa-tool: Node verifies signatures and decrypts OAEP output
- Secret fields start empty and fixed vectors are confined to the explicit example action
These checks cover the listed examples and boundaries, not every possible input. Round trips and checks using the same library are not independent verification.