Movatterモバイル変換


[0]ホーム

URL:


CN102073831A - System and method for encrypting and decrypting electronic documents - Google Patents

System and method for encrypting and decrypting electronic documents
Download PDF

Info

Publication number
CN102073831A
CN102073831ACN2011100427323ACN201110042732ACN102073831ACN 102073831 ACN102073831 ACN 102073831ACN 2011100427323 ACN2011100427323 ACN 2011100427323ACN 201110042732 ACN201110042732 ACN 201110042732ACN 102073831 ACN102073831 ACN 102073831A
Authority
CN
China
Prior art keywords
code
module
scrambled
document
electronic document
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2011100427323A
Other languages
Chinese (zh)
Inventor
顾晓军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHANGHAI DIAIBI CHEMICAL TECHNOLOGY Co Ltd
Original Assignee
SHANGHAI DIAIBI CHEMICAL TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHANGHAI DIAIBI CHEMICAL TECHNOLOGY Co LtdfiledCriticalSHANGHAI DIAIBI CHEMICAL TECHNOLOGY Co Ltd
Priority to CN2011100427323ApriorityCriticalpatent/CN102073831A/en
Publication of CN102073831ApublicationCriticalpatent/CN102073831A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Landscapes

Abstract

The invention discloses a system and a method for encrypting and decrypting electronic documents. The system comprises a code generating module, an encrypting/decrypting module, a code loading module, a code storage module and a computer provided with an editing device, wherein the code storage module can store more than one encrypted code table; each encrypted code table is generated in advance or in real time by the code generating module according to character codes in a universal code table; and the character codes and encoding codes in the encrypted code table are replaced to form encrypted documents and decrypted documents. The system and the method have extremely high confidentiality, safety, convenience and universality.

Description

The system of electronic document encryption and decryption and method thereof
Technical field
The present invention relates to electronic document, particularly a kind of system of electronic document encryption and decryption and method thereof.
Background technology
Document package contains a large amount of spoken and written languages symbols, or claims " char ".Illegally do not known for the content of protection plaintext document, need be encrypted the character in the document.Traditional cryptographic means can be divided into two big classes: regular class and random class.Regular class cryptographic means is exactly according to certain rule or rule, and the character in the plaintext is carried out conversion obtain ciphertext, thus the purpose that realization is encrypted.The shortcoming of this kind method maximum is that any in theory cryptographic means clocklike can be cracked by mathematical operation.
Random class cryptographic means is the encryption method of replacing another character with a code, and the corresponding relation of code substitute character does not have inherent mathematical law.The document of corresponding relation is called code book between record character and the code.The advantage of this encryption method is safe, shortcoming is that the conversion between code and the character needs bigger operand, and the data volume of code book is difficult for safe storage more greatly, in case code book is leaked, then all rely on the document that this code book encrypts and are all cracked.
A part of the supposing code book table 1 that thes contents are as follows
Table 1
CharacterCodeCharacterCodeCharacterCodeCharacterCode
A 65 H 72 O 79 V 86
B 66 I 73 P 80 W 87
C 67 J 74 Q 81 X 88
D 68 K 75 R 82 Y 89
E 69 L 76 S 83 Z 90
F 70 M 77 T 84 \ 92
G 71 N 78 U 85 _ 95
To encrypt " I_LOVE_U " this section plaintext character, then, can be converted to code " 7395767986699585 " to " I_LOVE_U ", then this section code be preserved, obtain the ciphertext document according to the corresponding relation of character and code in the last table 1.The content isolog character of ciphertext document is inequality fully, has played the effect of encrypting.When deciphering,,, then " 7395767986699585 " this section ciphertext can be reduced to " I_LOVE_U ", play the effect of deciphering according to the corresponding relation of code in the code book and character with the content in the ciphertext document at the ciphertext document.
Electronic document refers to each character that will be comprised in the spoken and written languages content, and (characters symbol) is converted to the code (code) that computer system can be discerned, and all codes are kept at the document (Document) that forms in the storer.
Described storer is the equipment that storage chip, PC, the webserver, e-book or the mobile phone etc. of CD, floppy disk, portable hard drive, USB flash disk, SD card, integrated circuit (IC) chip, mobile phone have the store electrons file function.
The corresponding relation of character and code forms coding schedule, present international coding schedule has " UTF-8 coding schedule ", and " unicode coding schedule " etc., domestic universal coding table has " GBK coding schedule ", different coding schedules such as " GB2312 coding schedules ", the code in the coding schedule is called character code.For the ease of identification, usually adopting the numeral of one 16 scale or 10 scales in coding schedule is the character code name.Above-mentioned universal coding table is stored with the form of electronic document usually and is used.The editing device that includes computer system can be connected with coding schedule, and can character be carried out two-way mutual conversion with character code according to the corresponding relation of character of being put down in writing in the coding schedule and character code; Or, the code of different code system is changed mutually according to the corresponding relation between A code system of being put down in writing in the coding schedule and the B-code system.Described computer system refers to and has the various device that reads or edit or preserve the electronic document function, includes but not limited to single-chip microcomputer, PC, server, mobile phone, home game machine, e-book etc.
The encryption and decryption process of electronic document can be finished by the converse routine of computer system.At present carry out the cryptographic means that regular class is generally adopted in encryption and decryption, seldom adopt random class cryptographic means for electronic document.And the shortcoming of regular class methods maximum is that confidentiality is strong inadequately, as long as the enough fast computing machine of arithmetic speed is arranged in theory, any cryptographic means clocklike can be cracked by the computing of computing machine.In addition, if the language environment of the employed computer system of encryption and decryption coding schedule inequality or that encipherer and deciphering person adopted is inconsistent, the situation that the document after may occurring deciphering can't normally show.For example at one section Chinese expressly, adopt the (SuSE) Linux OS of Chinese edition to obtain ciphertext during encryption, what adopt during deciphering is the windows system of the Japanese edition, can't normally show the situation of former plaintext after then may occurring deciphering.
Summary of the invention
Fundamental purpose of the present invention is to overcome the defective of above-mentioned prior art, and a kind of system and method thereof of the electronic document encryption and decryption based on random class cryptographic means is provided.The scrambled table that is used for encryption and decryption does not have inherent regularity, can't crack via computing, analysis or checking, and the encryption method that makes the present invention has high confidentiality, security, convenience and versatility.
Technical solution of the present invention is as follows:
A kind of electronic document encryption and decryption system, comprise a coding generation module, an encrypting-decrypting module, a coding load-on module, a code storage module, an editing device and one " universal coding table ", its characteristics are: have the scrambled table more than 1 in the described code storage module, each scrambled table system is generated according to the character code content in the universal coding table in advance or immediately by described coding generation module, described scrambled table is random, promptly the code in the scrambled table with character code each other without any mathematical law.
Described coding generation module includes an editing device, can generate a plurality of described code, and the code that is generated is inserted in " universal coding table ", make each different code corresponding to a character code, but each character code can have a plurality of different code corresponding with it, and the coding schedule after the insertion code is saved as " scrambled table ";
Described encrypting-decrypting module includes an editing device, this editing device is used to read the content of described " scrambled table ", and can be according to the character code of being put down in writing in " the scrambled table " that read and the corresponding relation of code, character code and code are carried out bi-directional conversion, and the code storage after will changing is an electronic document.
Described code storage module is included in coding load-on module inside, or described code storage module is independent of outside the described coding load-on module, or all or part of of code storage module separates with described coding load-on module.
Described code storage module comprises more than one storer, is made up of the storer of identical type, or is made up of the storer of variety classes and varying number.
Described coding load-on module connects each storer in the described code storage module respectively, the coding schedule data that read wherein to be stored.
Described scrambled table can be divided into a plurality of parts, is stored in respectively in a plurality of storeies of code storage module, and described coding load-on module can become the scrambled table pack that is divided into a plurality of parts a scrambled table.
Described connection comprises that the direct connection, the circuit that carry out data transmission connect, communication network connects, wireless network connects.
A kind ofly utilize above-mentioned electronic document encryption and decryption system to carry out the electronic document method of encrypting, its characteristics are to comprise the following steps:
1. start described electronic document encryption and decryption system, described coding load-on module is linked to each other with described encrypting-decrypting module;
2. selected specific scrambled table is as the first scrambled table from described scrambled table more than 1, and described encrypting-decrypting module connects the described first scrambled table;
3. encrypted electronic document: the character code that described encrypting-decrypting module is put down in writing according to the described first scrambled table is with the transformational relation between the code, all character codes in the plaintext document are replaced with the code of the described first scrambled table successively, form encrypted document;
4. store or export described encrypted document.
A kind ofly utilize above-mentioned electronic document encryption and decryption system to carry out the electronic document method of encrypting, its characteristics are that this method comprises the following steps:
1. start described electronic document encryption and decryption system, described coding load-on module is linked to each other with described encrypting-decrypting module;
2. from described scrambled table more than 1, select earlier and be connected the first scrambled table, write down the code name of this first scrambled table in the starting position of first's encrypted electronic document, the character code that described encrypting-decrypting module is put down in writing according to the described first scrambled table is with the transformational relation between the code, all character codes in first's plaintext document are replaced with the code of the described first scrambled table successively, form first's encrypted document;
3. from described a plurality of scrambled tables, select and connect the second scrambled table, write down the code name of this second scrambled table in the starting position of encrypted electronic document second portion, the character code that described then encrypting-decrypting module is put down in writing according to the described second scrambled table is with the transformational relation between the code, all character codes in the second portion plaintext document are replaced with the code of the second scrambled table successively, form the second portion encrypted document;
4. different scrambled tables is selected in operation by that analogy, and ensuing plaintext electronic document is encrypted, and all is converted to code until the character code of plaintext document to be encrypted, the formation encrypted document;
5. store or export described encrypted document.
A kind of method of utilizing described electronic document encryption and decryption system to carry out the electronic document deciphering, its characteristics are to comprise the following steps:
1. start described electronic document encryption and decryption system, described coding load-on module is linked to each other with described encrypting-decrypting module;
2. connect described scrambled table to described editing device, this scrambled table comprises the transformational relation between employed all character codes and code when encrypting described encrypted document;
3. described editing device is selected corresponding scrambled table according to the code name of the scrambled table of putting down in writing in the described encrypted document, and the code in the described encrypted document is converted to character code seriatim; As meet the code name of new scrambled table, and then select corresponding scrambled table, the code in the encrypted document thereafter is converted to character code seriatim; Code until described encrypted electronic document all is converted to the original character code of described plaintext document, forms to separate confidential document;
4. store or export the described confidential document of separating.
Technique effect of the present invention:
1, the user can work out " the scrambled table " that is used for encryption and decryption arbitrarily, and a character code permission is corresponding with it by a plurality of code in this scrambled table, but each code can only corresponding character code.During encryption, the encrypting-decrypting module of described by being connected to " scrambled table " is converted to code one by one according to each character code of connect " scrambled table " general content expressly, subsequently code is saved as the encrypted electronic document.When deciphering, " the scrambled table " that encrypting-decrypting module connected need include the transformational relation between employed all code of encrypted document and the character code, code in the encrypted electronic document could be converted to correct character code, thereby realize deciphering.If encrypting-decrypting module is not connected to accordingly " scrambled table ", then the encrypted electronic document can't be converted to correct character code, played the effect of maintaining secrecy.Because the form of presentation of user's establishment " scrambled table " does not have logicality, and can adopt a plurality of code to come corresponding character code, can't verify the result who cracks by mathematical operation, therefore can not adopt the method for exhaustion that the document that adopts the present invention to encrypt is cracked in present technical merit.User for using different " scrambled table " is not influenced all the other users' ciphertext safety even some users " scrambled table " leaks or crack yet.So make the present invention's encryption method have high confidentiality.
2, described code storage module is made up of the storer that can be separated from each other more than 1, and the code storage module can be separated with the coding load-on module.What the scrambled table was complete is stored in the coded stack, or the scrambled table is divided into several parts is stored in respectively in a plurality of storeies of code storage module, or a plurality of coding schedules are stored in the code storage module.When carrying out file encryption or deciphering, the coding load-on module connects the code storage module, makes the scrambled table of storing in the code storage module be connected to encrypting-decrypting module.When document is deciphered, if be not connected to the code storage module that stores the respective encrypted coding schedule, the coding load-on module can't connect described scrambled table, cause and can't the electronic document that adopt described scrambled table to encrypt be decrypted, so make the present invention's encryption method have high security.
3, the encryption and decryption method of electronic document of the present invention can be applicable to have the various device that reads or edit or preserve the electronic document function, includes but not limited to single-chip microcomputer, PC, server, mobile phone, home game machine, e-book etc.And the storer of described code storage module can be any equipment with store electrons file function, as storage chip, PC, the webserver, e-book or the mobile phone etc. of CD, floppy disk, portable hard drive, USB flash disk, SD card, integrated circuit (IC) chip, mobile phone.No matter and which kind of language environment user machine system be, all can normally show the document character after the deciphering, so make the present invention's encryption and decryption method have versatility.
4, the user does not need additionally to expend time in ciphering process and carries out complicated cryptographic calculation; The user can utilize means of communication to connect " the scrambled table " that is stored in the long-range code storage module, and needn't be at one's side " scrambled table " band constantly; An encryption/decryption device can be deciphered the document that different " scrambled table " encrypted simultaneously; These characteristics have further facilitated user's use.Therefore the present invention has higher convenience.
Description of drawings
Fig. 1 is the block schematic diagram of electronic document encryption and decryption of the present invention system.
Fig. 2 is the block schematic diagram of electronic document decryption system of the present invention, and 301 is that the first scrambled table, 302 is that the second scrambled table, 30N are n scrambled tables.
Fig. 3 is the schematic flow sheet of electronic document encryption method of the present invention.
Fig. 4 is the schematic flow sheet of electronic document decryption method of the present invention.
Embodiment
For making purpose of the present invention, structure, feature and function thereof there are further understanding, below cooperate embodiment and accompanying drawing to be described in detail as follows:
Consult Fig. 1 earlier, Fig. 1 is the block schematic diagram of electronic document encryption and decryption of the present invention system.As seen from the figure, electronic document encryption and decryption of the present invention system, comprise acoding generation module 40, an encrypting-decryptingmodule 10, a coding load-onmodule 20,code storage module 30 and have the computing machine of editing device, its characteristics are: describedcode storage module 30 stores the more than one scrambled table that is used for encryption and decryption, each scrambled souvenir is loaded with character code of system separately and code one to one or a character code and the corresponding relation of a plurality of code, described scrambled table is random, and the corresponding relation of promptly described code and described character code does not have inherent mathematical law.And no matter described code is identical or different with the form (as figure place, numerical value interval, length etc.) of described character code, does not all influence effect of the present invention.
Editingdevice 101 incharacter 011 of the present invention, code, electronic document, universal coding table 11, computing machine and the computing machine etc., equal identical with described in the background technology, no longer repeat specification.
Key of the present invention comprises:
One, generates the scrambled table
The scrambled table that is used for encryption and decryption of the present invention can produce via any method, and the present invention is not limited the generation type of scrambled table.But each scrambled souvenir has carried the full content of universal coding table of institute's foundation and the character code in the universal coding table and code only one-to-one correspondence or a character code and the corresponding relation of a plurality of code, described scrambled table is random, and the corresponding relation of promptly described code and described character code does not have inherent mathematical law.Yet with regard to present prior art, the mode that generates the scrambled table that is used for encryption and decryption comprises following mode at least:
The user submits to usually employed " universal coding table " 11; Perhaps submit one section electronic document that in the current computer system, can normally show and edit to, analyze, determine the employed universal coding of user table 11 by the document that 40 couples of users of coding generation module submit to; Describedcoding generation module 40 is according to the content of normally used " the universal coding table " 11 of user, generate the scrambled table, this scrambled table includescharacter 011 and the corresponding relation of character code and the corresponding relation of character code and code in described " universal coding table ".
For reaching better secret effect, the user also can repeat above-mentioned step and generate many cover scrambled tables, as the first scrambled table, the second scrambled table etc.
The user is stored incode storage module 30 with an above scrambled table that is generated, and selects more than one scrambled table to issue the deciphering person who has the right to encrypted document, alternately or simultaneously uses.
Two, encrypt
Ciphering process among the present invention is summarized as follows, and detailed mode of operation, will be in follow-up detailed description:
The user starts the encryption and decryption system: be that coding load-onmodule 20 is connectedcode storage module 30, connect the stored scrambled table that is used for encryption and decryption fromcode storage module 30, as " the first scrambled table ".If store in thecode storage module 30 when overlapping the scrambled table, the coding schedule that can therefrom select at least one cover to use is as " the first scrambled table " more.This scrambled table is connected to encrypting-decryptingmodule 10.
Be connected at encrypting-decryptingmodule 10 under the state of this first scrambled table, the user can and obtain encryptedencrypted document 02 with the conversion of plaintext electronic document, finishes encryption.
Three, deciphering
Must depend on the scrambled table that adopted when encrypting as " the first scrambled table " to the deciphering ofencrypted document 02.
The user starts electronic document encryption and decryption system: be that coding load-onmodule 20 is connectedcode storage modules 30, select fromcode storage module 30 and connect corresponding scrambled table, as " the first scrambled table ".After encrypting-decryptingmodule 10 is connected to " the first scrambled table ", the code in theencrypted document 02 can be converted to original charactercode.Editing device 101 is connected to the coding load-on module, and character code is converted tocharacter 011, thereby reaches the effect of deciphering.
Four, maintain secrecy
If encrypting-decryptingmodule 10 can't be connected to this first scrambled table, for example when do not start coding load-onmodule 20 or do not connectcode storage module 30 orcode storage module 30 in not during the store electronic documents encrypting storing during employed this first scrambled table, then encrypting-decryptingmodule 10 can't be converted to the code in theencrypted document 02 original character code, has reached the effect of maintaining secrecy.
Encipherer and deciphering person answer safekeeping to be used for the scrambled table of encryption and decryption or store the codingschedule memory module 30 of scrambled table, and all or part of content of guaranteeing this scrambled table is not that the 3rd people obtains.Even encrypted document is obtained by the 3rd people, if the 3rd people does not obtain corresponding scrambled table, also the code content ofencrypted document 02 can't be converted to correct character code, played the effect of maintaining secrecy.
Embodiment
Embodiment 1, to the electronic document encryption and decryption.
At first, please refer to the 1st figure, Fig. 1 is the block schematic diagram of electronic document encryption system of the present invention.As shown in Figure 1, the present invention's electronic document encryption and decryption system comprises an encrypting-decryptingmodule 10 at least; Andcode storage module 30, store the scrambled table that is used for encryption and decryption more than, as " the first scrambled table " 301, and this " first scrambled table " 301 includes a plurality of first code and with the corresponding character code of each first code; And a coding load-onmodule 20, the one end is connected with encrypting-decryptingmodule 10, and the other end is connected withcode storage module 30, makes it can read, select and connect the scrambled table of being stored in thecode storage module 30 that is used for encryption and decryption.
Encrypting-decryptingmodule 10 reads expressly document 01, character codes all in theplaintext document 01 is converted to code one by one according to the corresponding relation of being put down in writing in " the first scrambled table " 301, makes all character codes save asencrypted document 02 according to the code of " the first scrambled table ".Detailed process is as follows:
For example, suppose that user's normally used " universal coding table " is " ASCII coding schedule ".The corresponding relation such as the following table 2 that includecharacter 011 and character code in " universal coding table ".
Table 2
CharacterCodeCharacterCodeCharacterCodeCharacterCode
A 65 H 72 O 79 V 86
B 66 I 73 P 80 W 87
C 67 J 74 Q 81 X 88
D 68 K 75 R 82 Y 89
E 69 L 76 S 83 Z 90
F 70 M 77 T 84 \ 92
G 71 N 78 U 85 _ 95
Simultaneously, suppose that " the first scrambled table " 301 is the content ofcoding generation module 40 according to " universal coding table " (table 2), adopt the code identical as code with the form (figure place, numerical value interval, length etc.) of character code, corresponding each character code is inserted a code, generate by " the first scrambled table ", and " the first scrambled table " that this generates in advance is stored incode storage module 30; The corresponding relation such as the following table 3 that includecharacter 011, character code and code in described " the first scrambled table " 301.
Table 3
Figure BDA0000047584070000101
Editingdevice 101 is converted to expressly document with character content " I_LOVE_U ".According to the corresponding relation of the character in " universal coding table " (table 2) 011 and character code as can be known, this expressly the character code content in document be " 73 95 76 79 86 69 95 85 ".
Start the coding load-on module, make encrypting-decryptingmodule 10 to be connected to " the first scrambled table of being stored in thecode storage module 30 " 301 by coding load-onmodule 20; Encrypting-decryptingmodule 10 is according to the character code of being put down in writing in " the first scrambled table " 301 (tables 3) and the corresponding relation of code subsequently, character code " 73 95 76 79 86 69 95 85 " in the above-mentioned plaintext document is converted to code " 87 65 90 72 65 8,365 78 ", generate encrypted document, finish encryption " I_LOVE_U " thissection character 011.
Fig. 2 is the block schematic diagram of electronic document decryption system of the present invention.
Start decryption system, encrypting-decryptingmodule 10 is connected to " the first scrambled table " 301 in thecode storage module 30 by coding load-onmodule 20, encrypting-decryptingmodule 10 is according to the code of being put down in writing in " the first scrambled table " 301 (tables 3) and the corresponding relation of character code, code in theencrypted document 02 " 87 65 90 72 65 83 65 78 " is converted to character code " 73 95 76 79 86 69 95 85 ", generates expressly document 01.Editing device 101 is connected to " the first scrambled table " 301 by coding load-onmodule 20, and according to the character code of being put down in writing in " the first scrambled table " 301 and the corresponding relation ofcharacter 011, describedplaintext document 01 is converted tocharacter 011 " I_LOVE_U ", has finished deciphering described encrypted document.
If decryption system is not connected to described " the first scrambled table " 301, suppose thatediting device 101 is connected to " universal coding table " (table 2),editing device 101 is converted tocharacter 011 " WAXHASAN " according to the character code of record in " universal coding table " and the corresponding relation ofcharacter 011 with the code in theencrypted document 02 " 87 65 90 72 65 83 65 78 ".Clearly,character 011 content ofediting device 101 conversions and the original text meaning are not inconsistent fully, have reached the effect of maintaining secrecy.
Embodiment 2, use the encryption and decryption of the computer system of a plurality of " scrambled tables ".
Whenencrypted document 02 is transferred to another encrypting-decryptingmodule 10, if above-mentioned another encrypting-decryptingmodule 10 is to be connected to other coding schedule, suppose that this other coding schedule is " the second scrambled table ", it includes the corresponding relation such as the following table 4 ofcharacter 011, character code and code
Table 4
Figure BDA0000047584070000121
According to embodiment 1, the A encrypting-decrypting module uses " the first scrambled table " 301 that " I_LOVE_U " this section character 011 is converted to code " 87 65 90 72 65 83 65 78 " according to " the first scrambled table " 301 and saves as encrypted document.Subsequently, above-mentioned encrypted document is transferred to B encrypting-decrypting module 10; If B encrypting-decrypting module 10 is connected to " the second scrambled table " this moment, when attempting to decipher above-mentioned encrypted document; At this moment, the editing device 101 that the B encrypting-decrypting module connected can be character 011 " PDSADXDG " with code " 87 65 90 72 65 83 65 78 " deciphering according to " the second scrambled table "; Clearly, use the document content of " the second scrambled table " deciphering and the meaning of use " the first scrambled table " 301 original texts of being encrypted not to be inconsistent fully, reached the effect of encrypting.If after B encrypting-decrypting module 10 is connected to " the first scrambled table " 301, decipher above-mentioned encrypted document again, code " 87 65 90 72 65 83 65 78 " is " I_LOVE_U " according to " the first scrambled table " 301 deciphering.With the aggregatio mentium of the original text of being encrypted, played the effect of deciphering.
Embodiment 3, and the internal electron document maintains secrecy in the same group.
When the different user in the same group all uses same " scrambled table ".From above-mentioned the 1st embodiment and the 2nd embodiment as can be known, the encrypted document of using identical " scrambled table " to obtain, other in the same group is with deciphering per family.Other user then can't implement deciphering to the electronic document that this group member encrypts owing to can't obtain same " scrambled table ", has reached inner secret effect.
4, one users of embodiment decipher the document that different scrambled tables are encrypted respectively.
A group member uses " the first scrambled table ", and B group member uses " the second scrambled table ", and employed code is inequality fully in the above-mentioned different coding table, and two group members can not obtain the other side's coding schedule mutually.The coding load-on module of higher level C can be connected respectively to " the first scrambled table " or " the second scrambled table ".
According to embodiment 1~3 as can be known, because A group member uses different " scrambled table " respectively with B group member, and do not obtain the other side's scrambled table mutually.Electronic document after then the arbitrary member of A group encrypts, the member between the A group can normally decipher, the member beyond the A group comprise the member of B group because can't obtain " the scrambled table " that A group uses thus can not normally decipher.In like manner, the electronic document after the arbitrary member of B group encrypts, the member between the B group can normally decipher, the member beyond the B group comprise the member of A group because can't obtain " the scrambled table " that B group uses thus can not normally decipher.
Can determine that encrypt file is that the coding load-onmodule 20 of C can correctly be selected this encrypted document employed " scrambled table " under the situation by A group or the little group encryption of B; By embodiment 1~3 as can be known, owing to selected correct " scrambled table ", encrypt file can be deciphered by the encrypting-decrypting module of C.Played the effect that a user deciphers difference " scrambled table " encrypted document respectively.
5, one users of embodiment decipher the document that difference " scrambled table " is encrypted simultaneously.
A group member uses " the first scrambled table ", and B group member uses " the second scrambled table ", and employed code is inequality fully in the above-mentioned different coding table, and two group members can not obtain the other side's coding schedule mutually." the 3rd scrambled table " that C uses includes the full content of " the first scrambled table " and " the second scrambled table ".
Suppose partial content such as following table 5 that " the first scrambled table " that the A of group uses comprises:
Table 5
Character A B C D E F G
Character code 65 66 67 68 69 70 71
Code A 72 73 74 75 76 77 78
Suppose partial content such as following table 6 that " the second scrambled table " that the B of group uses comprises:
Table 6
Character A B C D E F G
Character code 65 66 67 68 69 70 71
Code B 79 80 81 82 83 84 85
" the 3rd scrambled table " that C uses is that the content that comprises according to " the first scrambled table " and " the second scrambled table " is formed by stacking.Its partial content such as following table 7:
Table 7
Character A B C D E F G
Character code 65 66 67 68 69 70 71
First code 72 73 74 75 76 77 78
Second code 79 80 81 82 83 84 85
In table 7, the uniquecorresponding character 011 of code " 75 " " D ", not corresponding any other character of character code " 75 " exceptcharacter 011 " D ".The uniquecorresponding character 011 of code " 82 " " D ", not corresponding anyother character 011 of code " 82 " exceptcharacter 011 " D ".Character 011 " D " has " 65 " and a plurality of code such as " 82 " corresponding with it.
It is via little group encryption of A or the little group encryption of B that theediting device 101 of C need not clear and definite encrypted document.By embodiment 1~3 as can be known, no mattercharacter 011 " D " is the code " 82 " that the code " 75 " that obtains after A group encrypts still obtains after the encryption of B group, by all can correctly decryptedly beingcharacter 011 " D " in the decryption system of C.Played an effect thatediting device 101 is deciphered the document of different " scrambled table " encryption simultaneously.
What need further specify is, adopt the code identical as code in the foregoing description with the form (figure place, numerical value interval, length etc.) of character code, also can adopt form (as figure place, numerical value interval, the length etc.) code inequality with " universal coding table " character code to generate " the first scrambled table " 301 in the above-described embodiments as code, for example use 3 bit digital, perhaps the code of 4 bit digital all can reach same encryption, deciphering and secret effect.
Secondly, deciphering and decipher " the scrambled table " that necessary step is that encrypting-decryptingmodule 10 is connected to and is used to encrypt or decipher among the present invention, the annexation between its equipment can be various multi-form.The load-onmodule 20 of for example encoding can be that to be disposed at outside the encrypting-decryptingmodule 10 also can be to be disposed in the encrypting-decryptingmodule 10;Code storage module 30 can be independent of outside the coding load-onmodule 20, also can be to be configured in the coding load-onmodule 20; Coding load-onmodule 20 can connect one simultaneously and also can connect a plurality ofcode storage modules 30 simultaneously; The coding load-on module can be simultaneously or is successively loaded many covers " scrambled table " and be connected to encrypting-decryptingmodule 10 with " the scrambled table " that form stack and with " the scrambled table " of this stack; To this, the present invention is not limited.
Moreover, though the literal of various countries, the whole world be not quite similar, if after forming it " scrambled table " via the present invention's coded system, all applicable to the present invention's device and method; Be the explanation of embodiment only in the foregoing description withEnglish character 011, but do not represent that the present invention is only applicable to the encryption and decryption ofEnglish character 011, hold the electronic document of editing or reading or preserve via computer system applicable to any language andcharacter 011 within the present invention.
In addition, thecode storage module 30 that stores " the scrambled table " that be used for encrypting and decrypting is separated with coding load-onmodule 20 and keep properly, will be of value to and strengthen the effect of maintaining secrecy;Code storage module 30 is made up of a plurality of storeies, the complete coding schedule of one cover is divided into a plurality of parts, be stored in respectively in the different storeies, and storer can be separated from each other and be kept at different places respectively, more above-mentioned a plurality of storeies being reconfigured during use becomes completecode storage module 30; Be of value to the effect that further enhancing is maintained secrecy.
At last, computer system of the present invention refers to the various device that can read or edit or preserve electronic document, includes but not limited to PC, server, mobile phone, home game machine, e-book etc.The present invention does not limit the encipherer and whether uses identical equipment with deciphering person.Encipherer's computer system can be above-mentioned any equipment, and deciphering person can use the equipment identical with the encipherer also can use different equipment.
All be the different application of the embodiment of the invention below, to this, the present invention is not limited.
According to above-mentioned explanation, the present invention further discloses a kind of method of encryption, please refer to Fig. 3, is the schematic flow sheet of encryption method of the present invention.At first, provide anediting device 101; Secondly,editing device 101 is converted to character code according to " the built-in coding schedule " that connected withcharacter 011, generates expressly document; Then, provide a coding load-onmodule 20,code storage module 30, encrypting-decryptingmodule 10 successively; Then, start coding load-onmodule 20, make encrypting-decryptingmodule 10 be connected to codestorage module 30 by coding load-onmodule 20;
Judge whether to need to generate new " scrambled table ":
When storing more than one " scrambled table " and decision use described " scrambled table " in the code storage module, judge whether a plurality of scrambled tables are arranged in the code storage module;
In the code storage module, do not store " scrambled table ",, provide acoding generation module 40, " a universal coding table " 11 though perhaps store " scrambled table " operator when determining to use a new scrambled table;Coding generation module 40 is according to the content newly-generated " scrambled table " of " universal coding table " 11; Thegeneration module 40 of will encoding is connected to codestorage module 30, and described newly-generated " scrambled table " is stored incode storage module 30; Judge whether a plurality of scrambled tables are arranged in the code storage module;
Judge whether a plurality of scrambled tables arranged in the code storage module:
When having only the scrambled table of storage (for example " the first scrambled table " 301) in the coding load-onmodule 20 judgementcode storage modules 30, the coding load-on module connection together of then selected this coding schedule,
When coding load-onmodule 20 judges that 30 kinds of code storage modules have a plurality of scrambled table, then manual selected or connect (step 352) with the coding load-on module by selected automatically at least one coding schedule of coding load-onmodule 20 by the operator;
Then, encrypting-decrypting module is connected to " the first scrambled table " 301 by the coding load-on module; Encrypting-decrypting module replaces with code according to the corresponding relation of record in " the first scrambled table " 301 that is connected with character code; At last, resulting code is preserved electronic document after obtaining encrypting.
Moreover the present invention discloses a kind of method of deciphering, please refer to Fig. 4, and it is the schematic flow sheet of decryption method of the present invention.At first, provide an encrypted electronic document; Secondly, provide an encrypting and decryptingmodule 10, coding load-onmodule 20,code storage module 30 successively, store in thiscode storage module 30 with encrypted document and encrypt identical " the scrambled table " of employed " the first scrambled table " 301 contents; Then, start coding load-onmodule 20, make encrypting-decryptingmodule 10 be connected to codestorage module 30 by coding load-onmodule 20;
Subsequently, judge whether store a plurality of " scrambled tables " in thecode storage module 30 by coding load-on module 20:
Judge to have only in thecode storage modules 30 when storing one " scrambled table " when coding load-onmodule 20, then selected should " scrambled table ";
When coding load-onmodule 20 judges in thecode storage module 30 that a plurality of " scrambled tables " are arranged, then selected by hand or selected automatically with encrypted document encryption employed " scrambled table " identical " scrambled table " by the coding load-on module by the operator;
Then, the coding load-on module is connected to encrypting-decryptingmodule 10 with selected coding schedule; Encrypting-decryptingmodule 10 is converted to corresponding character code to the code in the encrypted document according to the corresponding relation of " the scrambled table " that connected, finishes deciphering; At last, character code is saved as expressly document, anyediting device 101 that has connected " universal coding table " 11 or " the first scrambled table " 301 all can be converted tocharacter 011 to this plaintext document.
Though the present invention discloses as above with aforesaid preferred embodiment; but be not in order to limit the present invention; right and have the knack of correlation technique person; without departing from the spirit and scope of the present invention; when can doing a little change and retouching, therefore scope of patent protection of the present invention must be looked being as the criterion that the appended claim scope of this instructions defined.

Claims (10)

1. electronic document encryption and decryption system, comprise a coding generation module, an encrypting-decrypting module, a coding load-on module, code storage module and have the computing machine of editing device, it is characterized in that: the scrambled table of storage more than 1 in the described code storage module, each scrambled table system is generated according to the character code content in the universal coding table in advance or immediately by described coding generation module, described scrambled table is random, promptly the code in the encrypted code table with character code each other without any mathematical law.
2. electronic document encryption and decryption according to claim 1 system is characterized in that described encrypting-decrypting module is used to read, changes and stores document.
3. electronic document encryption and decryption according to claim 1 system, it is characterized in that described code storage module is included in coding load-on module inside, or described code storage module is independent of outside the described coding load-on module, or all or part of of code storage module separates with described coding load-on module.
4. electronic document encryption and decryption according to claim 1 system, it is characterized in that described code storage module comprises more than one storer, storer by identical type is formed, or formed by the storer of variety classes and varying number, described coding load-on module is connected respectively to each storer in the described code storage module, and the data that read wherein to be stored.
5. electronic document encryption and decryption according to claim 4 system is characterized in that described storer is the equipment that has the store electrons file function in storage chip, PC, the webserver or the e-book of CD, floppy disk, portable hard drive, USB flash disk, SD card, integrated circuit (IC) chip, mobile phone.
6. electronic document encryption and decryption according to claim 4 system, it is characterized in that described scrambled table is divided into a plurality of parts, be stored in respectively in a plurality of storeies of code storage module, the scrambled table pack that described coding load-on module will be divided into a plurality of parts becomes a scrambled table.
7. electronic document encryption and decryption according to claim 4 system is characterized in that described connection, comprises that the direct connection, the circuit that carry out data transmission connect, communication network connects, wireless network connects.
8. one kind is utilized the described electronic document encryption and decryption of claim 1 system to carry out the electronic document method of encrypting, it is characterized in that comprising the following steps:
1. start described electronic document encryption and decryption system, described coding load-on module is linked to each other with described encrypting-decrypting module;
2. selected specific scrambled table is as the first scrambled table from the scrambled table more than 1 of described code storage module, and described encrypting-decrypting module connects this first scrambled table;
3. set up the encrypted electronic document: the character code that described encrypting-decrypting module is put down in writing according to the described first scrambled table is with the transformational relation between the code, all character codes in the plaintext document are replaced with described code successively, form encrypted document;
4. store or export described encrypted document.
9. one kind is utilized the described electronic document encryption and decryption of claim 1 system to carry out the electronic document method of encrypting, it is characterized in that this method comprises the following steps:
1. start described electronic document encryption and decryption system, described coding load-on module is linked to each other with described encrypting-decrypting module;
2. from the scrambled table more than 1 of described code storage module, select earlier and be connected the first scrambled table, write down the code name of this first scrambled table in the starting position of first's encrypted electronic document, the character code that described encrypting-decrypting module is put down in writing according to the described first scrambled table is with the transformational relation between the code, all character codes in first's plaintext document are replaced with the code of the first scrambled table successively, form first's encrypted document;
3. from described a plurality of scrambled tables, select and connect the second scrambled table, write down the code name of this second scrambled table in the starting position of encrypted electronic document second portion, the character code that described then encrypting-decrypting module is put down in writing according to the described second scrambled table is with the transformational relation between the code, all character codes in the second portion plaintext document are replaced with the code of the second scrambled table successively, form the second portion encrypted document;
4. different scrambled tables is selected in operation by that analogy, and ensuing plaintext electronic document is encrypted, and all is converted to code until the character code of plaintext document to be encrypted, the formation encrypted document;
5. store or export described encrypted document.
10. a method of utilizing the described electronic document encryption and decryption of claim 1 system to carry out the electronic document deciphering is characterized in that comprising the following steps:
1. start described electronic document encryption and decryption system, described coding load-on module is linked to each other with described encrypting-decrypting module;
2. connect described scrambled table to described editing device, this scrambled table comprises the transformational relation between employed all character codes and code when encrypting described encrypted document;
3. described editing device is selected corresponding scrambled table according to the code name of the scrambled table of putting down in writing in the described encrypted document, and the code in the described encrypted document is converted to character code seriatim; As meet the code name of new scrambled table, and then select corresponding scrambled table, the code in the encrypted document thereafter is converted to character code seriatim; Code until described encrypted electronic document all is converted to the original character code of described plaintext document, forms to separate confidential document;
4. store or export the described confidential document of separating.
CN2011100427323A2011-02-232011-02-23System and method for encrypting and decrypting electronic documentsPendingCN102073831A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN2011100427323ACN102073831A (en)2011-02-232011-02-23System and method for encrypting and decrypting electronic documents

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN2011100427323ACN102073831A (en)2011-02-232011-02-23System and method for encrypting and decrypting electronic documents

Publications (1)

Publication NumberPublication Date
CN102073831Atrue CN102073831A (en)2011-05-25

Family

ID=44032367

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN2011100427323APendingCN102073831A (en)2011-02-232011-02-23System and method for encrypting and decrypting electronic documents

Country Status (1)

CountryLink
CN (1)CN102073831A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102571324A (en)*2011-12-312012-07-11深圳市永达电子股份有限公司Method for building dynamic nonstandard character library, built character library, and system applying method and character library above
CN102904712A (en)*2011-07-252013-01-30深圳市金溢科技有限公司Information encrypting method
CN103646068A (en)*2013-12-042014-03-19Tcl集团股份有限公司Encryption method, decryption method, method for group messaging and corresponding devices thereof
CN103825723A (en)*2014-01-242014-05-28深圳市太和物联信息技术有限公司Encryption method and device
CN104009963A (en)*2013-02-262014-08-27中国银联股份有限公司 Security Authentication Mechanism of Remote Password
CN104978528A (en)*2014-04-012015-10-14四零四科技股份有限公司 Operating system core encryption and its decryption method
CN105791281A (en)*2016-03-012016-07-20太仓苏易信息科技有限公司Information encryption system
CN106650337A (en)*2016-12-292017-05-10北京奇虎科技有限公司Method and device for processing script file in installation package
CN107239713A (en)*2017-05-172017-10-10李晓妮A kind of sensitive content data message means of defence and system
CN105447342B (en)*2014-08-282018-08-31阿里巴巴集团控股有限公司script encryption method, decryption method and engine
CN110175462A (en)*2019-05-102019-08-27中国银行股份有限公司A kind of cross-platform decryption method, device and storage medium
CN112528282A (en)*2020-12-142021-03-19山东小葱数字科技有限公司Method and device for anti-obfuscating code and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1542628A (en)*2003-05-042004-11-03江南机器(集团)有限公司Electronic file characters internal code transformation encryption method
CN101320356A (en)*2008-07-142008-12-10曹乃承Data storage method and device
CN101840483A (en)*2009-03-172010-09-22北大方正集团有限公司Method and system for protecting computer document contents
CN102096789A (en)*2011-02-232011-06-15上海帝埃碧化学科技有限公司Electronic document security device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1542628A (en)*2003-05-042004-11-03江南机器(集团)有限公司Electronic file characters internal code transformation encryption method
CN101320356A (en)*2008-07-142008-12-10曹乃承Data storage method and device
CN101840483A (en)*2009-03-172010-09-22北大方正集团有限公司Method and system for protecting computer document contents
CN102096789A (en)*2011-02-232011-06-15上海帝埃碧化学科技有限公司Electronic document security device

Cited By (17)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102904712A (en)*2011-07-252013-01-30深圳市金溢科技有限公司Information encrypting method
CN102904712B (en)*2011-07-252016-01-06深圳市金溢科技股份有限公司Information ciphering method
CN102571324A (en)*2011-12-312012-07-11深圳市永达电子股份有限公司Method for building dynamic nonstandard character library, built character library, and system applying method and character library above
CN104009963B (en)*2013-02-262019-05-10中国银联股份有限公司 Security Authentication Mechanism of Remote Password
CN104009963A (en)*2013-02-262014-08-27中国银联股份有限公司 Security Authentication Mechanism of Remote Password
CN103646068B (en)*2013-12-042017-10-20Tcl集团股份有限公司Encryption method, decryption method, the method for sending bulk message and its corresponding intrument
CN103646068A (en)*2013-12-042014-03-19Tcl集团股份有限公司Encryption method, decryption method, method for group messaging and corresponding devices thereof
CN103825723B (en)*2014-01-242019-05-03深圳市太和物联信息技术有限公司A kind of encryption method and device
CN103825723A (en)*2014-01-242014-05-28深圳市太和物联信息技术有限公司Encryption method and device
CN104978528A (en)*2014-04-012015-10-14四零四科技股份有限公司 Operating system core encryption and its decryption method
CN105447342B (en)*2014-08-282018-08-31阿里巴巴集团控股有限公司script encryption method, decryption method and engine
CN105791281A (en)*2016-03-012016-07-20太仓苏易信息科技有限公司Information encryption system
CN106650337A (en)*2016-12-292017-05-10北京奇虎科技有限公司Method and device for processing script file in installation package
CN107239713A (en)*2017-05-172017-10-10李晓妮A kind of sensitive content data message means of defence and system
CN107239713B (en)*2017-05-172020-04-17北京溯斐科技有限公司Sensitive content data information protection method and system
CN110175462A (en)*2019-05-102019-08-27中国银行股份有限公司A kind of cross-platform decryption method, device and storage medium
CN112528282A (en)*2020-12-142021-03-19山东小葱数字科技有限公司Method and device for anti-obfuscating code and electronic equipment

Similar Documents

PublicationPublication DateTitle
CN102073831A (en)System and method for encrypting and decrypting electronic documents
JP5412414B2 (en) Searchable cryptographic processing system
CN101685425A (en)Mobile storage device and method of encrypting same
CN104732159A (en)File processing method and file processing device
CN104657670A (en)Data encryption based safety use method of configuration file
CN105808977A (en)Processing methods and apparatuses for file reading and writing operations
CN101795450A (en)Method and device for carrying out security protection on mobile phone data
CN106357608B (en)A kind of private data encryption and decryption method towards personal medical treatment & health data
CN201590091U (en)Encryption type memory card read/write device based on password authentication
Park et al.Research on Note-Taking Apps with Security Features.
CN110990848A (en)Sensitive word encryption method and device based on hive data warehouse and storage medium
CN102096789A (en)Electronic document security device
CN102612025B (en)Protective system and protective method for mobile phone documents
CN103646121B (en)A kind of identification code and using method and device
CN102118503A (en)Data protection method, device and terminal
CN101009548A (en)Data encryption method based on encryption technology
CN105279447A (en)Method and device for data encryption, and method and device for data decryption
CN101661546B (en)System and method for file encryption therein in hand-held mobile electronic device
JP2008312001A (en)Confidential data generating/reading system, and confidential data generating/reading method
CN103902921A (en)File encryption method and system
CN105847261A (en)Bluetooth wireless encryption and decryption-based electronic signature method
CN110990846A (en)Information storage method, device and computer readable storage medium
CN103984973A (en)Quality testing anti-fake control method based on two-dimensional bar code application
CN101639881A (en)Data transmission line
CN105553676B (en)With the Beidou serial port communication method of equipment authentication function and transmission, reception device

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
C02Deemed withdrawal of patent application after publication (patent law 2001)
WD01Invention patent application deemed withdrawn after publication

Application publication date:20110525


[8]ページ先頭

©2009-2025 Movatter.jp