COMMUNICATION ENCRYPTION AND DECRYPTION METHOD, DEVICE AND SYSTEM
First Claim
1. A method for communication encryption, comprising:
- extracting a first character string that is to be encrypted from to-be-sent data;
converting the first character string into plural first binary digits, storing the plural first binary digits;
encrypting the stored plural first binary digits using a pre-defined encryption algorithm to generate plural second binary digits;
converting the plural second binary digits into a to-be-sent character string; and
applying transmission encoding to the to-be-sent character string and sending an encoded result;
wherein converting the to-be-encrypted first character string into the plural first binary digits and storing the plural first binary digits comprises;
converting the to-be-encrypted first character string into a second character string;
wherein each character in the second character string corresponds to one byte;
converting the second character string into a first character array;
wherein an element in the first character array corresponds to a single-byte encoded value of a character in the second character string;
assigning elements in the first character array into plural array blocks according to a pre-defined value;
wherein each array block includes elements whose number equals the pre-defined value; and
converting elements in each array block into 8-bit binary digits, and storing the 8-bit binary digits corresponding to each array block.
1 Assignment
0 Petitions
Accused Products
Abstract
An encryption process comprises: extracting a to-be-encrypted first character string from the to-be-transmitted information; converting the first character string into a plurality of first binary numbers for storage; encrypting the stored plurality of first binary numbers according to a preset encryption algorithm to generate a plurality of second binary numbers; converting the plurality of second binary numbers into a to-be-transmitted character string; conducting transmission encoding on the to-be-transmitted character string, and transmitting the encoding result. The decryption process comprises: receiving the to-be-processed information transmitted by a transmitting terminal; conducting transmission decoding on the to-be-processed information to obtain a third character string; converting the third character string into a plurality of third binary numbers for storage; decrypting the stored plurality of third binary numbers according to a preset decryption algorithm to generate a plurality of fourth binary numbers; and converting the plurality of fourth binary numbers into a fourth character string.
9 Citations
17 Claims
-
1. A method for communication encryption, comprising:
-
extracting a first character string that is to be encrypted from to-be-sent data; converting the first character string into plural first binary digits, storing the plural first binary digits; encrypting the stored plural first binary digits using a pre-defined encryption algorithm to generate plural second binary digits; converting the plural second binary digits into a to-be-sent character string; and applying transmission encoding to the to-be-sent character string and sending an encoded result;
wherein converting the to-be-encrypted first character string into the plural first binary digits and storing the plural first binary digits comprises;converting the to-be-encrypted first character string into a second character string; wherein each character in the second character string corresponds to one byte; converting the second character string into a first character array;
wherein an element in the first character array corresponds to a single-byte encoded value of a character in the second character string;assigning elements in the first character array into plural array blocks according to a pre-defined value;
wherein each array block includes elements whose number equals the pre-defined value; andconverting elements in each array block into 8-bit binary digits, and storing the 8-bit binary digits corresponding to each array block. - View Dependent Claims (3, 4)
-
-
2. (canceled)
-
5. A method for communication decryption, comprising:
-
receiving to-be-processed data sent by a sending device; applying transmission decoding to the to-be-processed data to obtain a first character string; converting the first character string into plural first binary digits, storing the plural first binary digits; decrypting the stored plural first binary digits using a pre-defined decryption algorithm to generate plural second binary digits; and converting the plural second binary digits into a second character string; wherein the converting the first character string into the plural first binary digits and storing the plural first binary digits comprise; converting the to-be-decrypted first character string into a first character array, wherein an element in the first character array corresponds to a single-byte encoded value of a character in a third character string; assigning elements in the first character array into plural array blocks according to a pre-defined value;
wherein each array block includes elements whose number equals the pre-defined value; andconverting elements in each array block into 8-bit binary digits, and storing the 8-bit binary digits corresponding to each array block. - View Dependent Claims (8)
-
-
6. (canceled)
-
7. The method of claim 65, wherein when the pre-defined value is 4, the assigning single-byte encoded values corresponding to the elements in the first character array into the plural array blocks comprises:
-
assigning 4 successive elements into one array block in an order of the elements arranged in the first character array; converting elements in each array block into 8-bit binary digits, and storing the 8-bit binary digits corresponding to each array block; and converting each of the 4 elements in each array block into an 8-bit binary digit, and combining the 4 8-bit binary digits corresponding to each array block into a 32-bit binary digit; and storing the 32-bit binary digit corresponding to each array block.
-
-
9. An apparatus for communication encryption, comprising:
- a processor and a non-transitory memory, the memory comprising a set of computer-executable instructions causing the processor to carry out the steps of;
extracting a first character string that is to be encrypted from to-be-sent data; converting the first character string into plural first binary digits and storing the plural first binary digits; encrypting the stored plural first binary digits using a pre-defined encryption algorithm to generate plural second binary digits; converting the plural second binary digits into a to-be-sent character string; applying transmission encoding to the to-be-sent character string; and sending a result of the encoding; wherein the computer-executable instructions is further capable of causing the processor to carry out the steps of; converting the to-be-encrypted first character string into a second character string;
wherein each character in the second character string corresponds to one byte;converting the second character string into a first character array, wherein an element in the first character array corresponds to a single-byte encoded value of a character in the second character string; assigning elements in the character array obtained by the second conversion module into plural array blocks, wherein each array block includes a pre-defined number of elements; converting elements in each array block into 8-bit binary digits; and storing multiple 8-bit binary digits corresponding to each array block. - View Dependent Claims (11, 12)
- a processor and a non-transitory memory, the memory comprising a set of computer-executable instructions causing the processor to carry out the steps of;
-
10. (canceled)
-
13. An apparatus for communication decryption, comprising:
- a processor and a non-transitory memory, the memory comprising a set of computer-executable instructions causing the processor to carry out the steps of;
receiving to-be-processed data sent by a sending device; applying transmission decoding to the to-be-processed data to obtain a first character string; converting the first character string into plural first binary digits, and storing the plural first binary digits; decrypting the stored plural first binary digits using a pre-defined decryption algorithm to generate plural second binary digits; converting the plural second binary digits into a second character string;
wherein the computer-executable instructions is further capable of causing the processor to carry out the steps of;converting the to-be-decrypted first character string into a first character array;
wherein an element in the first character array corresponds to a single-byte encoded value of a character in a third character string;assigning elements in the character array into plural array blocks, wherein each array block includes a pre-defined number of elements; converting elements in each array block into 8-bit binary digits; and storing the 8-bit binary digits corresponding to each array block. - View Dependent Claims (15, 16)
- a processor and a non-transitory memory, the memory comprising a set of computer-executable instructions causing the processor to carry out the steps of;
-
14. (canceled)
-
17. (canceled)
Specification