In cryptography, a key pair refers to a pair of a public key and its associated private key. A public key is used to encrypt data, and its private key is used to decrypt that data. A key pair is used to control access to your cryptocurrency.