A data conversion method and system for online collaborative editing service
A data conversion and collaborative editing technology, applied in the field of data security, can solve the problems of uncontrollable data value range and low security
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0073] In the online collaborative editing system, UTF-16 character encoding (each character is 16 bits) is used, and the data conversion takes 2 bytes as the unit. The value range of legal UTF-16 characters with a length of 2 bytes is: from 0000 to D7FF, or from E000 to FFFF (hexadecimal representation); from D800 to DFFF (hexadecimal representation) is illegal UTF- 16 characters. Therefore, based on the data conversion method of the present invention, for each UTF-16 character, the high-order 5 bits use a mapping operation, so that the output of the mapping operation will not be equal to 11011 (binary representation), and the low-order 11 bits use a symmetric cryptographic operation. like Figure 5 shown.
[0074] In the mapping operation of the upper 5 bits, the entries of the mapping table are as follows (including all other 5-bit binary numbers except 11011):
[0075]
[0076]
[0077] Then, the output of the mapping table is calculated from the password entered ...
Embodiment 2
[0106] In the online collaborative editing system, EBCDIC character encoding (each character is 8 bits) is used, and the data conversion takes 1 byte as the unit. The value range of an EBCDIC character with a length of 1 byte is: from 00 to FF (hexadecimal representation); any 1-byte bit string is a legal EBCDIC character. Therefore, in the data transformation method based on the present invention, for each 1-byte EBCDIC character, all bits use symmetric encryption operations.
[0107] The symmetric encryption algorithm used is the AES algorithm in the counter working mode. The key length of the AES block cipher algorithm is 128 bits, and the block length is 128 bits.
[0108] The key of the AES block cipher algorithm is jointly calculated by the password entered by the user and the random value contained in the document fragment. The auxiliary tag information contained in each document fragment and the corresponding initial setting method are as follows:
[0109] ● A rando...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


