RSA Encryption Algorithm

1. Prime Number Generation

Prime P :

Prime Q :

2. Keys Generation

3. Encryption

4. Decryption

RSA Algorithm

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.