Introduction - If you have any usage issues, please Google them yourself
his code asks for Two prime numbers and then computes Public and Private key. Then the message is encrypted using Public key and decrypted using Private key. An example is shown in figure.