Encryption & Secure Communication

Encryption

About 5 min read

What Is Encryption

Encryption is a technology that transforms data using a specific algorithm so that only those with the correct key can read the original data. Think of it like placing a letter in a locked box before sending it - anyone without the key cannot see the contents.

Symmetric-Key and Public-Key Encryption

Symmetric-Key Encryption
Uses the same key for encryption and decryption. AES (NIST FIPS 197) is one example. Fast but key sharing is a challenge.
Public-Key Encryption
Uses different keys for encryption and decryption. RSA (specified in RFC 8017) is one example. Solves the key sharing problem but is slower. See public-key cryptography for details.

In practice, TLS communication uses a hybrid approach: public-key encryption securely exchanges a shared key, and subsequent data transfer uses the faster symmetric-key encryption.

Everyday Uses of Encryption

  • HTTPS: Encrypts communication with websites. The padlock icon in the address bar indicates this.
  • Messaging Apps: Apps such as Signal use end-to-end encryption, and Signal's site says that it cannot read your messages or listen to your calls, and no one else can either.
  • Disk Encryption: According to Apple, setting a passcode on an iPhone turns on Data Protection, which encrypts the iPhone's data with 256-bit AES. Microsoft describes BitLocker as encryption for entire volumes that addresses data theft or exposure from lost, stolen, or inappropriately decommissioned devices.
  • VPN: Encrypts traffic between the device and the VPN server.

What Encryption Cannot Protect

Encryption is not a silver bullet. While it is a countermeasure against eavesdropping on communication channels, it cannot help when users voluntarily enter passwords on phishing sites or when malware directly reads data on a compromised device.

To learn more about this topic, see our article What Is End-to-End Encryption - How Signal, WhatsApp, and LINE Protect Messages.

Common Misconceptions

If it is encrypted, it is absolutely safe
Encryption is a countermeasure against eavesdropping on communication channels, but it cannot protect against phishing or malware that compromises the device itself.
Encryption is only for experts
Encryption is used in everyday situations such as HTTPS web browsing, messaging apps, and smartphone disk encryption.

Symmetric-Key vs Public-Key Encryption

Symmetric-Key Encryption

Same key for encryption and decryption. Fast but key sharing is a challenge. AES is one example.

Public-Key Encryption

Different keys for encryption and decryption. Solves key sharing but slower. RSA is one example.

Share

Related Terms

Related Articles