An Adaptive Memory-Side Encryption Method for Improving Security and Lifetime of PCM-Based Main Memory | IEEE Journals & Magazine | IEEE Xplore