Special Agent Jack Bennett was at the FBI’s computer investigation lab in Quantico, Va., on a Sunday in March when an outside company showed the bureau how it could hack into an iPhone used by one of the San Bernardino shooters. The iPhone fight exposed a rift between the FBI and Silicon Valley technology companies over encryption, and it sparked a...