From Bell's theorem to secure quantum key distribution.