Public key encryption is an encryption system in which different keys are used for password and decryption operations. Each of the communicating parties has a pair of keys. One of the keys that make up these key pairs is a secret key and the other is an open (non-secret) key. While encryption is made with one of these keys, decryption is performed with the other. These two key pairs are mathematically linked.