Safety & security

Encryption

AI-assisted editorial review:

Encryption is a security technique that uses an algorithm and a key to turn readable data (plaintext) into scrambled data (ciphertext) that only someone holding the right key can turn back into its original form.[1] It protects data both in transit, such as messages and web traffic, and at rest, such as stored files and databases.[1] In the United States, the National Bureau of Standards (now NIST) published the Data Encryption Standard (DES) as a federal standard in January 1977, and encryption has since become a basic layer of internet infrastructure.[2]

What does Encryption mean in simple terms?

Encryption turns a message into what looks like random gibberish. Only someone with the right key can turn it back into readable text.[1] You use it every day without noticing: "https://" and the browser's connection information indicate the connection to the site is encrypted, and messaging apps with end-to-end encryption are designed so that only the people in the chat can read the messages.[1][8] A newer branch called homomorphic encryption lets a server compute on data while it stays encrypted. Apple, for example, uses it so that some photo and lookup features can query its servers without the server seeing the query.[10]

How can Encryption be explained with an analogy?

Encryption is the lock on a diary. Without the key, the pages cannot be read at all.

Where is Encryption used?

Case 1

HTTPS — Encrypting everyday web traffic

HTTPS secures web traffic with the TLS protocol, which replaced the older SSL protocol.[1] The current version, TLS 1.3, was published by the IETF in August 2018.[5] Google's Chrome data shows the share of page loads using HTTPS rose from around 30–45% in 2015 to around 95–99% by about 2020, and has largely plateaued since.[6] Google announced that with Chrome 154 in October 2026 it would turn on "Always Use Secure Connections" for public sites by default, so Chrome asks before opening a public site without HTTPS.[6]
Result: Most Chrome page loads now use HTTPS (around 95–99% since about 2020, per Google).[6]

Case 2

Messaging apps — End-to-end encryption

In October 2014, Daum Kakao announced a privacy mode for KakaoTalk that would use end-to-end encryption, storing the decryption keys on users' devices so that message content could not be read from its servers. It said one-to-one secret chats would come first, with group secret chats planned later.[7] In April 2016, WhatsApp announced that messages, calls, photos, videos, and files were end-to-end encrypted by default for users of the latest app version, including group chats.[8] Signal publishes the specifications for the key-agreement and messaging protocols it uses.[9]
Result: WhatsApp made end-to-end encryption the default for all chats in its latest app version (April 2016).[8]

Case 3

Apple — Computing on encrypted queries

Apple explained in October 2024 that it uses homomorphic encryption so a device can encrypt a query, the server can compute on the encrypted query, and only the device can decrypt the answer.[10] Apple uses this, together with other privacy techniques, for features such as Enhanced Visual Search in Photos, caller ID lookups, and web content filtering checks.[10] It also open-sourced a Swift homomorphic encryption library for developers.[10]
Result: Homomorphic encryption is used in production for private server lookups in Apple features (2024).[10]

Two main types

Symmetric encryption uses one shared secret key to lock and unlock data; AES is the common example. Asymmetric (public-key) encryption uses a key pair: a public key to encrypt and a private key to decrypt; RSA and elliptic curve cryptography are common examples.[1] NIST specifies AES in FIPS 197 with key lengths of 128, 192, and 256 bits.[3]

Where it is used

HTTPS relies on TLS, and asymmetric encryption is a foundation of TLS.[1] Messaging apps use end-to-end encryption to keep message content away from the service operator.[7][8] Encrypting a laptop's drive keeps data safe if the device is lost or stolen; check the encryption requirements that apply to your data and industry.[1]

Try it today

  1. Check that your company website and every login or payment page open with "https://" and show a valid secure connection in the browser's connection information.[1]
  2. Turn on full-disk encryption on work laptops and phones, to reduce the risk of exposing data on a lost, locked device.[1]
  3. In Chrome, open chrome://settings/security and check the "Always use secure connections" setting.[6]
  4. Use an end-to-end encrypted messenger for sensitive conversations, and confirm the feature is actually enabled in the app you use.[7][8]
  5. List where your encryption keys and passwords are stored and who can access them. Encryption is only as strong as the protection of its keys.[1]

Limits and direction

Encryption is not a cure-all. Weak passwords can still be guessed by brute force, and attacks get easier as computers become more powerful.[1] Future quantum computers threaten today's public-key methods, so NIST approved its first three post-quantum cryptography standards (FIPS 203, 204, and 205) in August 2024.[12] Cloudflare reported that the share of human web traffic it sees using post-quantum encryption grew from 29% to 52% during 2025.[13] Homomorphic encryption makes it possible to compute directly on encrypted data and is used in production for some private lookups, but it adds computational overhead, so services have to balance it against speed.[10][11] For AI projects using fully encrypted data, evaluate accuracy, compute cost and supported operations before adopting a solution.

How has Encryption evolved?

1977-01-15
DES standard
The U.S. National Bureau of Standards published the Data Encryption Standard (FIPS 46).[2]
1996-11-18
SSL 3.0
The final published version of SSL 3.0, the Netscape-authored protocol that became the basis for TLS and HTTPS encryption.[4]
2001-11-26
AES standard
NIST published the Advanced Encryption Standard (FIPS 197).[3]
2018-08
TLS 1.3
The IETF published TLS 1.3 (RFC 8446), the current version of the protocol behind HTTPS.[5]
2024-08-13
Post-quantum standards
NIST announced approval of FIPS 203, 204, and 205 for post-quantum cryptography.[12]
2024-10-24
Homomorphic encryption in products
Apple described using homomorphic encryption for private server lookups in features such as Enhanced Visual Search.[10]

Which concepts are related to Encryption?

  • Related security technique
    HashingHashing is one-way, while encryption can be reversed with the right key.[1]

Which sources explain Encryption?

  1. Cloudflare Learning Center — What is encryption? — https://www.cloudflare.com/learning/ssl/what-is-encryption/
  2. NIST CSRC — FIPS 46, Data Encryption Standard (DES) (1977-01-15) — https://csrc.nist.gov/pubs/fips/46/final
  3. NIST CSRC — FIPS 197, Advanced Encryption Standard (AES) (2001-11-26, updated 2023-05-09) — https://csrc.nist.gov/pubs/fips/197/final
  4. IETF — RFC 6101, The Secure Sockets Layer (SSL) Protocol Version 3.0 (2011-08, historical record of the 1996 version) — https://www.rfc-editor.org/rfc/rfc6101
  5. IETF — RFC 8446, The Transport Layer Security (TLS) Protocol Version 1.3 (2018-08) — https://www.rfc-editor.org/rfc/rfc8446
  6. Google Chrome Security — HTTPS by default (2025-10-28) — https://blog.google/security/https-by-defau/
  7. Kakao — KakaoTalk introduces privacy mode, including group chats (press release dated 2014-10-08) — https://www.kakaocorp.com/page/detail/7616?lang=ENG
  8. WhatsApp — End-to-end encryption (2016-04-05) — https://blog.whatsapp.com/end-to-end-encryption
  9. Signal — Technical documentation (specifications) — https://signal.org/docs/
  10. Apple Machine Learning Research — Combining Machine Learning and Homomorphic Encryption in the Apple Ecosystem (2024-10-24) — https://machinelearning.apple.com/research/homomorphic-encryption
  11. Microsoft Research — Microsoft SEAL — https://www.microsoft.com/en-us/research/project/microsoft-seal/
  12. NIST CSRC — Approval of three FIPS for post-quantum cryptography (2024-08-13) — https://csrc.nist.gov/news/2024/postquantum-cryptography-fips-approved
  13. Cloudflare — The 2025 Cloudflare Radar Year in Review (2025-12-15) — https://blog.cloudflare.com/radar-2025-year-in-review/