Encryption
Encryption is the process of transforming plaintext into ciphertext using a cryptographic algorithm and key, which conceals the data's original meaning from anyone who does not hold the key.
Updated
Overview
Encryption is a security control used mainly to protect the confidentiality of data. Ciphertext appears random and reveals nothing about the content of the original data. The transformation is reversible, and decryption turns ciphertext back into plaintext. Each encryption and decryption function requires a cryptographic key, a string of binary digits.
In symmetric encryption, the encryption and decryption functions use the same key, and the Advanced Encryption Standard (AES) is widely supported in current systems. Asymmetric, or public-key, cryptography uses two separate keys, one to encrypt or digitally sign data and one to decrypt it or verify the signature. Encryption algorithms are made public, so the security of encrypted data depends on keeping the key secret, and a longer key gives an attacker more possible keys to try.
Encryption protects data in transit and at rest. TLS, the successor to SSL, is the primary end-to-end protocol for protecting information that crosses the internet, IPsec is often used to build virtual private networks, and S/MIME lets a sender encrypt email that only the intended recipients can read. For data at rest, system encryption covers a device's whole drive, drive encryption covers removable media, and file encryption covers individual documents. An encrypted drive that is stolen is useless to someone who lacks the key. CISA calls encrypting data at rest and in transit a critical defense against attacks like ransomware and malware.
Encryption depends on key management. Anyone who knows the key can decrypt the data, and if the key is modified or lost the plaintext cannot be recovered, so systems that use encryption need a key recovery mechanism. All copies of sensitive data, including backups, should be encrypted, and data protected by an algorithm that becomes obsolete should be re-encrypted with a current approved one. File encryption protects a document's contents but leaves metadata such as the author and creation date visible.
Similar Terms
1 termFrequently Asked Questions
What is the difference between symmetric and asymmetric encryption?→
Symmetric encryption uses the same secret key to encrypt and decrypt; AES is a widely supported example. Asymmetric, or public-key, cryptography uses two separate keys: one to encrypt or sign data and one to decrypt it or verify the signature.
What do encryption at rest and in transit mean?→
Encryption at rest protects data stored on a device, such as a hard drive, USB drive, or backup. Encryption in transit protects data while it is sent across a network or the internet, as TLS does between a web browser and a web server. CISA advises encrypting data in both states.
Can encrypted data be decrypted without the key?→
To decrypt without the key, an attacker must search for it by trying possible keys until the correct one is found. A longer key gives more possible values to try, and a randomly generated key gives the attacker no information about any of its bits, which is why key length and key generation matter.
Related
Tool categories
Career roles
Glossary terms
Sources
Definitions follow the government and standards body sources listed above. This site is not affiliated with the agencies or organizations cited.