Public-private key encryption algorithm
(Step 1)

Firstly, two prime numbers need to be set:
P
Q
In this example of encryption, we've limited the prime numbers to below 100.
Also you must choose different values for the primes P and Q.
Back to the explanation of public-private key encryption or my home page