Developer Playground
RSA Encrypt/Decrypt/Sign
RSA is an asymmetric encryption algorithm that uses public and private keys. It encrypts with the public key and decrypts with the private key. It can also be used for digital signatures.
RSA Key Pair
Generate or enter your RSA key pair.
RSA Encryption/Decryption
Encrypt or decrypt text using RSA public and private keys.
RSA Sign/Verify
Sign or verify text using RSA public and private keys.
What is RSA Encryption?
RSA (Rivest-Shamir-Adleman) is one of the oldest and most widely used public-key cryptographic systems. It relies on a mathematical process that involves generating two distinct keys: a Public Key (which can be shared with anyone to encrypt data) and a Private Key (which must be kept secret to decrypt data).
Encryption vs. Digital Signatures
Encryption: Someone uses your Public Key to encrypt a message. Only you can decrypt it using your Private Key. This ensures data confidentiality.
Digital Signatures: You use your Private Key to "sign" a message. Anyone can use your Public Key to verify the signature. This proves that the message indeed came from you and hasn't been altered.
How to use this tool
Click Generate Key Pair to instantly create a new 2048-bit RSA key pair in your browser. You can then use the generated keys (or paste your own) into the sections below to encrypt/decrypt messages or create/verify digital signatures securely.