Create a random primary numbers, check more one time, create Private and Public keys and encrypt and decrypt message.