Electromagnetic systems for wiping data on hard drives