RSA Algorithm

The Rivest-Shamir-Adleman (RSA) algorithm is a public key encryption algorithm that uses a pair of keys, a public key and a private key, to encrypt and decrypt messages. The public key can be freely distributed and is used to encrypt messages, while the private key is kept secret and is used to decrypt messages. RSA is based on the difficulty of factoring large numbers, and it uses prime numbers and modular arithmetic to generate the keys and perform the encryption and decryption. RSA is widely used in various applications, including secure communications, digital signatures, and secure online transactions.
Kindly Note: RSA Implementation is subject to the system's processing power. A general recommendation is to prefer low no. of bits and short input messages for testing purposes.

Try It!

Prime Number 1
Prime Number 2
n
φ(n)
Encrypted Text
Decrypted Text