An encryption key is a value used by cryptographic algorithms to encrypt and decrypt data. Keys determine the output of encryption processes and must be kept secure to maintain confidentiality. Depending on the encryption method, keys may be symmetric (shared secret) or asymmetric (public and private key pairs).