The invention provides a hyperchaotic image
encryption method based on magic cube three-dimensional space parallel rotation scrambling, and the method comprises the steps: generating a pseudo-
random sequence as a preprocessing parameter, an
Arnold transformation parameter and a magic cube scrambling parameter through a seven-dimensional hyperchaotic
system, and carrying out the preprocessing of an R channel, a G channel and a
B channel of a
plaintext image through the pseudo-
random sequence, the
Arnold transformation parameter and the magic cube scrambling parameter, then,
Arnold transformation is controlled by a
pseudorandom sequence to scramble the preprocessed image so as to improve the defect that data aggregation easily occurs during subsequent scrambling of the three-dimensional magic cube, then, an obtained two-dimensional chaos matrix is converted into a three-dimensional matrix, a rotating shaft, the number of rotating
layers and the rotating angle are dynamically selected by the
pseudorandom sequence, and the three-dimensional chaos matrix is obtained. And parallel rotation scrambling of the magic cube three-dimensional space is carried out. According to the method, the image pixel values are mapped to all the small cubes contained in the whole Rubik's cube for three-dimensional space scrambling, and the characteristics of the three-dimensional structure of the Rubik's cube are better utilized, so that the scrambling complexity is improved, the safety of the
ciphertext image is improved, the
key space is larger, and the scrambling effect is better.