IN SOUTHERN CALIFORNIA, the FBI was playing a game of digital Russian roulette. It could make ten attempts to guess the four-digit passcode of the locked iPhone, but if they all failed, the device could automatically erase itself or be disabled, accessing it would become impossible, and their final lead in the case would be dead.

