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.
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.
In plain words
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.
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
- Timing Attacks on Implementations of Diffie-Hellman, RSA, DSS, and Other SystemsPaul Kocher (1996), paper
Related terms
Cite this page Encryption Observer, “Side-channel attacks”, encryption.observer/terms/side-channels/, checked December 2026.