The invention relates to a three-dimensional image
encryption method and
system based on a four-dimensional hyper-
chaotic system and a medium in the technical field of
information security. The three-dimensional image
encryption method comprises the following steps: mapping all vertexes in V into bytes to obtain an original
byte matrix; a four-dimensional hyper-
chaotic system is constructed, and a row and column key Kperm and a
diffusion key Kdpff are generated. Firstly, scrambling is carried out through the Kperm pair, and then
diffusion is carried out through the Kdpff. According to the method, grid vertex coordinates of a three-dimensional image are equivalently mapped into a two-dimensional unsigned
integer matrix, on the basis, a designed four-dimensional hyperchaotic system is introduced to respectively generate a row scrambling sequence, a column scrambling sequence and a
diffusion mask matrix, and scrambling and XOR diffusion
processing is performed on vertex data on a
byte level, so that a three-dimensional image is obtained. Therefore, while the
encryption security is ensured, the encryption and decryption reversibility is high, and the method can be flexibly expanded under different file formats, different
chaotic parameters and different projection strategies, and is suitable for
engineering implementation and subsequent optimization.