Communication device and communication encryption and decryption method
The invention relates to a communication device and a communication encryption and decryption method, and belongs to the technical field of data security. The method comprises the following steps: acquiring data to be encrypted, grouping the data to be encrypted by taking a set byte number as a grou...
Gespeichert in:
Hauptverfasser: | , , , , , , , , , , , , , , , , , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention relates to a communication device and a communication encryption and decryption method, and belongs to the technical field of data security. The method comprises the following steps: acquiring data to be encrypted, grouping the data to be encrypted by taking a set byte number as a group, extracting bits of each byte in each group, rearranging the bits according to a set sequence, sequentially cutting the rearranged data bits into corresponding bytes, completing first-layer encryption, counting the number of bit0 and the number of bit1 after the first-layer encryption, and performing second-layer encryption. And judging whether the output current bit is negated or not according to the number of 0 bits and 1 bits in the data bits before the current data bit to obtain encrypted data. According to the method, on the basis that the original time sequence is not affected and few processor resources are occupied, data encryption is completed through a simple method, the safety of data transmission is g |
---|