Toggle navigation
Home
About
Our Services
Training
SMS - ISC2 CC Training
SMS - ISC2 CCSP Training
Contact Us
RSA Encryption
STEP 1:
Select two prime numbers p and q
Prime Number 1(p):
Prime Number 2(q):
OK
STEP 2:
n = p x q
OK
STEP 3:
Totient(n) = (p-1) x (q-1)
OK
STEP 4:
Enter another prime number(e) between 3 and φ(n). This number must be relatively prime to φ(n) also. We look for a number between 3 and φ(n) because 3 is the first prime number that can be used.
We will use Modular inverse function d = modinv(e,φ(n));
Prime Number 3(e):
OK
STEP 5 - Encryption:
encrypt(x) = x
e
mod n
Enter a char to encryption:
OK
STEP 6 - Decryption:
decrypt(x) = x
d
mod n
Enter encrypted text to decrypt:
OK
Result: