side-channel attack
An attack that learns secrets from how a system behaves, such as timing, power use or error messages, rather than from a flaw in the algorithm itself.
Side channels can leak keys even when the cryptography itself is sound.
In more detail
Timing attacks are the kind most relevant to web services. The defence is to make secret-dependent operations behave the same whatever the data.
Related terms
- timing attack — An attack that works out secret information by measuring how long an operation takes.
Taught in
- Cryptographic Primitives: node:crypto & Ciphers — Node.js Internals & Backend Services