Application of three-dimensional Rubik’s cube scrambling and genetic information diffusion in multiple-color image encryption
摘要
With the increasing ubiquity of image information, chaos-based image encryption has become a key research topic in the field of information security. However, existing encryption algorithms often suffer from poor security performance and weak resistance to attacks. To address these issues, this paper proposes a multiple-color image encryption algorithm based on three-dimensional Rubik’s cube scrambling, a multi-scroll chaotic system, genetic information diffusion, and dynamic shift diffusion. First, multiple-color images of different sizes and types are input. The pixels of each image are sequentially filled into the three-dimensional cube. Next, a pixel average value from a randomly selected cutting plane on the XOY plane of the cube image is used as input to the SHA-256 algorithm. The resulting hash value is grouped and subjected to XOR operation. Simultaneously, the external input key is combined to obtain the encryption key, which is the initial value of the multi-scroll chaotic system. Then, each cutting plane in the three-dimensional space is traversed on the YOZ, XOZ, and XOY planes. The chaotic sequence is applied to rotate the planes at different angles, achieving the three-dimensional Rubik’s cube scrambling of the cube image pixels. Finally, the genetic information in biology is used to sequentially perform dynamic DNA encoding, DNA replication, DNA mutation, DNA computing, transcription, RNA replication, RNA mutation, and translation on the image pixels, achieving the first diffusion of pixels. Then, dynamic shifting and XOR operations are applied for secondary diffusion of the pixels, ultimately resulting in the encrypted image. This multi-image algorithm enhances pixel scrambling and security, and improves encryption strength through the dual diffusion of 3D pixel scrambling, biological genetic mechanisms, and dynamic shifting, combined with coupling keys. Through simulation results and security analysis, the proposed encryption algorithm demonstrates superior performance in several critical aspects, including a large key space (2747), high information entropy (7.9999), NPCR (99.6106%), and UACI (33.4713%). The multi-image encryption algorithm has strong resistance against various attacks, suggesting that the algorithm holds great potential for application in the field of secure communications.