Glossary termCryptographic technique

Encryption

Also known as: Encipherment

The process of transforming readable data into ciphertext so that only parties holding the correct key can recover and understand it.

Encryption is a cryptographic transformation that turns readable information, called plaintext, into an unintelligible form called ciphertext. Reversing the process, called decryption, requires a secret value known as a key. Well-designed encryption keeps data confidential even when the ciphertext is intercepted, copied or stolen, because without the key an observer learns essentially nothing about the content beyond its approximate length. It protects data in two main states: in transit, as it crosses networks, and at rest, as it sits on disks, phones and backup media.

Two broad families exist. Symmetric encryption, such as the Advanced Encryption Standard (AES), uses the same key to encrypt and decrypt and is fast enough for bulk data. Asymmetric encryption, also called public-key cryptography, uses a mathematically linked pair of public and private keys, which solves the problem of sharing secrets with strangers. Practical systems combine both: protocols such as TLS use asymmetric methods to agree on a session key, then switch to symmetric ciphers. The publication of DES as a US standard in 1977 and public-key research of the mid-1970s brought strong cryptography into civilian computing.

Encryption underpins online banking, private messaging, software updates and the privacy of stored files. Its strength depends less on secrecy of the algorithm, a point captured by Kerckhoffs's principle, than on key length, sound implementation and careful key management; most real-world failures stem from bugs, weak passwords or stolen keys rather than broken mathematics. Governments have periodically sought exceptional access for law enforcement, a long-running dispute sometimes called the crypto wars, while many security researchers argue that any built-in backdoor weakens protection for everyone. Planning for future quantum computers has also driven work on post-quantum cryptography.

Key points

  • Encryption converts plaintext into ciphertext that can only be read again with the correct decryption key.
  • Symmetric ciphers use one shared key, while public-key systems use a linked public and private key pair.
  • Most practical protocols combine asymmetric key exchange with fast symmetric encryption of the actual data.
  • Real-world failures usually come from flawed implementations, weak passwords or poor key handling rather than broken algorithms.

From the source

Cryptographic transformation of data (called "plaintext") into a form (called "ciphertext") that conceals the data's original meaning to prevent it from being known or used.

Source: NIST (opens in a new tab)

Related entries

Glossary term

Public-Key Cryptography

CybersecurityBlockchain

Cryptographic system that uses pairs of linked keys, one public and one private, to enable encryption and digital signatures between strangers.

Glossary term

End-to-End Encryption

CybersecurityOPSEC

Communication method in which only the sender and intended recipients can decrypt messages, so that servers and intermediaries cannot read their content.

Glossary term

Full-Disk Encryption

OPSECCybersecurity

Encryption of an entire storage device so that all data on it is unreadable without the correct key, protecting lost or stolen devices.

Glossary term

Transport Layer Security

CybersecurityProgramming

Cryptographic protocol that encrypts and authenticates data sent between applications over a network, most visibly securing web traffic as HTTPS.

Glossary term

Cryptographic Hash Function

CybersecurityBlockchain

Function that maps data of any size to a fixed-length digest in a way that is practically impossible to reverse or to match with different input.

Technology

GnuPG

OPSECCybersecurityFOSS

Free implementation of the OpenPGP standard for encrypting and digitally signing data and communications, developed as part of the GNU Project.

Person

Whitfield Diffie

Cybersecurity

American cryptographer who, with Martin Hellman, introduced public-key cryptography and the Diffie-Hellman key exchange in 1976.

Person

Bruce Schneier

CybersecurityOPSEC

American cryptographer and security technologist known for "Applied Cryptography", the Blowfish and Twofish ciphers and writing on security and society.

Featured in guides

Referenced by

Other entries that discuss or point to Encryption.