Encryption terms are the specialized words used to describe how data is scrambled into unreadable form and unscrambled back. This article defines the most common encryption terms in plain English, from algorithms and keys to protocols and attacks, so you can understand security discussions and make informed choices.
Core Encryption Terms
These are the building blocks you will see in almost any encryption discussion.
- Plaintext – the original, readable data (a message, file, or password) before encryption.
- Ciphertext – the scrambled output after encryption; looks like random gibberish without the key.
- Encryption – the process of converting plaintext to ciphertext using an algorithm and a key.
- Decryption – the reverse process, converting ciphertext back to plaintext using the correct key.
- Key – a secret value (a string of bits) that controls the encryption/decryption. Think of it as the combination to a lock.
- Algorithm (Cipher) – the mathematical procedure used to encrypt/decrypt. Examples: AES, RSA, ChaCha20.
Symmetric vs. Asymmetric Encryption
Encryption algorithms fall into two broad families based on how keys are used.
Symmetric encryption uses the same key for both encryption and decryption. Both parties must share the key secretly. It is fast and used for bulk data. Common symmetric algorithms include AES (Advanced Encryption Standard) and ChaCha20. The main challenge is securely distributing the key to all parties.
Asymmetric encryption (also called public-key cryptography) uses a pair of keys: a public key that anyone can see and a private key that only the owner keeps. Data encrypted with the public key can only be decrypted with the private key, and vice versa. This solves the key distribution problem. RSA and ECC (Elliptic Curve Cryptography) are common asymmetric algorithms. Asymmetric encryption is slower, so it is often used to exchange a symmetric session key, which then encrypts the actual data (a hybrid scheme).
Key Terms: Length, Exchange, and Derivation
Keys are central to encryption, and several terms describe how they are created and shared.
- Key length (key size) – the number of bits in a key. Longer keys mean more possible combinations and greater resistance to brute-force attacks. 128-bit AES is considered secure; 256-bit is even stronger.
- Key exchange – the process of securely sharing a symmetric key between two parties. Diffie-Hellman and ECDH are common key exchange protocols. They allow two parties to agree on a shared secret over an insecure channel.
- Key derivation function (KDF) – a function that turns a password or passphrase into a cryptographic key. PBKDF2, scrypt, and Argon2 are examples. They are designed to be slow, making password guessing harder.
- Key wrap – encrypting one key with another key, often used to protect keys during storage or transmission.
Encryption in Action: TLS, HTTPS, and VPNs
You encounter encryption terms every time you browse the web or use a VPN. Here is how they fit together.
TLS (Transport Layer Security) is the protocol that encrypts data between your browser and a website. When you see https:// in the address bar, TLS is in use. TLS uses a combination of asymmetric and symmetric encryption: it starts with a handshake where the client and server authenticate using certificates (which contain public keys), then they agree on a symmetric session key.
Certificates are digital documents that bind a public key to an entity (like a website). They are issued by Certificate Authorities (CAs) and are used to verify that you are actually talking to the real site, not an impostor.
VPN (Virtual Private Network) encrypts all traffic between your device and a VPN server, creating a secure tunnel. It uses protocols like OpenVPN or WireGuard, which rely on the same encryption primitives (AES, ChaCha20, etc.).
Common Encryption Attacks
Understanding how encryption can be attacked helps you appreciate why certain terms matter.
- Known-plaintext attack – the attacker has a sample of plaintext and its corresponding ciphertext, and uses it to try to deduce the key.
- Chosen-plaintext attack – the attacker can choose plaintexts and get their ciphertexts, which can help break some algorithms.
- Man-in-the-middle (MITM) attack – an attacker secretly intercepts and relays messages between two parties, potentially decrypting and re-encrypting them. Proper certificate validation prevents this in TLS.
- Side-channel attack – exploiting physical leaks like power consumption, timing, or electromagnetic emissions to recover a key, rather than attacking the math directly.
Choosing the Right Encryption
You rarely choose an algorithm directly; instead, you choose a tool (like a messaging app or a VPN) that uses encryption. However, understanding the terms helps you evaluate options.
- Look for end-to-end encryption – data is encrypted on your device and only decrypted on the recipient’s device, so the service provider cannot read it.
- Prefer modern algorithms – AES-256, ChaCha20, and ECC are widely accepted. Avoid outdated ones like DES or MD5 for security purposes.
- Check for forward secrecy – if a long-term key is compromised, past sessions remain secure. TLS with ECDHE provides this.
- Use strong passwords – a weak password can undermine even the best encryption. A KDF like Argon2 makes password cracking slower.
Frequently Asked Questions
What is the difference between encryption and hashing?
Encryption is reversible – you can decrypt the ciphertext back to plaintext with the key. Hashing is a one-way function that produces a fixed-size output (hash) from any input; you cannot reverse it to get the original input. Hashes are used for password storage and data integrity, not for confidentiality.
Is 128-bit encryption secure?
Yes, 128-bit encryption (like AES-128) is considered secure against brute-force attacks with current technology. The number of possible keys (2^128) is so vast that even the fastest supercomputers would take billions of years to try them all. 256-bit encryption offers even more margin, but 128-bit is not the weak link in most systems.
What does “end-to-end encryption” mean in messaging apps?
End-to-end encryption means that messages are encrypted on your device and only decrypted on the recipient’s device. The service provider (like the messaging app company) only sees ciphertext and cannot read your messages, even if compelled to hand over data.
Can the government or police break encryption?
Strong encryption with a sufficiently long key is computationally infeasible to break by brute force. However, law enforcement may obtain the key through legal means (e.g., a warrant to compel a suspect to provide a password), exploit a flaw in the implementation, or use malware to capture data before it is encrypted. The math itself is generally not the weakest point.
What is a “quantum computer” threat to encryption?
Quantum computers could potentially break certain asymmetric algorithms (like RSA and ECC) using Shor’s algorithm, because they can factor large numbers and compute discrete logarithms efficiently. Symmetric encryption (like AES) is less affected – quantum computers would roughly halve the effective key length. This is why post-quantum cryptography is being developed.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.
More cards in this drawer
- Capture Cards: What They Do & How to Use Them
- Affordable Family Sedan: Quietly Reliable?
- Binge-Worthy Paramount Shows to Finish in One Sitting
- Affordable Pickup Trucks: Top Picks & Costs28,554 USD
- Halloween Desk Accessories: Spooky Picks
- Coupe High Octane Fun Sedan? Truth vs Hype