Quantifying just how unpredictable random numbers really are could aid quantum cryptography.