What is a public and secret key pair?
Each of the public and secret key is a sequence of binary digits (bits). The public and secret keys are related by a mathematical expression, and that is why they are called a key pair. It is mathematically intractable to derive the secret key from the public key. A message that is encrypted using a public key can be decrypted only using the corresponding secret key. Furthermore, a message that is signed using the secret key can only be verified using the corresponding public key. That is why they are usually called a key pair.