Exploiting random phenomena in magnetic materials for data security, logics, and neuromorphic computing : Challenges and prospects