This paper presents a new chaotic algorithm to the encryption and decryption for the replacement of pixel position. Through the research on chaos theory and the chaotic sequence, by using the matlab tools to process the Chaos algorithm of encryption and relevant experiments and analysis on key sensitivity and pixel, we will find that this algorithm is more prominent and more securable. Also we could see it from the screenshots contrast among the decrypted picture, original picture and encrypted pi...