Image encryption processing method and device, equipment and storage medium

By transforming and processing the two-dimensional matrix data of the image, a target matrix group is generated to realize the encryption of the image, and decrypting it through the inverse deletion law, the problem of difficult to balance the encryption complexity and processing efficiency in the prior art is solved, and a safe and efficient image encryption and decryption process is achieved.

CN119835371AActive Publication Date: 2025-04-15SHENZHEN UNIV
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202411931774.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-26
Publication Date
2025-04-15
Estimated Expiration
2044-12-26

AI Technical Summary

Technical Problem

The prior art is difficult to balance the encryption complexity and processing efficiency in the image encryption and decryption process, resulting in the complex decoding process and low efficiency when the password is set up, and the decoding speed is fast but easy to be deciphered when the password is set up.

Method used

By performing the first transformation process on the two-dimensional matrix data of the grayscale image to be encrypted, the first transformation matrix group is obtained, and the transformation is performed according to the transformation rules of the transposed matrix, the diagonal matrix and the product matrix, the target matrix group is generated, and the encryption is completed. During decryption, the transform submatrix in the target matrix group is deleted according to the inverse deletion law, and inverse transformation is performed to restore the original image.

Benefits of technology

In the encryption and decryption process of grayscale images, there are both regular and difficult to decipher password settings, effectively balancing the encryption complexity and processing efficiency, and ensuring the secure transmission and storage of image data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119835371A_ABST
    Figure CN119835371A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to the technical field of image processing, and discloses an image data encryption processing method, which comprises the following steps: acquiring two-dimensional matrix data of a to-be-encrypted grayscale image; performing first transformation processing on the two-dimensional matrix data to obtain a first transformation matrix group; the first transformation matrix group comprises N layers of two-dimensional sub-matrixes; wherein one two-dimensional sub-matrix element of the Nth two-dimensional sub-matrix is the gray value of the Nth position pixel, the remaining two-dimensional sub-matrix elements are 0, and N is an integer greater than 0; transforming the two-dimensional matrix data or N layers of two-dimensional sub-matrixes in the first transformation matrix group according to at least one transformation rule to obtain at least one transformation sub-matrix; and adding the at least one transformation sub-matrix into the first transformation matrix group according to a preset addition rule to obtain a target matrix group of the to-be-encrypted grayscale image. Through the method, the encryption of the grayscale image is regular and is difficult to decode, so that the encryption complexity and the processing efficiency can be effectively balanced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of image processing technology, and in particular to an image encryption processing method, an image decryption processing method, a device and a computer-readable storage medium. Background Art

[0002] With the development of informatization, more and more information is carried by images, and more and more information is stored and transmitted in the form of images. However, since images are easy to copy and spread, while enjoying the convenience of information transmission, the security requirements for image storage and transmission are also getting higher and higher.

[0003] In order to improve the security of image transmission, the image is usually encrypted first and then decrypted at the receiving end. However, the existing encryption or decryption methods are relatively weak in security. When the password is set complexly, the difficulty of decryption is high, which makes the decoding process more complicated and the decoding efficiency is low. When the password is set simple, the decoding speed is fast but it is easier to be decrypted.

[0004] Therefore, no effective solution has been proposed for how to balance encryption complexity and processing efficiency in image encryption and decryption methods in the related art. Summary of the invention

[0005] In view of the above problems, embodiments of the present invention provide an image encryption processing method, apparatus, device and system to solve the problem in the prior art that encryption complexity and processing efficiency cannot be balanced.

[0006] According to one aspect of an embodiment of the present invention, there is provided an image encryption processing method, the method comprising: Acquire two-dimensional matrix data of the grayscale image to be encrypted; in the two-dimensional matrix data, each two-dimensional matrix element is the grayscale value of the pixel at the corresponding position; Performing a first transformation process on the two-dimensional matrix data to obtain a first transformation matrix group; the first transformation matrix group includes N layers of two-dimensional sub-matrices; wherein a two-dimensional sub-matrix element of the Nth two-dimensional sub-matrix is ​​the gray value of the pixel at the Nth position, and the remaining two-dimensional sub-matrix elements are 0, and N is an integer greater than 0; Transforming the two-dimensional matrix data according to at least one transformation rule to obtain at least one transformation submatrix; wherein the at least one transformation rule comprises at least one of calculating a transposed matrix, calculating a diagonal matrix, and calculating the product of a transposed matrix and a diagonal matrix; The at least one transformation sub-matrix is ​​added to the first transformation matrix group according to a preset adding rule to obtain the target matrix group of the grayscale image to be encrypted, so as to complete the encryption of the grayscale image to be encrypted; the preset adding rule includes cyclically inserting the at least one transformation sub-matrix between each two-dimensional sub-matrix.

[0007] In one embodiment of the present invention, the transformation rule includes calculating the transposed matrix of the two-dimensional matrix data, calculating the diagonal matrix of the two-dimensional matrix data, and calculating the product matrix of the transposed matrix and the diagonal matrix; the preset addition rule is to cyclically insert the transposed matrix, the diagonal matrix and the product matrix between each two-dimensional sub-matrix.

[0008] In one embodiment of the present invention, transforming the two-dimensional matrix data according to at least one transformation rule to obtain at least one transformation sub-matrix includes: Calculating a transposed matrix of the two-dimensional matrix data to obtain a transposed matrix; Calculating a diagonal matrix of the two-dimensional matrix data to obtain a diagonal matrix; Calculate the product of the transposed matrix of the two-dimensional matrix data and the diagonal matrix to obtain a product matrix; The step of adding the at least one transformation sub-matrix to the first transformation matrix group according to a preset adding rule to obtain a target matrix group of the grayscale image to be encrypted includes: Grouping the N layers of two-dimensional sub-matrices in the first transformation matrix group in order, with three as a group, to obtain multiple groups of matrix sub-groups; For each group of matrix sub-groups, the transposed matrix is ​​added to the first two-dimensional sub-matrix, the diagonal matrix is ​​added to the second two-dimensional sub-matrix, and the product matrix is ​​added to the third two-dimensional sub-matrix to obtain the target matrix group; wherein the first two-dimensional sub-matrix, the second two-dimensional sub-matrix and the third two-dimensional sub-matrix are different two-dimensional sub-matrices in each group of matrix sub-groups.

[0009] In one embodiment of the present invention, for each group of matrix sub-groups, the transposed matrix is ​​added to the first two-dimensional sub-matrix, the diagonal matrix is ​​added to the second two-dimensional sub-matrix, and the product matrix is ​​added to the third two-dimensional sub-matrix to obtain the target matrix group, including: Using the remainder division method, the transposed matrix, the diagonal matrix, and the product matrix are solved to obtain the positions corresponding to the addition of the transposed matrix, the diagonal matrix, and the product matrix in the first transformation matrix group; According to the multiple added positions, the transposed matrix, the diagonal matrix and the product matrix are added between the N-layer two-dimensional sub-matrices.

[0010] In one embodiment of the present invention, the step of obtaining the two-dimensional matrix data of the grayscale image to be encrypted further includes: obtaining binary storage data of the grayscale image to be encrypted; and converting the binary storage data into the two-dimensional matrix data.

[0011] In one embodiment of the present invention, after the digitized values ​​are stored in sequence in the optical disc, the method further includes: obtaining content identification information of the optical disc; generating an encrypted verification value after encrypting the content identification information of the optical disc using a preset encryption algorithm; and storing the encrypted verification value in an optical disc verification storage area of ​​the host.

[0012] In one embodiment of the present invention, after adding the at least one transformation sub-matrix to the first transformation matrix group according to a preset adding rule to obtain the target matrix group of the grayscale image to be encrypted, the method further includes: Digitally encode each target matrix in the target matrix group to obtain a digitized value; the target matrix is ​​each matrix in the target matrix group; The digitized values ​​are stored in sequence in the optical disc.

[0013] In one embodiment of the present invention, the step of obtaining the two-dimensional matrix data of the grayscale image to be encrypted further includes: obtaining binary storage data of the grayscale image to be encrypted; and converting the binary storage data into the two-dimensional matrix data.

[0014] The present application also provides an image decryption processing method, including: Reading a target matrix group of a grayscale image to be decrypted; the target matrix group is obtained by adding N-layer two-dimensional sub-matrices of a first transformation matrix group to the first transformation matrix group according to a preset addition rule; the transformation sub-matrix group is obtained by transforming the two-dimensional matrix data of the grayscale image to be encrypted according to at least one transformation rule; the first transformation matrix group includes N-layer two-dimensional sub-matrices; the at least one transformation rule includes at least one of calculating a transposed matrix, calculating a diagonal matrix, and calculating the product of a transposed matrix and a diagonal matrix; the preset addition rule includes cyclically inserting the at least one transformation sub-matrix between each two-dimensional sub-matrix; Deleting the transformation submatrix in the target matrix group according to a preset deletion rule to obtain a first transformation matrix group; the preset deletion rule is a rule opposite to the preset addition rule; The first transformation matrix group is subjected to a first inverse transformation to obtain two-dimensional matrix data, thereby completing the decryption of the grayscale image to be decrypted; wherein, in the two-dimensional matrix data, each two-dimensional matrix element is the grayscale value of the pixel at the corresponding position; the grayscale value of the pixel at the Nth position in the two-dimensional matrix data is a two-dimensional sub-matrix element of the Nth two-dimensional sub-matrix, and N is an integer greater than 0.

[0015] In one embodiment of the present invention, the step of reading a target matrix group of a grayscale image to be decrypted includes: The data in the optical disc is read by a laser probe to obtain a digitized value; The digitized values ​​are decoded to obtain a target matrix group.

[0016] The embodiment of the present application further proposes a computer device, comprising: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other through the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to execute the above-mentioned image encryption processing method or image decryption method.

[0017] The embodiment of the present application further proposes a computer-readable storage medium, in which at least one executable instruction is stored. When the executable instruction is executed on a computer device, the computer device executes the above-mentioned image encryption processing method or image decryption method.

[0018] In an embodiment of the present invention, by obtaining the two-dimensional matrix data of the grayscale image to be encrypted, the two-dimensional matrix data is subjected to a first transformation process to obtain a first transformation matrix group; the two-dimensional matrix data is transformed according to at least one transformation rule to obtain at least one transformation sub-matrix, and the at least one transformation sub-matrix is ​​added to the first transformation matrix group according to a preset addition rule to obtain a target matrix group of the grayscale image to be encrypted, so as to complete the encryption of the grayscale image to be encrypted, which makes the data storage of the grayscale image change from a plane to a three-dimensional one, inserts a data interlayer in the middle, and generates different plane square matrices according to the characteristics of the given grayscale image, and these generated square matrices are arranged in a group of 3 and a group of 3, and the password is set regularly; because the generated square matrices of different images are different, the password is difficult to decipher. This makes the encryption of the grayscale image both regular and difficult to decipher, so that the encryption complexity and processing efficiency can be effectively balanced.

[0019] The above description is only an overview of the technical solution of the embodiment of the present invention. In order to more clearly understand the technical means of the embodiment of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the embodiment of the present invention more obvious and easy to understand, the specific implementation mode of the present invention is specifically listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The accompanying drawings are only used to illustrate the embodiments and are not to be considered as limiting the present invention. In addition, the same reference symbols are used to represent the same components throughout the accompanying drawings. In the accompanying drawings: Figure 1 A schematic diagram of the image encryption processing method provided by an embodiment of the present invention is shown; Figure 2 A schematic diagram of a grayscale image of an image encryption processing method provided by an embodiment of the present invention is shown; Figure 3 A schematic diagram of an image decryption process flow provided by another embodiment of the present invention is shown; Figure 4 A structural diagram of a computer device provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0021] Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention can be implemented in various forms and should not be limited to the embodiments set forth herein.

[0022] like Figure 1 As shown, a schematic diagram of the image encryption processing method provided by an embodiment of the present invention is shown. The method is executed by a computer device, such as a desktop computer, a tablet computer, a personal computer, etc., and the embodiment of the present invention does not make specific restrictions. Figure 1 As shown, the method comprises the following steps: Step 110: Obtain two-dimensional matrix data of the grayscale image to be encrypted, wherein each two-dimensional matrix element in the two-dimensional matrix data is the grayscale value of the pixel at the corresponding position.

[0023] The grayscale image may be a black-and-white image, for example, a black-and-white test paper or a confidential image file. Grayscale images are stored in a computer in binary format. In an embodiment of the present invention, binary storage data of the grayscale image to be encrypted is obtained; the binary storage data is converted into the two-dimensional matrix data. For the two-dimensional matrix data of the grayscale image, each element in the two-dimensional matrix data represents the grayscale value of a pixel. The two-dimensional matrix of the grayscale image matrix is ​​represented as follows:

[0024] For a grayscale image, its grayscale value is 0~255. For example, a 3×3 grayscale image can be represented as follows: The grayscale value of a grayscale image is 0 to 255. For example, for a 2×2 grayscale image, the two-dimensional matrix data is a "1-layer" matrix in a two-dimensional space, and the two-dimensional matrix A' can be expressed as: Among them, the matrix middle Represents the grayscale value of the first pixel in the first row, Represents the grayscale value of the second pixel in the first row, Represents the grayscale value of the first pixel in the second row, Represents the grayscale value of the second pixel in the second row.

[0025] Step 120: Perform a first transformation process on the two-dimensional matrix data to obtain a first transformation matrix group; the first transformation matrix group includes N layers of two-dimensional sub-matrices.

[0026] Among them, Figure 3 As shown, a two-dimensional sub-matrix element of the Nth two-dimensional sub-matrix is ​​the grayscale value of the pixel at the Nth position, and the remaining two-dimensional sub-matrix elements are 0, and N is an integer greater than 0.

[0027] In the embodiment of the present invention, the dimension of the two-dimensional matrix A is transformed to obtain N layers of two-dimensional sub-matrices, the first two-dimensional sub-matrix element of the N-th two-dimensional sub-matrix is ​​the gray value of the pixel at the N-th position, and the remaining two-dimensional sub-matrix elements are 0. Continuing with the above example, for the two-dimensional matrix A, after the dimension transformation, N two-dimensional sub-matrices are obtained, which are expressed as: , where the element in row 1 and column 1 is outside, are the elements in the two-dimensional matrix A, and the rest of the elements are 0. That is, for the first two-dimensional submatrix, = ; For the second two-dimensional submatrix, = , until all elements in the two-dimensional matrix A are traversed, and N two-dimensional sub-matrices are obtained, where N is .

[0028] Among them, for the 2×2 matrix , it is split into four two-dimensional sub-matrices: .

[0029] Step 130: transform the two-dimensional matrix data according to at least one transformation rule to obtain at least one transformation sub-matrix.

[0030] Among them, at least one transformation rule includes at least one of calculating a transposed matrix, calculating a diagonal matrix, and calculating a product matrix of a transposed matrix and a diagonal matrix.

[0031] In one embodiment of the present invention, three transformation rules are used: transpose matrix, calculate diagonal matrix, and calculate the product of transpose matrix and diagonal matrix. The transpose matrix of the two-dimensional matrix data is calculated to obtain the transpose matrix; the diagonal matrix of the two-dimensional matrix data is calculated to obtain the diagonal matrix; the product of the transpose matrix of the two-dimensional matrix data and the diagonal matrix is ​​calculated to obtain the product matrix. Specifically, the transpose matrix B = , the diagonal matrix C only retains the values ​​of the elements on the diagonal of the two-dimensional matrix data A, and the values ​​at other positions are all 0; calculate the product matrix D=BC of the transposed matrix and the diagonal matrix.

[0032] Step 140: adding the at least one transformation sub-matrix to the first transformation matrix group according to a preset adding rule to obtain a target matrix group of the grayscale image to be encrypted, so as to complete the encryption of the grayscale image to be encrypted.

[0033] Wherein, the preset adding rule includes cyclically inserting the at least one transformation submatrix between each two-dimensional submatrix. In a specific implementation of the present invention, the transposed matrix, the diagonal matrix and the product matrix are cyclically inserted between each two-dimensional submatrix. In one embodiment of the present invention, the N layers of two-dimensional submatrices in the first transformation matrix group are grouped into three groups to obtain multiple groups of matrix subgroups; for each group of matrix subgroups, the transposed matrix is ​​added to the first two-dimensional submatrix, the diagonal matrix is ​​added to the second two-dimensional submatrix, and the product matrix is ​​added to the third two-dimensional submatrix to obtain the target matrix group; wherein, the first two-dimensional submatrix, the second two-dimensional submatrix and the third two-dimensional submatrix are different two-dimensional submatrices in each group of matrix subgroups. That is to say, the transposed matrix, the diagonal matrix and the product matrix are cyclically inserted in sequence between each two-dimensional submatrix.

[0034] For example, for the 2×2 matrix , it is split into four two-dimensional sub-matrices: , after adding the transposed matrix, diagonal matrix and product matrix in sequence, it becomes: .

[0035] In order to improve the efficiency of encryption, the embodiment of the present invention uses the remainder division method to solve the multiple positions of the transposed matrix, the diagonal matrix and the product matrix in the first transformation matrix group corresponding to the addition respectively; according to the multiple added positions, the transposed matrix, the diagonal matrix and the product matrix are added between the N layers of two-dimensional sub-matrices. Specifically, for N two-dimensional sub-matrices, there are , where the transposed matrix is ​​inserted into the first interlayer = Insert the diagonal matrix into the second layer , insert the product matrix in the third layer The matrix in the fourth layer is the same as the matrix in the first layer, the matrix in the fifth layer is the same as the matrix in the second layer, the matrix in the sixth layer is the same as the matrix in the third layer, and so on. Use the remainder division method to find the The matrix inserted in the first interlayer is the same as the matrix of the first, second, or third interlayer: = 3 + r , where ∈ r∈ And 0 ≤ r 3.

[0036] in, is the number of interlayers, is the quotient and r is the remainder. When r=0, = 3 , indicating that the matrix inserted into the current interlayer should be the same as the matrix corresponding to the third interlayer, that is, the product matrix When r=1, = 3 , indicating that the matrix inserted into the current interlayer should be the same as the matrix corresponding to the first interlayer, that is, the transposed matrix When r=2, = 3 , indicating that the matrix inserted into the current interlayer should be the same as the matrix corresponding to the second interlayer, that is, a diagonal matrix Through the remainder division method, the matrix inserted into the interlayer between each two-dimensional sub-matrix can be quickly determined, thereby effectively improving the encryption efficiency.

[0037] Among them, after step 140, the embodiment of the present invention further digitally encodes each target matrix in the target matrix group to obtain a digitized value; the target matrix is ​​each matrix in the target matrix group; and the digitized values ​​are stored in the optical disc in sequence. Specifically, in a specific implementation of the present invention, lossless encoding can be used to digitally encode each target matrix to obtain a digitized value, and the lossless encoding method can be run-length encoding or Huffman encoding. Arrange each digitized value in the encoded order, and add file header information in front of the encoded data. The file header information contains basic attributes of the image, such as the width and height of the image (in pixels), color mode (grayscale, RGB, CMYK, etc.), encoding method, etc. The formatted image data is sent to the optical disc drive through the optical disc write interface, and the laser head in the optical disc drive forms a physical mark on the recording layer of the optical disc according to the binary encoding of the data to store the data. The optical disc drive uses the host optical modulator to modulate the intensity of the laser light source output beam to represent data 1 and 0; then the modulated laser beam is focused by the objective lens through the optical path writing system, so that the beam becomes a light spot of size 1 and is projected onto the recording medium, with a pit representing 1 and no pit representing 0. After the encrypted grayscale image data is stored in the optical disc, the content identification information corresponding to the optical disc is generated in the optical disc. In order to further enhance the security of stored images, the embodiment of the present invention stores the digitized values ​​in order in the optical disc, and then obtains the content identification information of the optical disc; generates a first encryption verification value after encrypting the content identification information of the optical disc using a preset encryption algorithm; stores the encryption verification value in the optical disc verification storage area of ​​the cloud platform, and stores the first transformation processing algorithm, transformation rules, and preset addition rules in the rule storage area, so that when the image decryption processing device reads the optical disc, it needs to first read the content identification information of the optical disc, and encrypt it using a preset encryption algorithm according to the content identification information of the optical disc, and then generate a second encryption verification value and verify it with the first encryption verification value of the cloud platform. When the verification is passed, the cloud platform sends the first transformation processing algorithm, transformation rules, and preset addition rules in the rule storage area to the image decryption processing device. In this way, the strength of image data encryption is further enhanced.

[0038] In an embodiment of the present invention, by obtaining the two-dimensional matrix data of the grayscale image to be encrypted, the two-dimensional matrix data is subjected to a first transformation process to obtain a first transformation matrix group; the two-dimensional matrix data is transformed according to at least one transformation rule to obtain at least one transformation sub-matrix, and the at least one transformation sub-matrix is ​​added to the first transformation matrix group according to a preset addition rule to obtain the target matrix group of the grayscale image to be encrypted, so as to complete the encryption of the grayscale image to be encrypted, which makes the data storage of the grayscale image change from a plane to a three-dimensional one, inserts a data interlayer in the middle, and the data interlayer generates different plane square matrices according to the characteristics of the given grayscale image, and these generated square matrices are arranged in a group of 3 and a group of 3, and the password is set regularly; because the generated square matrices of different images are different, the password is difficult to decipher, which makes the encryption of the grayscale image both regular and difficult to decipher, so that the encryption complexity and processing efficiency can be effectively balanced. In this way, the embodiment of the present invention enables confidential documents such as test papers to be effectively protected in practical applications. For example, when the black and white image of the test paper is transmitted from the computer to the printer, the encrypted transmission of the embodiment of the present invention is realized, and the encrypted printing of the test paper is realized.

[0039] like Figure 2 As shown, a schematic diagram of the image decryption processing method provided by an embodiment of the present invention is shown. The method is executed by a computer device, which may be an image reading device, such as an intelligent printing device, a computer device dedicated to examinations, etc., and the embodiment of the present invention does not make specific restrictions. Figure 2 As shown, the method comprises the following steps: Step 210: Read the target matrix group of the grayscale image to be decrypted.

[0040] The data in the optical disc is read by a laser probe to obtain a digitized value. When reading information, the power of the laser beam can be one tenth of the power when writing. The read beam is an unmodulated continuous wave, which is focused into a small light spot on the recording medium after passing through the optical path system. In the absence of a concave portion, most of the incident light is returned; in the concave portion, the reflected light cancels the incident light due to the depth of the pit and does not return. In this way, the "1" and "0" information recorded on the medium is read out according to the difference in the reflection ability of the light beam. In an embodiment of the present invention, after obtaining the digitized value, the digitized value is decoded to obtain a target matrix group.

[0041] In the embodiment of the present invention, the content identification information of the optical disc is first read, and a preset encryption algorithm is used to encrypt the content identification information of the optical disc. After generating a second encryption check value, the second encryption check value is verified with the first encryption check value of the cloud platform. When the verification passes, the cloud platform sends the first transformation processing algorithm, transformation rules, and preset addition rules of the rule storage area to the image decryption processing device, so that the image decryption processing device can process the target matrix group according to a transformation that is inverse to the first transformation processing algorithm, transformation rules, and preset addition rules.

[0042] Among them, the target matrix group is obtained by adding N layers of two-dimensional sub-matrices of the first transformation matrix group to the first transformation matrix group according to a preset adding rule; the transformation sub-matrix group is obtained by transforming the two-dimensional matrix data of the grayscale image to be encrypted according to at least one transformation rule; the first transformation matrix group includes N layers of two-dimensional sub-matrices; the at least one transformation rule includes at least one of calculating the transposed matrix, calculating the diagonal matrix and calculating the product of the transposed matrix and the diagonal matrix; the preset adding rule includes cyclically inserting the at least one transformation sub-matrix between each two-dimensional sub-matrix.

[0043] Step 220: Delete the transformation sub-matrices in the target matrix group according to a preset deletion rule to obtain a first transformation matrix group.

[0044] Among them, the transformation sub-matrix is ​​obtained by transforming the two-dimensional matrix data according to at least one transformation rule; the at least one transformation rule includes at least one of calculating the transposed matrix, calculating the diagonal matrix and calculating the product of the transposed matrix and the diagonal matrix; the first transformation matrix group includes N layers of two-dimensional sub-matrices.

[0045] Among them, the preset deletion rule is a rule opposite to the preset addition rule. According to the above embodiment, when encrypting the original grayscale image, the remainder division method is used to solve the multiple positions corresponding to the addition of the transposed matrix, the diagonal matrix and the product matrix in the first transformation matrix group; according to the multiple added positions, the transposed matrix, the diagonal matrix and the product matrix are added between the N-layer two-dimensional sub-matrices to obtain the target matrix group. Among them, for Two-dimensional submatrices, which exist , where the transposed matrix is ​​inserted into the first interlayer = Insert the diagonal matrix into the second layer , insert the product matrix in the third layer The matrix in the 4th interlayer is the same as the matrix in the 1st interlayer, the matrix in the 5th interlayer is the same as the matrix in the 2nd interlayer, the matrix in the 6th interlayer is the same as the matrix in the 3rd interlayer, and so on. Therefore, in the embodiment of the present invention, the transformation sub-matrices in the target matrix group are deleted according to the preset deletion rule. When the first transformation matrix group is obtained, the preset deletion rule may be to delete the matrices in the target matrix group at intervals.

[0046] Step 230: Perform a first inverse transformation on the first transformation matrix group to obtain two-dimensional matrix data of the grayscale image to be decrypted, thereby completing the decryption of the grayscale image to be decrypted.

[0047] Among them, in the two-dimensional matrix data, each two-dimensional matrix element is the grayscale value of the pixel at the corresponding position of the original grayscale image; the grayscale value of the pixel at the Nth position in the two-dimensional matrix data is a two-dimensional sub-matrix element of the Nth two-dimensional sub-matrix, and N is an integer greater than 0. The first two-dimensional sub-matrix element of the Nth two-dimensional sub-matrix is ​​the grayscale value of the pixel at the Nth position, and the remaining two-dimensional sub-matrix elements are 0, and N is an integer greater than 0. Therefore, the first inverse transformation processing is: the first two-dimensional sub-matrix element of the Nth two-dimensional sub-matrix is ​​used as the Nth two-dimensional matrix element in the two-dimensional matrix data. Through the first inverse transformation processing, the two-dimensional matrix data of the grayscale image to be decrypted is obtained, and the decryption of the grayscale image to be decrypted is completed.

[0048] After completing the decryption of the grayscale image to be decrypted, the embodiment of the present invention further reads each two-dimensional matrix element in the two-dimensional matrix data; maps each two-dimensional matrix element to the grayscale value of the pixel at the corresponding position on the screen, thereby generating an image.

[0049] In an embodiment of the present invention, by obtaining the two-dimensional matrix data of the grayscale image to be encrypted, the two-dimensional matrix data is subjected to a first transformation process to obtain a first transformation matrix group; the two-dimensional matrix data is transformed according to at least one transformation rule to obtain at least one transformation sub-matrix, and the at least one transformation sub-matrix is ​​added to the first transformation matrix group according to a preset addition rule to obtain a target matrix group of the grayscale image to be encrypted, so as to complete the encryption of the grayscale image to be encrypted, which makes the data storage of the grayscale image change from a plane to a three-dimensional one, inserts a data interlayer in the middle, and generates different plane square matrices according to the characteristics of the given grayscale image, and these generated square matrices are arranged in a group of 3 and a group of 3, and the password is set regularly; because the generated square matrices of different images are different, the password is difficult to decipher. This makes the encryption of the grayscale image both regular and difficult to decipher, so that the encryption complexity and processing efficiency can be effectively balanced.

[0050] The present application also provides a computer device, such as Figure 4The computer device may include: a processor 302 , a communication interface 304 , a memory 306 , and a communication bus 308 .

[0051] The processor 302, the communication interface 304, and the memory 306 communicate with each other via the communication bus 308. The communication interface 304 is used to communicate with other devices such as a client or a network element of another server. The processor 302 is used to execute the program 310, which can specifically execute the relevant steps in the above-mentioned embodiments of the image encryption processing method or the image decryption processing method.

[0052] Specifically, the program 310 may include program code including computer executable instructions.

[0053] The processor 302 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiment of the present invention. The one or more processors included in the visual network terminal may be processors of the same type, such as one or more CPUs; or processors of different types, such as one or more CPUs and one or more ASICs.

[0054] The memory 306 is used to store the program 310. The memory 306 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

[0055] The program 310 can be specifically called by the processor 302 to enable the computer device to perform the following operations: Acquire two-dimensional matrix data of a grayscale image to be encrypted; in the two-dimensional matrix data, each two-dimensional matrix element is the grayscale value of a pixel at a corresponding position; perform a first transformation process on the two-dimensional matrix data to obtain a first transformation matrix group; the first transformation matrix group includes N layers of two-dimensional sub-matrices; wherein a two-dimensional sub-matrix element of the Nth two-dimensional sub-matrix is ​​the grayscale value of the pixel at the Nth position, and the remaining two-dimensional sub-matrix elements are 0, and N is an integer greater than 0; Transforming the two-dimensional matrix data according to at least one transformation rule to obtain at least one transformation submatrix; wherein the at least one transformation rule comprises at least one of calculating a transposed matrix, calculating a diagonal matrix, and calculating the product of a transposed matrix and a diagonal matrix; adding the at least one transformation submatrix to the first transformation matrix group according to a preset adding rule to obtain the target matrix group of the grayscale image to be encrypted, so as to complete the encryption of the grayscale image to be encrypted; or reading the target matrix group of the grayscale image to be decrypted; The transformation submatrix in the target matrix group is deleted according to a preset deletion rule to obtain a first transformation matrix group; the transformation submatrix is ​​obtained by transforming the two-dimensional matrix data or the N-layer two-dimensional submatrix in the first transformation matrix group according to at least one transformation rule; the at least one transformation rule includes at least one of calculating a transposed matrix, calculating a diagonal matrix, and calculating the product of a transposed matrix and a diagonal matrix; the first transformation matrix group includes N-layer two-dimensional submatrices; Perform a first inverse transformation on the first transformation matrix group to obtain two-dimensional matrix data of the decrypted grayscale image; wherein the grayscale value of the Nth position pixel in the two-dimensional matrix data is a two-dimensional sub-matrix element of the Nth two-dimensional sub-matrix, and N is an integer greater than 0.

[0056] In one embodiment of the present invention, the transformation rule includes calculating the transposed matrix of the two-dimensional matrix data, calculating the diagonal matrix of the two-dimensional matrix data, and calculating the product matrix of the transposed matrix and the diagonal matrix; the preset addition rule is to cyclically insert the transposed matrix, the diagonal matrix and the product matrix between each two-dimensional sub-matrix.

[0057] In one embodiment of the present invention, transforming the two-dimensional matrix data according to at least one transformation rule to obtain at least one transformation sub-matrix includes: Calculating a transposed matrix of the two-dimensional matrix data to obtain a transposed matrix; Calculating a diagonal matrix of the two-dimensional matrix data to obtain a diagonal matrix; Calculate the product of the transposed matrix of the two-dimensional matrix data and the diagonal matrix to obtain a product matrix; The step of adding the at least one transformation sub-matrix to the first transformation matrix group according to a preset adding rule to obtain a target matrix group of the grayscale image to be encrypted includes: Grouping the N layers of two-dimensional sub-matrices in the first transformation matrix group in order, with three as a group, to obtain multiple groups of matrix sub-groups; For each group of matrix sub-groups, the transposed matrix is ​​added to the first two-dimensional sub-matrix, the diagonal matrix is ​​added to the second two-dimensional sub-matrix, and the product matrix is ​​added to the third two-dimensional sub-matrix to obtain the target matrix group; wherein the first two-dimensional sub-matrix, the second two-dimensional sub-matrix and the third two-dimensional sub-matrix are different two-dimensional sub-matrices in each group of matrix sub-groups.

[0058] In one embodiment of the present invention, for each group of matrix sub-groups, the transposed matrix is ​​added to the first two-dimensional sub-matrix, the diagonal matrix is ​​added to the second two-dimensional sub-matrix, and the product matrix is ​​added to the third two-dimensional sub-matrix to obtain the target matrix group, including: Using the remainder division method, the transposed matrix, the diagonal matrix, and the product matrix are solved to obtain the positions corresponding to the addition of the transposed matrix, the diagonal matrix, and the product matrix in the first transformation matrix group; According to the multiple added positions, the transposed matrix, the diagonal matrix and the product matrix are added between the N-layer two-dimensional sub-matrices.

[0059] In one embodiment of the present invention, the step of obtaining the two-dimensional matrix data of the grayscale image to be encrypted further includes: obtaining binary storage data of the grayscale image to be encrypted; and converting the binary storage data into the two-dimensional matrix data.

[0060] In one embodiment of the present invention, after adding the at least one transformation sub-matrix to the first transformation matrix group according to a preset adding rule to obtain the target matrix group of the grayscale image to be encrypted, the method further includes: Digitally encode each target matrix in the target matrix group to obtain a digitized value; the target matrix is ​​each matrix in the target matrix group; The digitized values ​​are stored in sequence in the optical disc.

[0061] In one embodiment of the present invention, the step of obtaining the two-dimensional matrix data of the grayscale image to be encrypted further includes: obtaining binary storage data of the grayscale image to be encrypted; and converting the binary storage data into the two-dimensional matrix data.

[0062] In an embodiment of the present invention, by obtaining the two-dimensional matrix data of the grayscale image to be encrypted, the two-dimensional matrix data is subjected to a first transformation process to obtain a first transformation matrix group; the two-dimensional matrix data is transformed according to at least one transformation rule to obtain at least one transformation sub-matrix, and the at least one transformation sub-matrix is ​​added to the first transformation matrix group according to a preset addition rule to obtain a target matrix group of the grayscale image to be encrypted, so as to complete the encryption of the grayscale image to be encrypted, which makes the data storage of the grayscale image change from a plane to a three-dimensional one, inserts a data interlayer in the middle, and generates different plane square matrices according to the characteristics of the given grayscale image, and these generated square matrices are arranged in a group of 3 and a group of 3, and the password is set regularly; because the generated square matrices of different images are different, the password is difficult to decipher. This makes the encryption of the grayscale image both regular and difficult to decipher, so that the encryption complexity and processing efficiency can be effectively balanced.

[0063] An embodiment of the present invention provides a computer-readable storage medium, which stores at least one executable instruction. When the executable instruction is executed on a computer device, the computer device executes the image encryption processing method or the image decryption processing method in any of the above method embodiments.

[0064] The executable instructions can be specifically used to cause the computer device to perform the following operations: Acquire two-dimensional matrix data of the grayscale image to be encrypted; in the two-dimensional matrix data, each two-dimensional matrix element is the grayscale value of the pixel at the corresponding position; Performing a first transformation process on the two-dimensional matrix data to obtain a first transformation matrix group; the first transformation matrix group includes N layers of two-dimensional sub-matrices; wherein a two-dimensional sub-matrix element of the Nth two-dimensional sub-matrix is ​​the gray value of the pixel at the Nth position, and the remaining two-dimensional sub-matrix elements are 0, and N is an integer greater than 0; Transforming the two-dimensional matrix data according to at least one transformation rule to obtain at least one transformation submatrix; wherein the at least one transformation rule comprises at least one of calculating a transposed matrix, calculating a diagonal matrix, and calculating the product of a transposed matrix and a diagonal matrix; adding the at least one transformation submatrix to the first transformation matrix group according to a preset adding rule to obtain the target matrix group of the grayscale image to be encrypted, so as to complete the encryption of the grayscale image to be encrypted; or reading the target matrix group of the grayscale image to be decrypted; The transformation submatrix in the target matrix group is deleted according to a preset deletion rule to obtain a first transformation matrix group; the transformation submatrix is ​​obtained by transforming the two-dimensional matrix data or the N-layer two-dimensional submatrix in the first transformation matrix group according to at least one transformation rule; the at least one transformation rule includes at least one of calculating a transposed matrix, calculating a diagonal matrix, and calculating the product of a transposed matrix and a diagonal matrix; the first transformation matrix group includes N-layer two-dimensional submatrices; Perform a first inverse transformation on the first transformation matrix group to obtain two-dimensional matrix data of the decrypted grayscale image; wherein the grayscale value of the Nth position pixel in the two-dimensional matrix data is a two-dimensional sub-matrix element of the Nth two-dimensional sub-matrix, and N is an integer greater than 0.

[0065] In one embodiment of the present invention, the transformation rule includes calculating the transposed matrix of the two-dimensional matrix data, calculating the diagonal matrix of the two-dimensional matrix data, and calculating the product matrix of the transposed matrix and the diagonal matrix; the preset addition rule is to cyclically insert the transposed matrix, the diagonal matrix and the product matrix between each two-dimensional sub-matrix.

[0066] In one embodiment of the present invention, transforming the two-dimensional matrix data according to at least one transformation rule to obtain at least one transformation sub-matrix includes: Calculating a transposed matrix of the two-dimensional matrix data to obtain a transposed matrix; Calculating a diagonal matrix of the two-dimensional matrix data to obtain a diagonal matrix; Calculate the product of the transposed matrix of the two-dimensional matrix data and the diagonal matrix to obtain a product matrix; The step of adding the at least one transformation sub-matrix to the first transformation matrix group according to a preset adding rule to obtain a target matrix group of the grayscale image to be encrypted includes: Grouping the N layers of two-dimensional sub-matrices in the first transformation matrix group in order, with three as a group, to obtain multiple groups of matrix sub-groups; For each group of matrix sub-groups, the transposed matrix is ​​added to the first two-dimensional sub-matrix, the diagonal matrix is ​​added to the second two-dimensional sub-matrix, and the product matrix is ​​added to the third two-dimensional sub-matrix to obtain the target matrix group; wherein the first two-dimensional sub-matrix, the second two-dimensional sub-matrix and the third two-dimensional sub-matrix are different two-dimensional sub-matrices in each group of matrix sub-groups.

[0067] In one embodiment of the present invention, for each group of matrix sub-groups, the transposed matrix is ​​added to the first two-dimensional sub-matrix, the diagonal matrix is ​​added to the second two-dimensional sub-matrix, and the product matrix is ​​added to the third two-dimensional sub-matrix to obtain the target matrix group, including: Using the remainder division method, the transposed matrix, the diagonal matrix, and the product matrix are solved to obtain the positions corresponding to the addition of the transposed matrix, the diagonal matrix, and the product matrix in the first transformation matrix group; According to the multiple added positions, the transposed matrix, the diagonal matrix and the product matrix are added between the N-layer two-dimensional sub-matrices.

[0068] In one embodiment of the present invention, the step of obtaining the two-dimensional matrix data of the grayscale image to be encrypted further includes: obtaining binary storage data of the grayscale image to be encrypted; and converting the binary storage data into the two-dimensional matrix data.

[0069] In one embodiment of the present invention, after adding the at least one transformation sub-matrix to the first transformation matrix group according to a preset adding rule to obtain the target matrix group of the grayscale image to be encrypted, the method further includes: Digitally encode each target matrix in the target matrix group to obtain a digitized value; the target matrix is ​​each matrix in the target matrix group; The digitized values ​​are stored in sequence in the optical disc.

[0070] In one embodiment of the present invention, the step of obtaining the two-dimensional matrix data of the grayscale image to be encrypted further includes: obtaining binary storage data of the grayscale image to be encrypted; and converting the binary storage data into the two-dimensional matrix data.

[0071] In an embodiment of the present invention, by obtaining the two-dimensional matrix data of the grayscale image to be encrypted, the two-dimensional matrix data is subjected to a first transformation process to obtain a first transformation matrix group; the two-dimensional matrix data is transformed according to at least one transformation rule to obtain at least one transformation sub-matrix, and the at least one transformation sub-matrix is ​​added to the first transformation matrix group according to a preset addition rule to obtain a target matrix group of the grayscale image to be encrypted, so as to complete the encryption of the grayscale image to be encrypted, which makes the data storage of the grayscale image change from a plane to a three-dimensional one, inserts a data interlayer in the middle, and generates different plane square matrices according to the characteristics of the given grayscale image, and these generated square matrices are arranged in a group of 3 and a group of 3, and the password is set regularly; because the generated square matrices of different images are different, the password is difficult to decipher. This makes the encryption of the grayscale image both regular and difficult to decipher, so that the encryption complexity and processing efficiency can be effectively balanced.

[0072] The algorithm or display provided herein is not inherently related to any particular computer, virtual system or other equipment. Various general purpose systems can also be used together with the teachings based on this. According to the above description, it is obvious to construct the structure required for this type of system. In addition, the embodiment of the present invention is not directed to any specific programming language yet. It should be understood that various programming languages ​​can be utilized to realize the content of the present invention described herein, and the description made to specific languages ​​above is for disclosing the best mode of the present invention.

[0073] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.

[0074] Similarly, it should be understood that in order to streamline the present invention and aid in understanding one or more of the various inventive aspects, in the above description of exemplary embodiments of the present invention, various features of the embodiments of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. However, this method of disclosure should not be interpreted as reflecting an intention that the claimed invention requires more features than those expressly recited in each claim.

[0075] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and set in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and may be divided into multiple submodules or subunits or subcomponents. All features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner may be combined in any combination, except that at least some of such features and / or processes or units are mutually exclusive. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature that provides the same, equivalent or similar purpose.

[0076] It should be noted that the above embodiments illustrate the present invention rather than limit it, and that those skilled in the art may devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets shall not be construed as a limitation on the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present invention may be implemented by means of hardware comprising a number of different elements and by means of a suitably programmed computer. In a unit claim enumerating a number of devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order. These words may be interpreted as names. The steps in the above embodiments, unless otherwise specified, should not be understood as limitations on the order of execution.

Claims

1. An image encryption processing method, characterized in that: The method comprises: Acquire two-dimensional matrix data of the grayscale image to be encrypted; in the two-dimensional matrix data, each two-dimensional matrix element is the grayscale value of the pixel at the corresponding position of the grayscale image to be encrypted; Performing a first transformation process on the two-dimensional matrix data to obtain a first transformation matrix group; the first transformation matrix group includes N layers of two-dimensional sub-matrices; wherein a two-dimensional sub-matrix element of the Nth two-dimensional sub-matrix is ​​the gray value of the pixel at the Nth position, and the remaining two-dimensional sub-matrix elements are 0, and N is an integer greater than 0; Transforming the two-dimensional matrix data according to at least one transformation rule to obtain at least one transformation submatrix; wherein the at least one transformation rule comprises at least one of calculating a transposed matrix, calculating a diagonal matrix, and calculating the product of a transposed matrix and a diagonal matrix; The at least one transformation sub-matrix is ​​added to the first transformation matrix group according to a preset adding rule to obtain the target matrix group of the grayscale image to be encrypted, so as to complete the encryption of the grayscale image to be encrypted; the preset adding rule includes cyclically inserting the at least one transformation sub-matrix between each two-dimensional sub-matrix.

2. The method according to claim 1, characterized in that The transformation rule includes calculating the transposed matrix of the two-dimensional matrix data, calculating the diagonal matrix of the two-dimensional matrix data, and calculating the product matrix of the transposed matrix and the diagonal matrix; the preset addition rule is to cyclically insert the transposed matrix, the diagonal matrix and the product matrix between each two-dimensional sub-matrix.

3. The method according to claim 2, characterized in that The step of transforming the two-dimensional matrix data according to at least one transformation rule to obtain at least one transformation sub-matrix includes: Calculating a transposed matrix of the two-dimensional matrix data to obtain a transposed matrix; Calculating a diagonal matrix of the two-dimensional matrix data to obtain a diagonal matrix; Calculate the product of the transposed matrix of the two-dimensional matrix data and the diagonal matrix to obtain a product matrix; The step of adding the at least one transformation sub-matrix to the first transformation matrix group according to a preset adding rule to obtain a target matrix group of the grayscale image to be encrypted includes: Grouping the N layers of two-dimensional sub-matrices in the first transformation matrix group into groups of three to obtain multiple groups of matrix sub-groups; For each group of matrix sub-groups, the transposed matrix is ​​added to the first two-dimensional sub-matrix, the diagonal matrix is ​​added to the second two-dimensional sub-matrix, and the product matrix is ​​added to the third two-dimensional sub-matrix to obtain the target matrix group; wherein the first two-dimensional sub-matrix, the second two-dimensional sub-matrix and the third two-dimensional sub-matrix are different two-dimensional sub-matrices in each group of matrix sub-groups.

4. The method according to claim 3, characterized in that For each matrix sub-group, the transposed matrix is ​​added to the first two-dimensional sub-matrix, the diagonal matrix is ​​added to the second two-dimensional sub-matrix, and the product matrix is ​​added to the third two-dimensional sub-matrix to obtain the target matrix group, further comprising: Using the remainder division method, the transposed matrix, the diagonal matrix, and the product matrix are solved to obtain the positions corresponding to the addition of the transposed matrix, the diagonal matrix, and the product matrix in the first transformation matrix group; According to the multiple added positions, the transposed matrix, the diagonal matrix and the product matrix are added between the N-layer two-dimensional sub-matrices.

5. The method according to any one of claims 1 to 4, characterized in that: After adding the at least one transformation sub-matrix to the first transformation matrix group according to a preset adding rule to obtain the target matrix group of the grayscale image to be encrypted, the method further includes: Digitally encode each target matrix in the target matrix group to obtain a digitized value; the target matrix is ​​each matrix in the target matrix group; The digitized values ​​are stored in sequence in the optical disc.

6. The method according to claim 5, characterized in that After the digitized values ​​are sequentially stored in the optical disc, the method further comprises: Obtaining content identification information of the optical disc; After encrypting the content identification information of the optical disc using a preset encryption algorithm, an encryption check value is generated; The encrypted verification value is stored in the optical disc verification storage area of ​​the host.

7. An image decryption processing method, characterized in that: Reading a target matrix group of a grayscale image to be decrypted; the target matrix group is obtained by adding N-layer two-dimensional sub-matrices of the first transformation matrix group to the first transformation matrix group according to a preset addition rule; the transformation sub-matrix group is obtained by transforming the two-dimensional matrix data of the grayscale image to be encrypted according to at least one transformation rule; the first transformation matrix group includes N-layer two-dimensional sub-matrices; the at least one transformation rule includes at least one of calculating a transposed matrix, calculating a diagonal matrix, and calculating the product of a transposed matrix and a diagonal matrix; the preset addition rule includes cyclically inserting the at least one transformation sub-matrix between each two-dimensional sub-matrix; Deleting the transformation submatrices in the target matrix group according to a preset deletion rule to obtain a first transformation matrix group; The preset deletion rule is a rule opposite to the preset addition rule; The first transformation matrix group is subjected to a first inverse transformation to obtain two-dimensional matrix data, thereby completing the decryption of the grayscale image to be decrypted; wherein, in the two-dimensional matrix data, each two-dimensional matrix element is the grayscale value of the pixel at the corresponding position; the grayscale value of the pixel at the Nth position in the two-dimensional matrix data is a two-dimensional sub-matrix element of the Nth two-dimensional sub-matrix, and N is an integer greater than 0.

8. The method according to claim 7, characterized in that The step of reading a target matrix group of a grayscale image to be decrypted comprises: The data in the optical disc is read by a laser probe to obtain a digitized value; The digitized values ​​are decoded to obtain a target matrix group.

9. A computer device, characterized in that: include: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to execute the image encryption processing method as described in any one of claims 1-6 or the image decryption processing method as described in any one of claims 7-8.

10. A computer-readable storage medium, characterized in that: The storage medium stores at least one executable instruction. When the executable instruction is executed on a computer device, the computer device executes the image encryption processing method according to any one of claims 1 to 6 or the image decryption processing method according to any one of claims 7 to 8.

Citation Information

Patent Citations

  • Mobile platform image encryption method

    CN105488426A

  • Image encryption method and image decryption method with visual security and data security based on compressed sensing

    CN106600518A

  • Image encryption method and device

    CN107770405A

  • Image disordering method based on pixel positions

    CN107862212A

  • Decryption method of image encryption algorithm based on chaotic S box

    CN108833733A