Encryption Observer

Glossary When it goes wrong

Side-channel attacks

A side-channel attack watches what a device gives off while it works: how long an operation takes, how much power it draws, even the noise it makes. These tiny clues can reveal the secret key.

Think of it like this

Working out a safe's combination by listening to the clicks of the dial.

How a side-channel attack steals a keyAttacker's stepDefenceAttackers can recover a key from timing, power use or radio noise without touching the maths.
  1. 1Watch the device Measure how long each operation takes, how much power it draws or what it gives off. Example: Timing over a network, power on a smart card Needs no access to the key itself.
  2. 2Repeat many times Collect thousands or millions of measurements. Example: Automated Tiny differences add up.
  3. 3Work out the key Statistics link the measurements to individual bits of the key. Example: Kocher's 1996 timing attacks Spectre and Meltdown used similar ideas in 2018.
  4. 4Defence Code that takes the same time whatever the key, and hardware built to hide power and noise. Example: Constant-time code, HSMs, smart cards New post-quantum code has to meet the same bar.

Why it matters

The code and hardware that run the maths must also avoid leaking clues, which is why smart cards and HSMs are built to resist this.

Where you meet it

Chip cards, phones and cloud servers shared between many customers.

Go deeper history and technical detail

Paul Kocher published timing attacks in 1996 and power analysis attacks with colleagues in 1999. The Spectre and Meltdown flaws (2018) showed processors leaking data between programs through tiny timing differences. New post-quantum code has to be written to run in 'constant time', and implementations of Kyber, the scheme standardised as ML-KEM, have already been found leaking through timing.

Read or watch next

Related terms

Cite this page Encryption Observer, “Side-channel attacks”, encryption.observer/terms/side-channels/, checked December 2026.