Grid graph encryption and decryption method and device based on sensitive data, storage medium and electronic equipment
By using a raster-based encryption and decryption method, raster graphics adapted to different data volumes and sensitivity levels are generated. The data is then randomly segmented, filled with interfering data, and encrypted. This solves the problem of balancing data security and efficiency in oilfield data sharing, and enables efficient and secure transmission of large amounts of data.
Patent Information
- Application Number
- CN202411093822.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-09
- Publication Date
- 2026-02-10
AI Technical Summary
In the current process of oilfield data sharing, data security protection is insufficient. Existing encryption algorithms are complex and unsuitable for large data volumes, and fail to take into account the differences in data security levels, making it difficult to balance data transmission security and efficiency.
An encryption and decryption method based on raster graphics is adopted. By generating hollow and non-hollow raster graphics, and combining the data volume and sensitivity, raster graphics of different complexity are generated. The data is randomly segmented and filled with interference data, and then encrypted using a public key to form an encrypted raster graphic.
It simplifies encryption complexity, is suitable for sharing large amounts of data, enhances data security, and is difficult to crack in plaintext transmission, balancing the security and transmission efficiency of data with varying levels of sensitivity.
Smart Images

Figure CN121509588A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data transmission security technology, specifically a raster pattern encryption and decryption method, apparatus, storage medium, and electronic device based on sensitive data. Background Technology
[0002] The demand for refined management in oil and gas exploration and development is growing, and the number of data items entered manually and automatically is constantly expanding, with 20 million production data records being entered into the database annually. All of this data needs to be developed, utilized, and shared to achieve a progressive evolution from data to information to knowledge to wisdom. This involves expanding the data governance, data processing and analysis, and data sharing capabilities of the oilfield software development and sharing resource pool, decoupling the database from the information system, and improving the efficiency of data sharing in scenarios such as scientific research decision-making, production and operation, and on-site monitoring, thereby enabling data to empower business development. Achieving the above processes requires multiple data transmissions and sharing. Current problems in data transmission and sharing include: (1) When sharing data, there are insufficient data security protection measures, and the data is mostly transmitted in plaintext, which cannot meet the requirements of separate management of data and algorithms.
[0003] (2) Existing encryption algorithms are not fully applicable. Among the existing data encryption algorithms, some encryption algorithms have complex principles and long encryption and decryption times, making them unsuitable for sharing large amounts of data; while other encryption algorithms have simple principles and high encryption and decryption efficiency, but are easily cracked by hackers who understand the technical principles.
[0004] (3) When taking data security protection measures, the differences between different data security levels were not considered, and security and efficiency could not be balanced. Summary of the Invention
[0005] This invention provides a raster graphics encryption and decryption method, apparatus, storage medium, and electronic device based on sensitive data, which overcomes the shortcomings of the prior art. It can effectively solve the problems that existing encryption algorithms used for oilfield data sharing are complex in principle, have long encryption and decryption times, and are not suitable for sharing large amounts of data.
[0006] One of the technical solutions of this invention is achieved through the following measures: a raster graphics encryption method based on sensitive data, comprising: Based on the amount and sensitivity of the data to be transmitted, a raster pattern of corresponding complexity is generated, which includes perforated raster and non-perforated raster; The data to be transmitted is randomly divided based on a random seed to obtain disordered data to be transmitted. The interference data and the disordered data to be transmitted are then filled into the hollow grid and the non-hollow grid to form an encrypted grid pattern. The public key is used to encrypt the random seed to obtain the corresponding ciphertext information, which is then packaged and sent along with the encrypted raster image.
[0007] The following are further optimizations and / or improvements to the above-mentioned technical solution: The above-mentioned generation of raster graphics of corresponding complexity, based on the amount and sensitivity of the data to be transmitted, includes: Obtain the data to be transmitted, and determine the data volume and sensitivity of the data to be transmitted, where the data volume is the number of characters in the data to be transmitted; The data volume and sensitivity are incorporated into the graphic generation judgment conditions to determine the complexity of the raster graphic. The raster graphic includes hollowed-out raster and non-hollowed-out raster. The graphic generation judgment conditions include that the number of hollowed-out raster is the same as the data volume. Each sensitivity level corresponds to a ratio of the sum of the areas of all non-hollowed-out raster to the total raster area. The higher the sensitivity level, the greater the ratio. Construct a raster graphic based on its complexity.
[0008] The above method randomly segments the data to be transmitted based on a random seed, resulting in out-of-order data. Interference data and the out-of-order data are then filled into corresponding perforated and non-perforated grids to form an encrypted grid pattern, including: Determine the random seed and corresponding random function based on the amount of data to be transmitted; The data to be transmitted is randomly divided using a random seed and a corresponding random function to obtain multiple characters in random order, and the number of characters is the same as the amount of data to be transmitted. Randomly select the same number of interference data as the number of non-hollow grid cells; Multiple random characters are sequentially filled into each hollow grid cell, while interference data is sequentially filled into each non-hollow grid cell, forming a corresponding encrypted grid pattern.
[0009] The second technical solution of the present invention is achieved through the following measures: a raster graphic encryption device based on sensitive data, comprising: The first encryption unit generates a grid pattern of corresponding complexity based on the amount and sensitivity of the data to be transmitted, wherein the grid pattern includes hollow grids and non-hollow grids; The second encryption unit randomly divides the data to be transmitted based on a random seed to obtain disordered data to be transmitted. The interference data and the disordered data to be transmitted are filled into the hollow grid and the non-hollow grid respectively to form an encrypted grid pattern. The encrypted sending unit uses the public key to encrypt the random seed, obtains the corresponding ciphertext information, and packages and sends the ciphertext information and encrypted raster pattern.
[0010] The following are further optimizations and / or improvements to the above-mentioned technical solution: The aforementioned first encryption unit includes: The data analysis module acquires the data to be transmitted and determines the data volume and sensitivity of the data to be transmitted, where the data volume is the number of characters in the data to be transmitted. The complexity judgment module incorporates the data volume and sensitivity into the graphic generation judgment conditions to determine the complexity of the raster graphic. The raster graphic includes hollowed-out raster and non-hollowed-out raster. The graphic generation judgment conditions include that the number of hollowed-out raster is the same as the data volume. Each sensitivity level corresponds to a proportion of the sum of the areas of all non-hollowed-out raster to the total raster area. The higher the sensitivity level, the greater the proportion. The graphics construction module constructs raster graphics based on their complexity.
[0011] The aforementioned second encryption unit includes: The random seed determination module determines the random seed and the corresponding random function based on the amount of data to be transmitted. The out-of-order processing module uses a random seed and a corresponding random function to randomly divide the data to be transmitted, obtaining multiple out-of-order characters, and the number of characters is the same as the amount of data to be transmitted. The interference data generation module randomly acquires interference data with the same number of non-hollow grid cells. The graphic encryption module sequentially fills multiple random characters into each hollow grid cell, while interference data is sequentially filled into each non-hollow grid cell, forming a corresponding encrypted grid pattern.
[0012] The second technical solution of the present invention is achieved through the following measures: a raster graphic decryption method based on sensitive data, comprising: Acquire data packets to obtain ciphertext information and encrypted raster graphics, wherein the data packets are obtained using the method described in any one of claims 1 to 6; Use the private key to decrypt the encrypted information and obtain a random seed; Obscure the non-cutout areas in the encrypted raster graphic and extract the characters from the cutout areas; By using a random seed to reverse the order of the characters in the hollowed-out area, the data before encryption is obtained.
[0013] The second technical solution of the present invention is achieved through the following measures: a raster pattern decryption device based on sensitive data, comprising: The acquisition unit acquires data packets and obtains encrypted information and encrypted raster graphics; The first decryption unit uses the private key to decrypt the ciphertext information and obtain a random seed; The second decryption unit obscures the non-hollowed-out areas in the encrypted raster graphic and extracts the characters from the hollowed-out areas. The sorting unit uses a random seed to reverse the order of the characters in the cutout area, obtaining the data before encryption.
[0014] Compared to traditional asymmetric and symmetric encryption methods, this invention uses a grid pattern with both open and closed grids to encrypt data. This simplifies encryption complexity while ensuring encryption effectiveness, making it suitable for large-scale data sharing. Furthermore, it allows for the inclusion of interfering data within the grid pattern, maintaining plaintext transmission while enhancing data security and making it difficult for third parties to crack. Moreover, this invention considers the sensitivity of the data when forming the encrypted grid pattern, using different levels of grid complexity for data with varying sensitivities, thus achieving a balance between data security and data transmission efficiency. Attached Figure Description
[0015] Appendix Figure 1 This is a flowchart of the encryption method of the present invention.
[0016] Appendix Figure 2 This is a flowchart of the method for generating raster graphics of corresponding complexity in this invention.
[0017] Appendix Figure 3 This is a flowchart of the method for forming an encrypted raster pattern in this invention.
[0018] Appendix Figure 4 This is a schematic diagram of a grid pattern generated in Embodiment 3 of the present invention.
[0019] Appendix Figure 5 This is a schematic diagram of a grid pattern for filling random characters in Embodiment 3 of the present invention.
[0020] Appendix Figure 6 This is a schematic diagram of an encrypted grid pattern formed in Embodiment 3 of the present invention.
[0021] Appendix Figure 7 This is a schematic diagram of the encryption device structure of the present invention.
[0022] Appendix Figure 8 This is a flowchart of the decryption method of the present invention.
[0023] Appendix Figure 9 This is a schematic diagram of the decryption device of the present invention. Detailed Implementation
[0024] The present invention is not limited to the following embodiments, and the specific implementation can be determined according to the technical solution of the present invention and the actual situation.
[0025] The present invention will be further described below with reference to embodiments and accompanying drawings: Example 1: As shown in the attached document Figure 1 As shown, this embodiment of the invention discloses a raster graphics encryption method based on sensitive data, comprising: Step S110: Based on the amount and sensitivity of the data to be transmitted, generate a grid pattern of corresponding complexity, wherein the grid pattern includes a hollow grid and a non-hollow grid. Step S120: Based on the random seed, the data to be transmitted is randomly divided to obtain out-of-order data to be transmitted. The interference data and the out-of-order data to be transmitted are filled into the hollow grid and the non-hollow grid respectively to form an encrypted grid pattern. Step S130: Use the public key to encrypt the random seed to obtain the corresponding ciphertext information, and package and send the ciphertext information and encrypted raster image.
[0026] This invention discloses a raster pattern encryption method for sensitive data. Compared with traditional asymmetric and symmetric encryption methods, it uses raster patterns with and without perforated grids to encrypt data. This simplifies the encryption complexity while ensuring encryption effectiveness, making it suitable for large-scale data sharing. Furthermore, it can mix interference data into the raster pattern, maintaining plaintext transmission while enhancing data security and making it difficult for third parties to crack. In addition, this invention considers the sensitivity of the data when forming the encrypted raster pattern, using raster patterns of different complexity for data with different levels of sensitivity, thus achieving a balance between data security and data transmission efficiency.
[0027] Example 2: This embodiment of the invention discloses a raster graphics encryption method based on sensitive data, comprising: Step S210: Based on the amount and sensitivity of the data to be transmitted, generate a grid pattern of corresponding complexity, wherein the grid pattern includes a hollow grid and a non-hollow grid. As attached Figure 2 As shown, the above steps specifically include: Step S211: Obtain the data to be transmitted, and determine the data volume and sensitivity of the data to be transmitted, wherein the data volume is the number of characters in the data to be transmitted; Step S212: Input the data volume and sensitivity into the graphic generation judgment conditions to determine the complexity of the grid graphic. The grid graphic includes hollow grids and non-hollow grids. The graphic generation judgment conditions include that the number of hollow grids is the same as the data volume. Each sensitivity level corresponds to the proportion of the sum of the areas of all non-hollow grids to the total grid area. The higher the sensitivity level, the greater the proportion. The above-mentioned grid pattern can be a rectangular grid. The overall width of the grid pattern is determined by the size and sensitivity of the data to be transmitted. The higher the sensitivity, the larger the overall width of the grid pattern. The sensitivity of the data to be transmitted will affect the proportion of the sum of the non-hollowed-out grid areas in the grid pattern. For example, the proportion of the sum of the non-hollowed-out grid areas corresponding to low-sensitivity data, medium-sensitivity data, and high-sensitivity data in the entire grid pattern is set to 1 / 4, 1 / 3, and 1 / 2, respectively.
[0028] Step S213: Construct a raster graphic based on its complexity.
[0029] Step S220: Based on the random seed, the data to be transmitted is randomly divided to obtain out-of-order data to be transmitted. The interference data and the out-of-order data to be transmitted are filled into the hollow grid and the non-hollow grid respectively to form an encrypted grid pattern. As attached Figure 3 As shown, the above steps specifically include: Step S221: Determine the random seed and the corresponding random function based on the amount of data to be transmitted; Step S222: Use a random seed and the corresponding random function to randomly divide the data to be transmitted to obtain multiple disordered characters, and the number of characters is the same as the amount of data to be transmitted. The above-mentioned random seed β is set, and the random function based on the random seed randomly divides the data to be transmitted into random segments, generating disordered characters S(N) from 1 to N (the amount of data to be transmitted), and then the disordered characters S(N) are arranged to obtain the data to be transmitted M(N).
[0030] Step S223: Randomly acquire the same number of interference data as the number of non-hollow grid cells; Step S224: The disordered characters are sequentially filled into each hollow grid cell, and the interference data is sequentially filled into each non-hollow grid cell to form the corresponding encrypted grid pattern.
[0031] Step S230: Encrypt the random seed using the public key to obtain the corresponding ciphertext information, and package and send the ciphertext information and the encrypted raster image. The public key used here is a pre-selected and set public key.
[0032] Example 3: The data to be transmitted is set to "the overall water cut of well A is 85%", with a low sensitivity level. The process of encrypting it using this invention includes: (1) Based on the amount and sensitivity of the data to be transmitted, generate a raster graphic of corresponding complexity, as shown in the attached figure. Figure 4 As shown; (2) Select a random seed β, and generate scrambled characters S(N) based on the random function of the random seed, that is, "的, A, 井, 为8, 率, %, 综水, 5, 含合". Then arrange the scrambled characters S(N) to obtain the data to be transmitted M(N), that is, "的A井为8率%综水5含合", and fill it into each hollow grid correspondingly, as shown in the appendix Figure 5 shown; (3) Obtain the interference data "得方发好地方库存发好都6", and fill it into each non-hollow grid correspondingly to form an encrypted grid pattern, as shown in the appendix Figure 6 Z shown.
[0033] (4) Use the public key to encrypt the random seed to obtain the corresponding ciphertext information, and package and send the ciphertext information and the encrypted grid pattern.
[0034] Randomly divide the data to be transmitted based on the random seed to obtain the scrambled data to be transmitted, and fill the interference data and the scrambled data to be transmitted into the hollow grid and the non-hollow grid correspondingly to form an encrypted grid pattern.
[0035] Embodiment 4: As shown in the appendix Figure 7 shown, an embodiment of the present invention discloses a grid pattern encryption device based on sensitive data, including: The first encryption unit generates a grid pattern with corresponding complexity in combination with the data volume and sensitivity of the data to be transmitted, where the grid pattern includes hollow grids and non-hollow grids; The second encryption unit randomly divides the data to be transmitted based on the random seed to obtain the scrambled data to be transmitted, and fills the interference data and the scrambled data to be transmitted into the hollow grid and the non-hollow grid correspondingly to form an encrypted grid pattern; The encryption and sending unit uses the public key to encrypt the random seed to obtain the corresponding ciphertext information, and packages and sends the ciphertext information and the encrypted grid pattern.
[0036] Among them, the first encryption unit includes: The data analysis module obtains the data to be transmitted and determines the data volume and sensitivity of the data to be transmitted, where the data volume is the number of characters of the data to be transmitted; The complexity judgment module substitutes the data volume and sensitivity into the graphic generation judgment conditions to determine the complexity of the grid pattern, where the grid pattern includes hollow grids and non-hollow grids, and the graphic generation judgment conditions include that the number of hollow grids is the same as the data volume, and each sensitivity level corresponds to a proportion of the sum of the areas of all non-hollow grids in the total area of the grid. The higher the sensitivity level, the greater the proportion; The graphic construction module constructs the grid pattern according to the complexity of the grid pattern.
[0037] Among them, the second encryption unit includes: The random seed determination module determines the random seed and the corresponding random function based on the amount of data to be transmitted. The out-of-order processing module uses a random seed and a corresponding random function to randomly divide the data to be transmitted, obtaining multiple out-of-order characters, and the number of characters is the same as the amount of data to be transmitted. The interference data generation module randomly acquires interference data with the same number of non-hollow grid cells. The graphic encryption module sequentially fills multiple random characters into each hollow grid cell, while interference data is sequentially filled into each non-hollow grid cell, forming a corresponding encrypted grid pattern.
[0038] Example 5: As shown in the attached document Figure 8 As shown, this embodiment of the invention discloses a method for decrypting raster graphics based on sensitive data, including: Step S310: Obtain data packets to obtain ciphertext information and encrypted raster graphics, wherein the data packets are obtained using the method disclosed in the above embodiments; Step S320: Decrypt the ciphertext using the private key to obtain a random seed; the private key here corresponds to the public key used during encryption. Step S330: Obscure the non-cutout areas in the encrypted grid graphic and extract the characters from the cutout areas; Step S340: Use a random seed to reverse the order of the characters in the cutout area to obtain the data before encryption.
[0039] Example 6: As shown in the appendix Figure 9 As shown, this embodiment of the invention discloses a raster graphics decryption device based on sensitive data, comprising: The acquisition unit acquires data packets and obtains encrypted information and encrypted raster graphics, wherein the data packets are obtained using the method described in any one of claims 1 to 6; The first decryption unit uses the private key to decrypt the ciphertext information and obtain a random seed; The second decryption unit obscures the non-hollowed-out areas in the encrypted raster graphic and extracts the characters from the hollowed-out areas. The sorting unit uses a random seed to reverse the order of the characters in the cutout area, obtaining the data before encryption.
[0040] Example 7: This embodiment of the invention discloses a storage medium storing a computer program that can be read by a computer. The computer program is configured to execute a raster graphics encryption method based on sensitive data during runtime.
[0041] The aforementioned storage media may include, but are not limited to, USB flash drives, read-only memory, portable hard drives, magnetic disks, optical disks, and other media capable of storing computer programs.
[0042] Example 8: This embodiment of the invention discloses an electronic device, including a processor and a memory, wherein the memory stores a computer program, which is loaded and executed by the processor to implement a raster graphic encryption method based on sensitive data.
[0043] The processor described above can be a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), an ASIC, an FPGA, or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. It can also be a combination that implements computational functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc. The memory can include, but is not limited to, various media capable of storing computer programs, such as USB flash drives, read-only memory, portable hard drives, magnetic disks, or optical disks.
[0044] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code. The solutions in the embodiments of this application can be implemented in various computer languages, such as the object-oriented programming language Java and the interpreted scripting language JavaScript.
[0045] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0046] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0047] The above technical features constitute the preferred embodiment of the present invention, which has strong adaptability and optimal implementation effect. Unnecessary technical features can be added or removed according to actual needs to meet the requirements of different situations.
Claims
1. A raster graphics encryption method based on sensitive data, characterized in that, include: Based on the amount and sensitivity of the data to be transmitted, a raster pattern of corresponding complexity is generated, which includes perforated raster and non-perforated raster; The data to be transmitted is randomly divided based on a random seed to obtain disordered data to be transmitted. The interference data and the disordered data to be transmitted are then filled into the hollow grid and the non-hollow grid to form an encrypted grid pattern. The public key is used to encrypt the random seed to obtain the corresponding ciphertext information, which is then packaged and sent along with the encrypted raster image.
2. The raster graphic encryption method based on sensitive data according to claim 1, characterized in that, The process of generating a raster pattern of corresponding complexity by combining the amount and sensitivity of the data to be transmitted includes: Obtain the data to be transmitted, and determine the data volume and sensitivity of the data to be transmitted, where the data volume is the number of characters in the data to be transmitted; The data volume and sensitivity are incorporated into the graphic generation judgment conditions to determine the complexity of the raster graphic. The raster graphic includes hollowed-out raster and non-hollowed-out raster. The graphic generation judgment conditions include that the number of hollowed-out raster is the same as the data volume. Each sensitivity level corresponds to a ratio of the sum of the areas of all non-hollowed-out raster to the total raster area. The higher the sensitivity level, the greater the ratio. Construct a raster graphic based on its complexity.
3. The raster graphic encryption method based on sensitive data according to claim 1 or 2, characterized in that, The process involves randomly segmenting the data to be transmitted based on a random seed to obtain out-of-order data. Interference data and the out-of-order data are then filled into corresponding open and non-open grids to form an encrypted grid pattern, including: Determine the random seed and corresponding random function based on the amount of data to be transmitted; The data to be transmitted is randomly divided using a random seed and a corresponding random function to obtain multiple characters in random order, and the number of characters is the same as the amount of data to be transmitted. Randomly select the same number of interference data as the number of non-hollow grid cells; Multiple random characters are sequentially filled into each hollow grid cell, while interference data is sequentially filled into each non-hollow grid cell, forming a corresponding encrypted grid pattern.
4. A raster graphic encryption device based on sensitive data applying the method described in any one of claims 1 to 3, characterized in that, include: The first encryption unit generates a grid pattern of corresponding complexity based on the amount and sensitivity of the data to be transmitted, wherein the grid pattern includes hollow grids and non-hollow grids; The second encryption unit randomly divides the data to be transmitted based on a random seed to obtain disordered data to be transmitted. The interference data and the disordered data to be transmitted are filled into the hollow grid and the non-hollow grid respectively to form an encrypted grid pattern. The encrypted sending unit uses the public key to encrypt the random seed, obtains the corresponding ciphertext information, and packages and sends the ciphertext information and encrypted raster pattern.
5. The raster graphic encryption device based on sensitive data according to claim 4, characterized in that, The first encryption unit includes: The data analysis module acquires the data to be transmitted and determines the data volume and sensitivity of the data to be transmitted, where the data volume is the number of characters in the data to be transmitted. The complexity judgment module incorporates the data volume and sensitivity into the graphic generation judgment conditions to determine the complexity of the raster graphic. The raster graphic includes hollowed-out raster and non-hollowed-out raster. The graphic generation judgment conditions include that the number of hollowed-out raster is the same as the data volume. Each sensitivity level corresponds to a proportion of the sum of the areas of all non-hollowed-out raster to the total raster area. The higher the sensitivity level, the greater the proportion. The graphics construction module constructs raster graphics based on their complexity.
6. The raster graphic encryption device based on sensitive data according to claim 4 or 5, characterized in that, The second encryption unit includes: The random seed determination module determines the random seed and the corresponding random function based on the amount of data to be transmitted. The out-of-order processing module uses a random seed and a corresponding random function to randomly divide the data to be transmitted, obtaining multiple out-of-order characters, and the number of characters is the same as the amount of data to be transmitted. The interference data generation module randomly acquires interference data with the same number of non-hollow grid cells. The graphic encryption module sequentially fills multiple random characters into each hollow grid cell, while interference data is sequentially filled into each non-hollow grid cell, forming a corresponding encrypted grid pattern.
7. A method for decrypting raster graphics based on sensitive data, characterized in that, include: Acquire data packets to obtain ciphertext information and encrypted raster graphics, wherein the data packets are obtained using the method described in any one of claims 1 to 6; Use the private key to decrypt the encrypted information and obtain a random seed; Obscure the non-cutout areas in the encrypted raster graphic and extract the characters from the cutout areas; By using a random seed to reverse the order of the characters in the hollowed-out area, the data before encryption is obtained.
8. A raster graphics decryption device based on sensitive data using the method described in claim 7, characterized in that, include: The acquisition unit acquires data packets and obtains encrypted information and encrypted raster graphics, wherein the data packets are obtained using the method described in any one of claims 1 to 3; The first decryption unit uses the private key to decrypt the ciphertext information and obtain a random seed; The second decryption unit obscures the non-hollowed-out areas in the encrypted raster graphic and extracts the characters from the hollowed-out areas. The sorting unit uses a random seed to reverse the order of the characters in the cutout area, obtaining the data before encryption.
9. A storage medium, characterized in that, The storage medium stores a computer program that can be read by a computer, and the computer program is configured to execute the raster graphic encryption method based on sensitive data as described in any one of claims 1 to 3 when it runs.
10. An electronic device, characterized in that, It includes a processor and a memory, wherein the memory stores a computer program, which is loaded and executed by the processor to implement the raster graphics encryption method based on sensitive data as described in any one of claims 1 to 3.