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.

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.

Power drawn by a smart card while it uses its key101101the key's bits, read off the traceDefence:code that runsthe same wayfor every key
A device's power use can rise and fall with the key it is using. In this simple case, a longer step means a 1 and a shorter one a 0.

More diagrams: How a side-channel attack steals a key

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.