RSA Algorithm

Опубликовано: 19 Февраль 2026
на канале: Play With Coding
408
22

File/Document = https://drive.google.com/file/d/13BcK...

RSA Algorithm is the example of the Public Key Encryption algorithm.
Here we are supposed to find two keys
1) Public Key which is used at encryption
2) Private Key which is used at decryption
step 1: Select two large Primes P, Q
Step 2: Calculate n=P*Q & ϕ(n) = (P-1)*(Q-1)
Step 3: Assume e and d (Public and Private Key).
Step 4: Encrypt the Plain Text using Public Key e.
Step 5: Decrypt the Cipher Text using Private Key d.