Cybersecurity
What is Encryption?
Also called encipherment.
Short definition
Encryption is the process of converting data into a scrambled form that can only be read again by someone holding the right key, so the data stays safe even if it falls into the wrong hands.
Data in transit and data at rest
Encryption in transit protects data on the move, such as HTTPS on websites, VPNs for remote access, and encrypted database connections. Encryption at rest protects data on laptop disks, servers, backups, and cloud services, so a lost device or storage medium does not automatically expose its contents. Companies that process personal data usually need both.
Symmetric and asymmetric
Symmetric encryption uses the same key to lock and unlock, which is fast and suits large volumes of data. AES is the most widely used example. Asymmetric encryption uses a key pair, public and private, and is used for key exchange and digital signatures. Protocols such as TLS combine the two.
It all comes down to key management
Even the strongest encryption is useless if the key is stored in the same place as the data, written into application code, or held by only one person. Decide who holds the keys, where they are stored, and how they can be recovered. A lost key means the encrypted data is lost too, including backups. For servers and cloud services, the dedicated key storage offered by the provider is usually safer than a configuration file. User passwords themselves are not encrypted; they are hashed with algorithms deliberately designed to be slow to guess.
Related terms
Resources
- NIST Glossary: encryption (csrc.nist.gov)
- Cloudflare Learning: What is encryption? (cloudflare.com)