Phase Change Memory and Its Applications in Hardware Security