RSA (Rivest-Shamir-Adleman) is an algorithm used by modern computers to encrypt and decrypt messages. It is an asymmetric cryptographic algorithm. Asymmetric means that there are two different keys. This is also called public key cryptography, because one of the keys can be given to anyone.

RSA Generate Keys

This tool generates RSA public key as well as the private key of sizes - 512 bit, 1024 bit, 2048 bit, 3072 bit and 4096 bit with Base64 encoded. The generated private key is generated in PKCS#8 format and the generated public key is generated in X.509 format.

RSA Encryption

The String which is to be encrypted using RSA

The public/private key we have created above. As RSA is asymmetric encryption technique, if text is encrypted using public key then for decryption we should use the private key and vice versa.

Select the Encryption Algorithm. Some Algorithms need to have key size greater than 512 bits.

Specify if the entered key is a public key or private key. As RSA is asymmetric encryption technique, if text is encrypted using public key then for decryption we should use the private key and vice versa.

RSA Decryption

The RSA Encrypted String which we want to decrypt

Select the Decryption Algorithm. Some Algorithms need to have key size greater than 512 bits. This should be the same algorithm you had used during encryption.