College of Electrical and Information Engineering, Zhengzhou University of Light Industry, Zhengzhou 450002, China.
College of Architecture Environment Engineering, Zhengzhou University of Light Industry, Zhengzhou 450002, China.
Comput Intell Neurosci. 2021 Sep 6;2021:2091053. doi: 10.1155/2021/2091053. eCollection 2021.
To realize the safe transmission of images, a chaotic image encryption algorithm based on Latin square and random shift is proposed. The algorithm consists of four parts: key generation, pixel scrambling, pixel replacement, and bit scrambling. Firstly, the key is generated from the plain image to improve the sensitivity of the encryption method. Secondly, each pixel in each row of the image matrix is moved cyclically to the right, in turn, to change the position of the image pixel and realize pixel position scrambling. Then, a 256-order Latin square matrix composed of a chaotic sequence is used as a lookup table, and the replacement coordinates are calculated based on the image pixel value and the chaotic sequence value, replacing the corresponding coordinate elements in the image matrix. Finally, decompose the bitplane of the image matrix and combine it into two-bit matrices, scramble the two bit matrices, respectively, with the Latin square matrix, recombine the scrambled two-bit matrices, and convert them into decimal to obtain the ciphertext image. In the proposed encryption method, all the Latin square matrices used are generated by chaotic sequences, further enhancing the complexity of the generated Latin square matrix and improving the algorithm's security. Experimental results and security analysis show that the proposed algorithm has good security performance and is suitable for image encryption.
为实现图像的安全传输,提出了一种基于拉丁方和随机移位的混沌图像加密算法。该算法由密钥生成、像素置乱、像素替换和位置乱四部分组成。首先,从明文图像中生成密钥,提高加密方法的灵敏度。其次,依次循环将图像矩阵各行的每个像素向右移动,改变图像像素的位置,实现像素位置置乱。然后,使用由混沌序列组成的 256 阶拉丁方矩阵作为查找表,根据图像像素值和混沌序列值计算替换坐标,替换图像矩阵中相应的坐标元素。最后,分解图像矩阵的位平面,将其组合成两个二进制矩阵,分别用拉丁方矩阵对两个二进制矩阵进行置乱,重新组合置乱后的两个二进制矩阵,并将其转换为十进制,得到密文图像。在所提出的加密方法中,使用的所有拉丁方矩阵都是由混沌序列生成的,进一步增加了生成的拉丁方矩阵的复杂性,提高了算法的安全性。实验结果和安全性分析表明,该算法具有良好的安全性和适用性,适用于图像加密。