The invention discloses an image
encryption method and device based on a
chaotic system and
electronic equipment, and relates to privacy computing or other related fields, and the method comprises the steps: converting a target image into a three-channel
grayscale image, and converting the three-channel
grayscale image into a one-dimensional array; obtaining a first random key
stream generated by the new four-dimensional
chaotic system, and performing pixel value
diffusion on the one-dimensional array; merging the diffused image arrays, generating a scrambling function based on
chaotic tent mapping, and scrambling pixel positions of the merged arrays; obtaining a second random key
stream, selecting
a DNA coding rule, and coding the scrambling array into
a DNA sequence; obtaining a third random key
stream and selecting
a DNA operation rule to perform
encryption operation on the
DNA sequence; and decoding the encrypted sequence into a decimal
system, and combining channels to obtain a target encrypted image. Through the method and the device, the technical problem that the
encryption information is easily attacked and cracked due to the fact that the sensitive data encryption method in the related technology is limited to the encryption dimension and the
key space is solved.