At a time of widespread digital insecurity, it turns out that the oldest and simplest computer fix there is — turning a device off then back on again can thwart hackers from stealing information from smartphones.