CN104038339A - Method for encrypting file or communication message by use of multiple password algorithms and multiple keys - Google Patents
Method for encrypting file or communication message by use of multiple password algorithms and multiple keys Download PDFInfo
- Publication number
- CN104038339A CN104038339A CN201310284473.4A CN201310284473A CN104038339A CN 104038339 A CN104038339 A CN 104038339A CN 201310284473 A CN201310284473 A CN 201310284473A CN 104038339 A CN104038339 A CN 104038339A
- Authority
- CN
- China
- Prior art keywords
- communication message
- encrypted
- many
- file
- key
- 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
Links
Landscapes
- Storage Device Security (AREA)
Abstract
The invention discloses a method for encrypting and decrypting a file or a communication message. The method comprises the following steps: using multiple password algorithms and multiple keys corresponding to one password algorithm on the file or the communication file needing encryption, dividing the file or the communication message into n fragments, for each fragment, randomly using one password algorithm, randomly using one key in the algorithm, encrypting each fragment of the file or the communication message by use of the selected password algorithm and the selected key, then assembling each fragment encryption result, and forming an encryption file or an encryption communication message packet finally for storage or transmission. A decryption end divides the encryption file or an encryption communication message into n fragments, performs decryption on each encrypted fragment file or each encrypted encryption communication message by use of an indicated password algorithm and an indicated key, and then assembles decryption fragments to form a decryption file or a decryption communication message. The method provided by the invention ensures security of the file or the communication message.
Description
Technical field
The present invention relates to file or communication message safety encipher technical field, particularly relate to a kind of method of using many cryptographic algorithms and many key-pair files or communication message to be encrypted.
Background technology
At present, the encryption in preserving or transmitting to file or communication message, the single symmetric cryptographic algorithm system of general employing is (as DES/3DES, AES etc.) and single master key be encrypted, and this single password system and single master key are proved to be unsafe, there is the possibility being broken, be necessary to improve.
Summary of the invention
The object of this invention is to provide a kind of method of using many cryptographic algorithms and many key-pair files or communication message to be encrypted, to solve cracker, can not break through at synchronization the encrypt file of composition and the technical problem of coded communication message of multiple cryptographic algorithm system and a plurality of keys simultaneously.
For achieving the above object, the present invention adopts following technical scheme:
A method of using many cryptographic algorithms and many key-pair files or communication message to be encrypted, comprises the following steps:
Use has a kind of cryptographic algorithm (as DES or 3DES or AES etc.) and the individual key of n (n >=2) at least, or n (n >=2) plants cryptographic algorithm (as DES/3DES, AES etc.) and at least one key of corresponding every kind of cryptographic algorithm, or n (n >=2) plants cryptographic algorithm (as DES/3DES, AES etc.) and k the key (k >=2) of corresponding every kind of cryptographic algorithm, file or communication message are divided into n fragment, a key each fragment being chosen at random to a cryptographic algorithm and corresponding cryptographic algorithm is encrypted.Then assemble this n encrypted segments, form file and the communication message bag encrypted.
Be not only and be limited in the encryption of file or communication message, also comprise and use other type of many cryptographic algorithms and many encryption key methods encryption and decryption.
The method of using software enciphering method to be encrypted file or communication message fragment.
The method of using hardware encipher method to be encrypted file or communication message fragment, described hardware device comprises: usbkey, sim card, IC-card, contactless smart card, encryption equipment etc.
Mix software enciphering method and the hardware encipher method used.
The method of using many cryptographic algorithms and single key-pair file or communication message fragment to be encrypted.
The method of using single password algorithm and many key-pair files or communication message fragment to be encrypted.
N fragment of encrypt file or coded communication message stored or resolved on uniform machinery or different machines, to reach the object of safe storage and parsing.
Advantage of the present invention is can effectively prevent that the encrypt file of single password system and single key or communication message are broken, the risk that causes file or communication message to crack.
Accompanying drawing explanation
Fig. 1 is a kind of encryption principle figure that uses the method that many cryptographic algorithms and many key-pair files or communication message are encrypted in the embodiment of the present invention;
Fig. 2 is a kind of deciphering schematic diagram that uses the method that many cryptographic algorithms and many key-pair files or communication message are encrypted in the embodiment of the present invention;
Fig. 3 is a kind of encryption flow schematic diagram that uses the method that many cryptographic algorithms and many key-pair files or communication message are encrypted in the embodiment of the present invention;
Fig. 4 is a kind of deciphering schematic flow sheet that uses the method that many cryptographic algorithms and many key-pair files or communication message are encrypted in the embodiment of the present invention.
Embodiment
In order to make object of the present invention, technical scheme and advantage thereof clearer, below in conjunction with accompanying drawing and specific embodiment, the present invention is described in further detail.Described specific embodiment only, in order to explain the present invention, is not intended to limit the present invention.
Shown in Figure 1, a kind of method of using many cryptographic algorithms and many key-pair files or communication message to be encrypted, the ciphering process of file or communication message is to use to have a kind of cryptographic algorithm (as DES or 3DES or AES etc.) and the individual key of n (n >=2) at least, or n (n >=2) plants cryptographic algorithm (as DES/3DES, AES etc.) and at least one key of corresponding every kind of cryptographic algorithm, or n (n >=2) plants cryptographic algorithm (as DES/3DES, AES etc.) and k the key (k >=2) of corresponding every kind of cryptographic algorithm, file or communication message are divided into n fragment, and (note: n can be fixed value, or n is 2 n power, or produce at random n etc., and each fragment can be regular length, or different length etc.), to each fragment, a kind of cryptographic algorithm of random employing, and use a key at random in this algorithm, then to each fragment of file or communication message, adopt the cryptographic algorithm of choosing and the key of choosing to be encrypted, then each fragment encrypted result is assembled, form last encrypt file or coded communication message bag for storing or transmitting.
Shown in Figure 2, a kind of method of using many cryptographic algorithms and many key-pair files or communication message to be encrypted, the decrypting process of file or communication message is that encrypt file or coded communication message are split as to n fragment, and adopt cryptographic algorithm and the key of indication to be decrypted to each coded communication message of each fragment file of encrypting or encryption, then assemble these deciphering fragments, form declassified document or communication message.
Shown in Figure 3, a kind of method of using many cryptographic algorithms and many key-pair files or communication message to be encrypted, the ciphering process of file or communication message:
1. E101 has file or communication message;
2. E102 carries out fragment to file or communication message and cuts apart, and the quantity of cutting apart is n, is the bigger the better in theory, certainly will take into account file size and Password Length, also has the economy of transmission, the ability of service compute etc.
3. E103 chooses a random key of a kind of cryptographic algorithm and corresponding this algorithm at random to file or communication message fragment, to each fragment, uses cryptographic algorithm and the key chosen to be encrypted.
The form of each fragment:
1) 2 short <=65536 of length
2) cryptographic algorithm is selected 1 <=256
3) key is selected 1 <=256
4) adopt 2) algorithm and 3) file or the communication message fragment of a secret key encryption be encrypted
4. E104 obtains the encrypted result of each fragment
5. E105 is a complete encrypted packet by these segment condenses.
Shown in Figure 4, a kind of method of using many cryptographic algorithms and many key-pair files or communication message to be encrypted, the decrypting process of file or communication message:
1. D101 has encrypt file or encrypts message.
2. D102 processes one by one to the file of encrypting or the encrypted segments of communication message.
3. D103 is according to selected cryptographic algorithm and each fragment of secret key decryption.
4. D104 obtains all deciphering fragments
5. D105 dresses up complete file or communication message by these deciphering slice groups.
By above scheme, can find out, a kind of method of using many cryptographic algorithms and many key-pair files or communication message to be encrypted of the present invention, use many cryptographic algorithms and many key-pair files or communication message to be encrypted, the file of single password algorithm and single secret key encryption or the possibility that communication message is broken have effectively been prevented, realize in actual use easily, and select after highly reliable cryptographic algorithm, very safe and reliable to the encryption of file or communication message, and along with the continuous lifting of current computing capability, encryption and decryption speed can meet requirement used in everyday completely.At numerous areas such as adding Miyun storage, email encryption, data communication, there is wide future develop.
Claims (8)
1. a method of using many cryptographic algorithms and many key-pair files or communication message to be encrypted, is characterized in that, comprises the following steps:
Use has a kind of cryptographic algorithm and n key at least, or n kind cryptographic algorithm, n >=2 wherein, with at least one key of every kind of cryptographic algorithm of correspondence, or n kind cryptographic algorithm, wherein n >=2, k the key with every kind of cryptographic algorithm of correspondence, wherein k >=2, are divided into n fragment by file or communication message, and a key each fragment being chosen at random to a cryptographic algorithm and corresponding cryptographic algorithm is encrypted; Then assemble this n encrypted segments, form file and the communication message bag encrypted.
2. a kind of method of using many cryptographic algorithms and many key-pair files or communication message to be encrypted as claimed in claim 1, it is characterized in that, be not only and be limited in the encryption of file or communication message, also comprise and use other type of many cryptographic algorithms and many encryption key methods encryption and decryption.
3. a kind of method of using many cryptographic algorithms and many key-pair files or communication message to be encrypted as claimed in claim 1 or 2, is characterized in that, the method for using software enciphering method to be encrypted file or communication message fragment.
4. a kind of method of using many cryptographic algorithms and many key-pair files or communication message to be encrypted as claimed in claim 1 or 2, it is characterized in that, the method of using hardware encipher method to be encrypted file or communication message fragment, described hardware device comprises: usbkey, sim card, IC-card, contactless smart card, encryption equipment etc.
5. a kind of method of using many cryptographic algorithms and many key-pair files or communication message to be encrypted as claimed in claim 1 or 2, is characterized in that, mixes software enciphering method and the hardware encipher method used.
6. a kind of method of using many cryptographic algorithms and many key-pair files or communication message to be encrypted as claimed in claim 1 or 2, is characterized in that the method for using many cryptographic algorithms and single key-pair file or communication message fragment to be encrypted.
7. a kind of method of using many cryptographic algorithms and many key-pair files or communication message to be encrypted as claimed in claim 1 or 2, is characterized in that, the method for using single password algorithm and many key-pair files or communication message fragment to be encrypted.
8. a kind of method of using many cryptographic algorithms and many key-pair files or communication message to be encrypted as claimed in claim 1 or 2, it is characterized in that, n fragment of encrypt file or coded communication message stored or resolved on uniform machinery or different machines, to reach the object of safe storage and parsing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310284473.4A CN104038339A (en) | 2013-03-04 | 2013-07-09 | Method for encrypting file or communication message by use of multiple password algorithms and multiple keys |
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310066425.8 | 2013-03-04 | ||
CN201310066425 | 2013-03-04 | ||
CN201310284473.4A CN104038339A (en) | 2013-03-04 | 2013-07-09 | Method for encrypting file or communication message by use of multiple password algorithms and multiple keys |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104038339A true CN104038339A (en) | 2014-09-10 |
Family
ID=51468937
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310284473.4A Pending CN104038339A (en) | 2013-03-04 | 2013-07-09 | Method for encrypting file or communication message by use of multiple password algorithms and multiple keys |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104038339A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104009838A (en) * | 2014-05-07 | 2014-08-27 | 上海文广互动电视有限公司 | Multimedia content piecewise encryption method |
CN105975813A (en) * | 2016-05-19 | 2016-09-28 | 福建创意嘉和软件有限公司 | Random encryption method and device for software authorization |
CN106022014A (en) * | 2016-05-16 | 2016-10-12 | 武汉斗鱼网络科技有限公司 | Packing method and unpacking method for resource files |
CN107710671A (en) * | 2015-04-30 | 2018-02-16 | 德山真旭 | Terminal installation and computer program |
CN110611568A (en) * | 2019-09-20 | 2019-12-24 | 天翼电子商务有限公司 | Dynamic encryption and decryption method, device and equipment based on multiple encryption and decryption algorithms |
CN112543091A (en) * | 2020-10-26 | 2021-03-23 | 中国人民武装警察部队工程大学 | Multi-key fully homomorphic encryption method with fixed ciphertext length |
WO2021249028A1 (en) * | 2020-06-08 | 2021-12-16 | 华为技术有限公司 | Data encryption or decryption method, apparatus and system |
CN114329104A (en) * | 2021-12-23 | 2022-04-12 | 珠海市鸿瑞信息技术股份有限公司 | Message encryption transmission system and method based on electric power distribution |
CN114553597A (en) * | 2022-04-22 | 2022-05-27 | 中国长江三峡集团有限公司 | Power equipment operation and maintenance data transmission management method and system |
CN115378664A (en) * | 2022-08-02 | 2022-11-22 | 深圳市乐凡信息科技有限公司 | Data encryption transmission method, device, equipment and storage medium |
-
2013
- 2013-07-09 CN CN201310284473.4A patent/CN104038339A/en active Pending
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104009838A (en) * | 2014-05-07 | 2014-08-27 | 上海文广互动电视有限公司 | Multimedia content piecewise encryption method |
CN107710671A (en) * | 2015-04-30 | 2018-02-16 | 德山真旭 | Terminal installation and computer program |
CN107710671B (en) * | 2015-04-30 | 2020-06-12 | 德山真旭 | Terminal device and computer-readable storage medium |
CN106022014A (en) * | 2016-05-16 | 2016-10-12 | 武汉斗鱼网络科技有限公司 | Packing method and unpacking method for resource files |
CN105975813A (en) * | 2016-05-19 | 2016-09-28 | 福建创意嘉和软件有限公司 | Random encryption method and device for software authorization |
CN110611568A (en) * | 2019-09-20 | 2019-12-24 | 天翼电子商务有限公司 | Dynamic encryption and decryption method, device and equipment based on multiple encryption and decryption algorithms |
WO2021249028A1 (en) * | 2020-06-08 | 2021-12-16 | 华为技术有限公司 | Data encryption or decryption method, apparatus and system |
CN112543091A (en) * | 2020-10-26 | 2021-03-23 | 中国人民武装警察部队工程大学 | Multi-key fully homomorphic encryption method with fixed ciphertext length |
CN112543091B (en) * | 2020-10-26 | 2022-10-14 | 中国人民武装警察部队工程大学 | Multi-key fully homomorphic encryption method with fixed ciphertext length |
CN114329104A (en) * | 2021-12-23 | 2022-04-12 | 珠海市鸿瑞信息技术股份有限公司 | Message encryption transmission system and method based on electric power distribution |
CN114329104B (en) * | 2021-12-23 | 2022-07-08 | 珠海市鸿瑞信息技术股份有限公司 | Message encryption transmission system and method based on electric power distribution |
CN114553597A (en) * | 2022-04-22 | 2022-05-27 | 中国长江三峡集团有限公司 | Power equipment operation and maintenance data transmission management method and system |
CN114553597B (en) * | 2022-04-22 | 2022-07-19 | 中国长江三峡集团有限公司 | Power equipment operation and maintenance data transmission management method and system |
CN115378664A (en) * | 2022-08-02 | 2022-11-22 | 深圳市乐凡信息科技有限公司 | Data encryption transmission method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104038339A (en) | Method for encrypting file or communication message by use of multiple password algorithms and multiple keys | |
CN102546181B (en) | Cloud storage encrypting and deciphering method based on secret key pool | |
CN102664740B (en) | Remote-authorization-based bidding document encryption and decryption method | |
IL261137A (en) | System and method for performing secure communications | |
CN102594548B (en) | Method capable of achieving data sectional encryption and decryption | |
CN103248650B (en) | A kind of document down loading method and system | |
CN102710414B (en) | Randomized document block encryption method | |
CN101605326B (en) | Method for encrypting and decrypting mobile terminal network locking/card locking unlock code | |
CN103716157A (en) | Grouped multiple-key encryption method and grouped multiple-key encryption device | |
CN101859351B (en) | System and method for ensuring safe read of data stored in storage | |
CN103457727A (en) | Method, device and system for processing media data | |
CN103634266B (en) | A bidirectional authentication method for a server and a terminal | |
CN104993928A (en) | Unmanned plane safe communication link encryption method based on real-time embedded control system | |
CN109005027B (en) | Random data encryption and decryption method, device and system | |
CN104202158A (en) | Symmetric and asymmetric hybrid data encryption/decryption method based on cloud computing | |
CN103916248A (en) | Fully homomorphic encryption public key space compression method | |
CN104396182A (en) | Method of encrypting data | |
CN106330432A (en) | DES encryption algorithm based encryption method | |
CN108111308A (en) | One kind is based on the encrypted industry internet communication encryption method of dynamic random | |
CN103338106A (en) | Methods and devices for ciphering and deciphering file | |
CN102594549A (en) | Multistage data encryption and decryption methods | |
CN103501220B (en) | encryption method and device | |
CN104113410A (en) | Method and device for data encryption transmission based on multi-table encryption method | |
CN102624892A (en) | Method for preventing plug-in client from simulating hyper text transmission protocol (HTTP) request | |
CN111314270B (en) | Data encryption and decryption method based on validity period uniform distribution symmetric algorithm |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20140910 |