RSA Algorithm is based on factorization of large number and modular arithmetic for encrypting and decrypting data. It consists of three main stages:
- Key Generation: Creating Public and Private Keys
- Encryption: Sender encrypts the data using Public Key to get cipher text.
- Decryption: Decrypting the cipher text using Private Key to get original message.