Most memory researches only focus on improving the performance
which is to enlarge the capacityand and to increase the speed. However
aided designs to realize more functions have been rarely achieved in present memory studies. So an algorithm to encrypt and decrypt the address of memory is given out in this paper
and the encryption and decryption of the data is realized
which is based on the characteristics of memory
and the feasibility of this algorithm with simulation is validates.