 The public key can be known by everyone, and it is used for encrypting messages.The intention is that messages encrypted with the public key can only be decrypted in a reasonable amount of time by using the private key.The public key is represented by the integers and ; and, the private key, by the integer (although is also used during the decryption process.