The invention relates to the technical field of
data transmission security, in particular to a grid graph
encryption and decryption method and device based on sensitive data, a storage medium and
electronic equipment, and the method comprises the steps: generating a grid graph with a corresponding complexity degree in combination with the data size and the sensitive degree of data to be transmitted; and performing random segmentation on the to-be-transmitted data based on the
random seed to obtain out-of-order to-be-transmitted data, and correspondingly filling the hollowed-out grids and the non-hollowed-out grids with the interference data and the out-of-order to-be-transmitted data to form an encrypted
grid pattern. According to the method, the grid graph with the hollowed-out grids and the non-hollowed-out grids is used for encrypting the data, on the basis of simplifying the
encryption complexity, the
encryption effect is guaranteed, the method is suitable for
data sharing of a large amount of data, interference data are mixed in the grid graph, the
plaintext transmission mode is kept, meanwhile, the data safety is enhanced, and the
data transmission efficiency is improved. And furthermore, grid graphs with different complexity degrees can be used for data with different sensitivity degrees.