Tech, ExplainedNetworking, infrastructure and security
Concept

Encryption

Readable only with the key.

HOW IT WORKSThe sender hasdata to protectSoftware scrambles thedata with a secret keyThe scrambled datatravels or is storedAnyone who copiesit sees onlyrandom charactersThe receiver uses thematching key to readthe original dataWithout the key, copied data is useless, so the key is what must be guarded.HOW IT WORKSThe senderhas datato protectSoftwarescrambles thedata with asecret keyThe scrambleddata travelsor is storedAnyone whocopies itsees onlyrandomcharactersThe receiveruses thematching keyto read theoriginal dataWithout the key, copied data is useless, so the key is what must be guarded.HOW IT WORKSThe sender has data to protect↓Software scrambles thedata with a secret key↓The scrambled data travels or is stored↓Anyone who copies it seesonly random characters↓The receiver uses the matching key toread the original dataWithout the key, copied data is useless, so the key iswhat must be guarded.
Data is scrambled with a key before it travels or is stored, and only someone who holds the matching key can turn it back into the original.
opens a page inside this one a page in the same scene a page in another scene a concept page a label only, with no page

Encryption means scrambling data so that only someone who holds the right key can read it. The key is a long secret number. Without the key, the scrambled data looks like random characters. With the key, a computer can turn it back into the original data in a fraction of a second. Turning it back is called decryption.

Here is how it works. The sender's software uses a key to scramble the data. The scrambled data then travels over a network or is stored on a disk. Anyone who copies it on the way sees only random characters. The receiver's software uses the matching key to turn it back into the original data.

Data is encrypted in two situations. The first is data being sent, such as a payment request travelling from a shop to a bank. The second is data being stored, such as customer records on a company's servers.

Encryption is only as safe as its keys. If an attacker steals the key, the scrambling no longer protects anything. So large companies use encryption key management to control who holds each key and to replace keys regularly. Inside a contactless card, a tiny chip called a secure element keeps the card's keys and never lets them out.

Take, for example, a website address that starts with https and shows a padlock. Everything you send to that site is encrypted on the way.

Consider a laptop with an encrypted hard disk that is stolen from a car. The thief gets only scrambled data, not the files on it.

For instance, a messaging app with end-to-end encryption scrambles each message on the sender's phone. Only the receiver's phone holds the key to read it.

How is encryption different from tokenisation? Encryption scrambles the real number, and the key can unscramble it. Tokenisation replaces the real number with a different number, and the real number stays in one safe place. Attackers use encryption too: ransomware encrypts a company's files and keeps the key. Researchers are now designing post-quantum cryptography, because future quantum computers may be able to break some of today's encryption.

Appears in

Healthtech and life sciences
Fintech
Networking, infrastructure and security
Gaming, streaming and media
Semiconductors and devices
Legaltech
Tech, Explained is a part of ingrid.fyi. Every page explains one piece of technology in plain words.