How hackers can time your code to figure out a secret login

(written by Lawrence Krubner, however indented passages are often quotes)

A fascinating kind of attack, and how to avoid it.

Source