CN105763315A - Data encryption and decryption method and apparatus thereof, and communication system - Google Patents

Data encryption and decryption method and apparatus thereof, and communication system Download PDF

Info

Publication number
CN105763315A
CN105763315A CN201410782683.0A CN201410782683A CN105763315A CN 105763315 A CN105763315 A CN 105763315A CN 201410782683 A CN201410782683 A CN 201410782683A CN 105763315 A CN105763315 A CN 105763315A
Authority
CN
China
Prior art keywords
data
aes
encrypted
key
encryption
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
CN201410782683.0A
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.)
Spreadtrum Communications (shenzhen) Co Ltd
Original Assignee
Spreadtrum Communications (shenzhen) 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 Spreadtrum Communications (shenzhen) Co Ltd filed Critical Spreadtrum Communications (shenzhen) Co Ltd
Priority to CN201410782683.0A priority Critical patent/CN105763315A/en
Publication of CN105763315A publication Critical patent/CN105763315A/en
Pending legal-status Critical Current

Links

Landscapes

  • Storage Device Security (AREA)

Abstract

A data encryption and decryption method and an apparatus thereof, and a communication system are disclosed. The data encryption method comprises the following steps of segmenting data to be encrypted and generating a segmented data; aiming at the data to be encrypted, randomly selecting an encryption algorithm; randomly generating a secret key corresponding to the encryption algorithm; using the encryption algorithm and the secret key to encrypt the data to be encrypted so as to acquire the encrypted segmented data; packing the encrypted segmented data to acquire an encrypted segmented data block; and combining and packing the encrypted segmented data block to acquire a final cryptograph. By using the encryption method, cracking difficulty is increased and safety of the data encryption method is increased.

Description

The method of data encryption and decryption, device and communication system
Technical field
The present invention relates to a kind of communication system, particularly relate to a kind of method of data encryption and decryption, device and communication system.
Background technology
Data encryption, also known as cryptography, refers to will expressly convert ciphertext to by AES and encryption key, and deciphering is then reverse by decipherment algorithm and decruption key, ciphertext is reduced into original text.Data encryption utilizes cryptographic technique that information is encrypted, it is achieved information hiding, protects information security.
Evolution along with AES, data are carried out block encryption by block encryption algorithm, add data deciphering difficulty, but, take the AES fixed and key to be encrypted, after determining AES and key, expressly form corresponding relation with password, the violence modes such as the method for exhaustion can be adopted to crack, and degree of safety has much room for improvement.
Summary of the invention
The problem that the embodiment of the present invention solves is how to improve the safety of AES.
For solving the problems referred to above, the embodiment of the present invention provides a kind of data ciphering method, and described method includes:
Be-encrypted data is carried out segmentation, produces segment data;
AES is randomly choosed for described be-encrypted data;
The key that stochastic generation is corresponding with described AES;
Be-encrypted data described in described AES and double secret key is utilized to be encrypted, the segment data after being encrypted;
Segment data after described encryption is packed, the segmented data block after being encrypted;
Segmented data block after the combination described encryption of packing, obtains final ciphertext.
Alternatively, described be-encrypted data is carried out segmentation include: be divided into one section to be-encrypted data described in major general.
Alternatively, described AES includes the AES of system default and user-defined AES.
Alternatively, described user-defined AES dynamic extension.
Alternatively, randomly choose AES and include: described AES is numbered, will round the current time in system, divided by the number of described AES, select the AES of gained remainder reference numeral.
Alternatively, the key that stochastic generation is corresponding with described AES includes: be numbered by all key generators corresponding for described AES, store the member function integer array to AES, key generator is randomly choosed according to AES, after initialization key maker, counterpart keys described in stochastic generation.
Alternatively, the AES for encrypting each segment data randomly chooses respectively.
Alternatively, described AES also includes the segmented data block after described encryption is encrypted, and generates the segmented data block after the encryption updated.
Alternatively, described segmented data block after described encryption is encrypted before randomly choose AES, generate the key corresponding with described AES.
Alternatively, described to be undertaken packing by the segment data after described encryption be the length of the segment data adding frame head, the numbering of selected AES, key data district, the length of described segment data and described encryption before segment data after described encryption, adds postamble after the segment data of described encryption.
Alternatively, add described key data district and be added to a few key data section, the corresponding described key data section of described segment data each cipher mode adoptable.
Alternatively, add described key data section to include: add described counterpart keys type, described counterpart keys length and described counterpart keys content.
Alternatively, the segmented data block after the combination described encryption of packing includes: combine the segmented data block after described encryption, adds data head before the segmented data block after described encryption.
Alternatively, the segmented data block after combining described encryption is the segmented data block after at least adding an encryption.
Alternatively, described interpolation data head includes: add frame head;Add the version number of described encryption method;Add the number of the segmented data block after described encryption;Add the length list of the segmented data block after described encryption;Add postamble.
For solving the problems referred to above, the embodiment of the present invention additionally provides a kind of encryption device, including:
Data packet units, carries out segmentation by be-encrypted data, produces segment data;
AES selects unit, randomly chooses AES for described be-encrypted data;
Random key generates unit, the key that stochastic generation is corresponding with described AES;
DEU data encryption unit, utilizes described AES and double secret key that described be-encrypted data is encrypted, the segment data after being encrypted;
Segment data packaged unit, packs the segment data after described encryption, the segmented data block after being encrypted;
Segmented data block packaged unit, the segmented data block after the combination described encryption of packing, obtain final ciphertext.
Accordingly, the embodiment of the present invention also provides for a kind of decryption method, including:
Data to be decrypted are carried out segmentation, produces segmentation ciphertext to be decrypted;
Determine the AES corresponding with described data to be decrypted and the key corresponding with described AES;
Utilize segmentation ciphertext to be decrypted described in the decipherment algorithm and described double secret key that described AES is corresponding to be decrypted, obtain former segment data;
Combine each section of described former segment data, obtain former data.
Optionally it is determined that the method for described AES includes the numbering resolving described AES.
Alternatively, described segmentation ciphertext to be decrypted is decrypted and also includes repeatedly deciphering, namely every time after deciphering to obtaining data frame head, trailer sections detects, if meeting the form of the frame head of segment data ciphertext, postamble, be then again decrypted.
The embodiment of the present invention also provides for a kind of deciphering device, including:
Data to be decrypted are carried out segmentation by data packet units, produce segmented data block to be decrypted;
AES and key determine unit, it is determined that the AES corresponding with described segmented data block to be decrypted and the key corresponding with described AES;
Decryption unit, utilizes segmentation ciphertext to be decrypted described in the decipherment algorithm and described double secret key that described AES is corresponding to be decrypted, obtains former segment data;
Assembled unit, combines described former segment data, obtains former data.
Alternatively, described decryption unit also includes deciphering judging unit, every time after deciphering to obtaining data frame head, trailer sections detects, if meeting the form of the frame head of segment data ciphertext, postamble, be then again decrypted.
The embodiment of the present invention also provides for a kind of communication system, including:
Data encryption end, for be-encrypted data carries out segmentation, produces segment data;AES is randomly choosed for described be-encrypted data;The key that stochastic generation is corresponding with described AES;Be-encrypted data described in described AES and double secret key is utilized to be encrypted, the segment data after being encrypted;Segment data after described encryption is packed, the segmented data block after being encrypted;Segmented data block after the combination described encryption of packing, obtains final ciphertext;
Data deciphering end, for data to be decrypted are carried out segmentation, produces segmented data block to be decrypted;Determine the AES corresponding with described segmented data block to be decrypted and the key corresponding with described AES;Utilize segmentation ciphertext to be decrypted described in the decipherment algorithm and described double secret key that described AES is corresponding to be decrypted, obtain former segment data;Combine each section of described former segment data, obtain former data.
Alternatively, described system is applied to protect the data that the data being suitable to network transmission and local disk preserve.
The embodiment of the present invention also provides for another kind of data ciphering method, including:
For be-encrypted data, randomly choose AES;
Generate the key corresponding with described AES;
Be-encrypted data described in described algorithm to be encrypted and double secret key is used to be encrypted.
The embodiment of the present invention also provides for another kind of encryption device, including:
AES selects unit, for be-encrypted data, randomly chooses AES;
Random key generates unit, generates the random key corresponding with described AES;
Ciphering unit, uses be-encrypted data described in described algorithm to be encrypted and double secret key to be encrypted.
Compared with prior art, the technical scheme of the embodiment of the present invention has the advantage that
By be-encrypted data is carried out segmentation, produce segment data, AES is randomly choosed for be-encrypted data, the key that stochastic generation is corresponding with described AES, the AES for encrypting described be-encrypted data and key is made to have randomness, cracking difficulty thus increasing, improving the safety of described data ciphering method.
Further, AES for encrypting described be-encrypted data includes the AES of system default and user-defined AES, described user-defined AES dynamic extends, the range of choice making described AES expands, increase the randomness of described AES, thus improving the safety of described data ciphering method further.
Further, by randomly choosing the key generator corresponding with described AES, initialization key maker, the mode of stochastic generation key produces the key of described correspondence, the key making described correspondence has randomness, cracking difficulty thus increasing, improving the safety of described data ciphering method.
Further, the AES for encrypting each segment data randomly chooses respectively so that the AES for encrypting every section of segment data is respectively provided with randomness, cracks difficulty thus increasing, and improves the safety of described data ciphering method further.
Further, it is encrypted by the segmented data block after utilizing encryption described in the AES again randomly choosed and double secret key, generate the segmented data block after the encryption updated, make described be-encrypted data by multi-layer security, cracking difficulty thus increasing, improving the safety of described data ciphering method further.
Accompanying drawing explanation
Fig. 1 is the flow chart of a kind of data ciphering method in the embodiment of the present invention;
Fig. 2 is a kind of data encryption device structure chart in the embodiment of the present invention;
Fig. 3 is the flow chart of a kind of data decryption method in the embodiment of the present invention;
Fig. 4 is a kind of data decryption apparatus structure chart in the embodiment of the present invention;
Fig. 5 is a kind of communication system schematic diagram in the embodiment of the present invention;
Fig. 6 is the flow chart of another kind of data ciphering method in the embodiment of the present invention;
Fig. 7 is another kind of data encryption device structure chart in the embodiment of the present invention.
Detailed description of the invention
As it was previously stated, take the AES fixed and key to be encrypted, after determining AES and key, expressly form corresponding relation with password, it is possible to adopting the violence modes such as the method for exhaustion to crack, degree of safety has much room for improvement.
For this problem, the embodiment of the present invention is by carrying out segmentation by be-encrypted data, produce segment data, AES is randomly choosed for be-encrypted data, the key that stochastic generation is corresponding with described AES, make the AES for encrypting described be-encrypted data and key have randomness, cracking difficulty thus increasing, improving the safety of described data ciphering method.
Understandable for enabling the above-mentioned purpose of the present invention, feature and advantage to become apparent from, below in conjunction with accompanying drawing, specific embodiments of the invention are described in detail.
With reference to the flow chart of the data ciphering method shown in Fig. 1, it is described in detail below by way of concrete steps.
S11, carries out segmentation by be-encrypted data, produces segment data.
In being embodied as, it is possible to be-encrypted data is divided into multistage, it is also possible to using be-encrypted data as one section.
S12, randomly chooses AES for described be-encrypted data.
In being embodied as, AES for encrypting described be-encrypted data can include the AES of system default and user-defined AES, described user-defined AES dynamic extends, the range of choice making described AES expands, increase the randomness of described AES, thus improving the safety of described data ciphering method further.
In the present invention one specific embodiment, user-defined AES, use xml to carry out configuration and read, this xml deposits under etc/ catalogue, resolve xml and obtain the node of Custom Encryption algorithm, after class instantiation being obtained algorithm instance by reflection, join in AES container.If follow-up user to extend AES, only need to writing AES, and increase algorithm node configuration item in this ect/encryto.xml, system just can read all AESs.
In another specific embodiment of the present invention, user, by being numbered by AES, will round the current time in system, divided by the mode of the number of AES, selects the AES of gained remainder reference numeral, thus ensureing the randomness of selected AES.
S13, the key that stochastic generation is corresponding with described AES.
In being embodied as, user can by can key generator be numbered, it is stored in the member function integer array of the AES randomly choosed, the key generator of energy is randomly choosed according to AES, after initialization key maker, the key that stochastic generation is corresponding with the AES randomly choosed.Owing to selected key has randomness so that cracking difficulty increases, thus improving the safety of data ciphering method further.
S14, utilizes be-encrypted data described in described AES and double secret key to be encrypted, the segment data after being encrypted.
In being embodied as, when every section of segment data is encrypted, AES can be randomly choosed respectively, the key generator of energy is randomly choosed respectively according to selected AES, Initialize chosen key generator, obtain random key, utilize the AES randomly choosed and key respectively every section of segment data to be encrypted.AES and key owing to using when every section of segment data is encrypted all randomly choose so that the difficulty cracked increases, thus the safety of data ciphering method can be further enhanced.
In being embodied as, it is also possible to using the segmented data block after encryption as be-encrypted data, being again encrypted, generate the segmented data block after the encryption updated, the number of times that the segmented data block after encryption is encrypted can be determined according to actual needs by user.
In the present invention one specific embodiment, every time when the segmented data block after encryption is encrypted, the encryption method all randomly choosed, the key generator of energy is randomly choosed respectively according to selected AES, Initialize chosen key generator, obtain random key, utilize the segment data after the AES randomly choosed and key pair encryption to be encrypted.Owing to be-encrypted data by multi-layer security, and can be used for the encryption method encrypted and key is respectively provided with randomness every time so that crack difficulty and be greatly increased, thus improve the safety of encryption method.
S15, packs the segment data after described encryption, the segmented data block after being encrypted.
In being embodied as, can by adding the length of the segment data of frame head, the numbering of selected AES, key data district, the length of described segment data and described encryption before segment data after encryption, the mode adding postamble after the segment data of described encryption is packed, the segmented data block after being encrypted.
In being embodied as, add key data district and can pass through to add the realization of at least one key data section, all corresponding key data section of each cipher mode that segment data can adopt.
In the present invention one specific embodiment, add key data section and realize by adding the Key Tpe corresponding with the encryption method of encryption segment data use, corresponding key length and corresponding cipher key content.
S16, the segmented data block after the combination described encryption of packing, obtain final ciphertext.
In being embodied as, it is possible to by adding the segmented data block after at least one encryption, add the mode of data head before segmented data block after encryption and be combined packing.
In the present invention one specific embodiment, by adding frame head, add the version number of described encryption method, add the number of the segmented data block after described encryption, add the length list of the segmented data block after described encryption, add the mode of postamble, the interpolation of complete paired data head.
For making those skilled in the art be more fully understood that and realizing this encryption method, referring to accompanying drawing, by specific embodiment, the encryption device that can realize above-mentioned encryption method is described in detail.
With reference to encryption device structural representation in the one embodiment of the invention shown in Fig. 2, encryption device includes: data packet units 21, AES select unit 22, random key to generate unit 23, DEU data encryption unit 24, segment data packaged unit 25 and segmented data block packaged unit 26.Wherein:
Data packet units 21, carries out segmentation by be-encrypted data, produces segment data;
AES selects unit 22, randomly chooses AES for described be-encrypted data;
Random key generates unit 23, the key that stochastic generation is corresponding with described AES;
DEU data encryption unit 24, utilizes described AES and double secret key that described be-encrypted data is encrypted, the segment data after being encrypted;
Segment data packaged unit 25, packs the segment data after described encryption, the segmented data block after being encrypted;
Segmented data block packaged unit 26, the segmented data block after the combination described encryption of packing, obtain final ciphertext.
Except the embodiment of data ciphering method, the embodiment of the present invention also provides for corresponding data decryption method, with reference to the flow chart of the data ciphering method shown in Fig. 3, is described in detail below by way of concrete steps.
Data to be decrypted are carried out segmentation by S31, produce segmented data block to be decrypted.
S32, it is determined that the AES corresponding with described data to be decrypted and the key corresponding with described AES.
In the present invention one specific embodiment, when user is by resolving segment data to be decrypted encryption, the numbering of AES used determines described AES.
S33, utilizes segmentation ciphertext to be decrypted described in the decipherment algorithm and described double secret key that described AES is corresponding to be decrypted, obtains former segment data.
In being embodied as, described segmentation ciphertext to be decrypted is decrypted and includes repeatedly deciphering, namely every time after deciphering to obtaining data frame head, trailer sections detects, if meeting the form of the frame head of segment data ciphertext, postamble, then again it is decrypted, until obtaining former segment data.
S34, combines each section of described former segment data, obtains former data.
For making those skilled in the art be more fully understood that and realizing this decryption method, referring to accompanying drawing 4, by specific embodiment, the deciphering device that can realize above-mentioned decryption method is described in detail.
With reference to deciphering close apparatus structure schematic diagram in the one embodiment of the invention shown in Fig. 4, deciphering device includes:
Data to be decrypted are carried out segmentation by data packet units 41, produce segmentation ciphertext to be decrypted;
AES and key determine unit 42, it is determined that the AES corresponding with described data to be decrypted and the key corresponding with described AES;
Decryption unit 43, utilizes segmentation ciphertext to be decrypted described in the decipherment algorithm and described double secret key that described AES is corresponding to be decrypted, obtains former segment data;
Assembled unit 44, combines described former segment data, obtains former data.
In being embodied as, decryption unit 43 may also include deciphering judging unit, every time after deciphering to obtaining data frame head, trailer sections detects, if meeting the form of the frame head of segment data ciphertext, postamble, be then again decrypted.
The embodiment of the present invention also provides for a kind of communication system, with reference to the specific embodiment shown in accompanying drawing 5, it is possible to achieve the communication system of said method includes data encryption end 51 and data decrypting end 52:
Data encryption end 51, for be-encrypted data carries out segmentation, produces segment data;AES is randomly choosed for described be-encrypted data;The key that stochastic generation is corresponding with described AES;Be-encrypted data described in described AES and double secret key is utilized to be encrypted, the segment data after being encrypted;Segment data after described encryption is packed, the segmented data block after being encrypted;Segmented data block after the combination described encryption of packing, obtains final ciphertext.
Data deciphering end 52, for data to be decrypted are carried out segmentation, produces segmentation ciphertext to be decrypted;Determine the AES corresponding with described data to be decrypted and the key corresponding with described AES;Utilize segmentation ciphertext to be decrypted described in the decipherment algorithm and described double secret key that described AES is corresponding to be decrypted, obtain former segment data;Combine each section of described former segment data, obtain former data.
In being embodied as, described system is applied to the data protecting the data being suitable to network transmission and local disk to preserve.
The embodiment of the present invention also provides for another kind of encryption method, as shown in Figure 6, comprises the steps:
S61, for be-encrypted data, randomly chooses AES;
S62, generates the key corresponding with described AES;
S63, uses be-encrypted data described in described algorithm to be encrypted and double secret key to be encrypted.
For making those skilled in the art be more fully understood that and realizing described another kind of encryption method, referring to accompanying drawing 7, by specific embodiment, the encryption device that can realize above-mentioned encryption method is described in detail.
With reference to encryption device structural representation in the one embodiment of the invention shown in Fig. 7, deciphering device includes:
AES selects unit 71, for be-encrypted data, randomly chooses AES;
Random key generates unit 72, generates the random key corresponding with described AES;
Ciphering unit 73, uses be-encrypted data described in described algorithm to be encrypted and double secret key to be encrypted.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment can be by the hardware that program carrys out instruction relevant and completes, this program can be stored in a computer-readable recording medium, and storage medium may include that ROM, RAM, disk or CD etc..
Although present disclosure is as above, but the present invention is not limited to this.Any those skilled in the art, without departing from the spirit and scope of the present invention, all can make various changes or modifications, and therefore protection scope of the present invention should be as the criterion with claim limited range.

Claims (25)

1. a data ciphering method, it is characterised in that including:
Be-encrypted data is carried out segmentation, produces segment data;
AES is randomly choosed for described be-encrypted data;
The key that stochastic generation is corresponding with described AES;
Be-encrypted data described in described AES and double secret key is utilized to be encrypted, the segment data after being encrypted;
Segment data after described encryption is packed, the segmented data block after being encrypted;
Segmented data block after the combination described encryption of packing, obtains final ciphertext.
2. data ciphering method according to claim 1, it is characterised in that described be-encrypted data is carried out segmentation include: be divided into a section to be-encrypted data described in major general.
3. data ciphering method according to claim 1, it is characterised in that described AES includes the AES of system default and user-defined AES.
4. data ciphering method according to claim 3, it is characterised in that described user-defined AES dynamic extends.
5. data ciphering method according to claim 1, it is characterized in that, described in randomly choose AES and include: described AES is numbered, will round the current time in system, divided by the number of described AES, select the AES of gained remainder reference numeral.
6. data ciphering method according to claim 1, it is characterized in that, the key that stochastic generation is corresponding with described AES includes: be numbered by all key generators corresponding for described AES, store the member function integer array to described AES, key generator is randomly choosed according to AES, after initialization key maker, key corresponding described in stochastic generation.
7. data ciphering method according to claim 1, it is characterised in that the AES for encrypting each segment data randomly chooses respectively.
8. data ciphering method according to claim 1, it is characterised in that also include: the segmented data block after described encryption is encrypted, generates the segmented data block after the encryption updated.
9. data ciphering method according to claim 8, it is characterised in that described segmented data block after described encryption is encrypted before, also include: randomly choose AES, generate the key corresponding with the AES randomly choosed.
10. data ciphering method according to claim 1, it is characterized in that, described segment data after described encryption is carried out packing include: add the length of the segment data of frame head, the numbering of selected AES, key data district, the length of described segment data and described encryption before the segment data after described encryption, after the segment data of described encryption, add postamble.
11. data ciphering method according to claim 10, it is characterised in that add described key data district and be added to a few key data section, the corresponding described key data section of described segment data each cipher mode adoptable.
12. data ciphering method according to claim 11, it is characterised in that described interpolation described key data section includes: add the cipher key content of described counterpart keys type, described counterpart keys length and described correspondence.
13. data ciphering method according to claim 1, it is characterised in that the segmented data block after the described combination described encryption of packing includes:
Combine the segmented data block after described encryption;
Data head is added before segmented data block after described encryption.
14. data ciphering method according to claim 13, it is characterised in that the segmented data block after the described encryption of described combination is the segmented data block after at least adding an encryption.
15. data ciphering method according to claim 13, it is characterised in that described interpolation data head includes:
Add frame head;Add the version number of described encryption method;Add the number of the segmented data block after described encryption;Add the length list of the segmented data block after described encryption;Add postamble.
16. a data encryption device, it is characterised in that including:
Data packet units, carries out segmentation by be-encrypted data, produces segment data;
AES selects unit, randomly chooses AES for described be-encrypted data;
Random key generates unit, the key that stochastic generation is corresponding with described AES;
DEU data encryption unit, utilizes described AES and double secret key that described be-encrypted data is encrypted, the segment data after being encrypted;
Segment data packaged unit, packs the segment data after described encryption, the segmented data block after being encrypted;
Segmented data block packaged unit, the segmented data block after the combination described encryption of packing, obtain final ciphertext.
17. a decryption method, it is characterised in that including:
Data to be decrypted are carried out segmentation, produces segmented data block to be decrypted;
Determine the AES corresponding with described segmented data block to be decrypted and the key corresponding with described AES;
Utilize segmented data block to be decrypted described in the decipherment algorithm and described double secret key that described AES is corresponding to be decrypted, obtain former segment data;
Combine each section of described former segment data, obtain former data.
18. according to the decryption method that claim 17 is stated, it is characterised in that determine that the method for described AES includes: resolve the numbering of described AES.
19. according to the decryption method that claim 17 is stated, it is characterized in that, described described segmented data block to be decrypted is decrypted includes: repeatedly decipher, every time after deciphering to obtaining data frame head, trailer sections detects, if meeting the form of the frame head of segment data ciphertext, postamble, then again it is decrypted.
20. a deciphering device, it is characterised in that including:
Data to be decrypted are carried out segmentation by data packet units, produce segmented data block to be decrypted;
AES and key determine unit, it is determined that the AES corresponding with described data to be decrypted and the key corresponding with described AES;
Decryption unit, utilizes segmented data block to be decrypted described in the decipherment algorithm and described double secret key that described AES is corresponding to be decrypted, obtains former segment data;
Assembled unit, combines described former segment data, obtains former data.
21. deciphering device according to claim 20, it is characterized in that, described decryption unit also includes deciphering judging unit, described deciphering judging unit be suitable to every time deciphering after to obtaining data frame head, trailer sections detects, if meeting the form of the frame head of segment data ciphertext, postamble, then again it is decrypted.
22. a communication system, it is characterised in that including:
Data encryption end, for be-encrypted data carries out segmentation, produces segment data;AES is randomly choosed for described be-encrypted data;The key that stochastic generation is corresponding with described AES;Be-encrypted data described in described AES and double secret key is utilized to be encrypted, the segment data after being encrypted;
Segment data after described encryption is packed, the segmented data block after being encrypted;Segmented data block after the combination described encryption of packing, obtains final ciphertext;
Data deciphering end, for data to be decrypted are carried out segmentation, produces segmented data block to be decrypted;Determine the AES corresponding with described data block to be decrypted and the key corresponding with described AES respectively;Utilize segmentation ciphertext to be decrypted described in the decipherment algorithm and described double secret key that described AES is corresponding to be decrypted, obtain former segment data;Combine each section of described former segment data, obtain former data.
23. according to the communication system described in right 22, it is characterised in that described system is applied to the data protecting the data being suitable to network transmission and local disk to preserve.
24. a data ciphering method, it is characterised in that including:
For be-encrypted data, randomly choose AES;
Generate the key corresponding with described AES;
Be-encrypted data described in described algorithm to be encrypted and double secret key is used to be encrypted.
25. a data encryption device, it is characterised in that including:
AES selects unit, for be-encrypted data, randomly chooses AES;
Random key generates unit, generates the random key corresponding with described AES;
Ciphering unit, uses be-encrypted data described in described algorithm to be encrypted and double secret key to be encrypted.
CN201410782683.0A 2014-12-16 2014-12-16 Data encryption and decryption method and apparatus thereof, and communication system Pending CN105763315A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410782683.0A CN105763315A (en) 2014-12-16 2014-12-16 Data encryption and decryption method and apparatus thereof, and communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410782683.0A CN105763315A (en) 2014-12-16 2014-12-16 Data encryption and decryption method and apparatus thereof, and communication system

Publications (1)

Publication Number Publication Date
CN105763315A true CN105763315A (en) 2016-07-13

Family

ID=56337159

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410782683.0A Pending CN105763315A (en) 2014-12-16 2014-12-16 Data encryption and decryption method and apparatus thereof, and communication system

Country Status (1)

Country Link
CN (1) CN105763315A (en)

Cited By (37)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106788982A (en) * 2017-02-22 2017-05-31 郑州云海信息技术有限公司 A kind of sectional encryption transmission method and device
CN106851339A (en) * 2017-01-03 2017-06-13 青岛海信电器股份有限公司 The treating method and apparatus of data encryption, the treating method and apparatus of data deciphering
CN106850597A (en) * 2017-01-18 2017-06-13 北京云知科技有限公司 A kind of distributed cryptographic method and system
CN106961324A (en) * 2017-04-19 2017-07-18 福建中金在线信息科技有限公司 A kind of message encryption method and device
CN107135213A (en) * 2017-04-27 2017-09-05 东华理工大学 Data communications method
CN107393277A (en) * 2017-08-28 2017-11-24 江苏赫奕科技有限公司 Method of sending and receiving based on low-power consumption safe mode des encryption rolling code
CN107733904A (en) * 2017-10-24 2018-02-23 郑州云海信息技术有限公司 A kind of method, apparatus and platform of virtual-machine data encryption and decryption
CN107908931A (en) * 2017-11-16 2018-04-13 四川长虹电器股份有限公司 Digital television software mixing verification encryption method
CN108632296A (en) * 2018-05-17 2018-10-09 中体彩科技发展有限公司 A kind of dynamic encryption and decryption method of network communication
CN108809940A (en) * 2018-05-04 2018-11-13 四川理工学院 Network system server interacts encryption method with client
WO2018205445A1 (en) * 2017-05-06 2018-11-15 深圳市前海安测信息技术有限公司 System and method for encrypting and transmitting medical data
CN108833092A (en) * 2018-06-13 2018-11-16 无锡隆玛科技股份有限公司 Dual encryption communication means for photovoltaic monitoring management system
CN108960385A (en) * 2018-06-29 2018-12-07 苏州酷豆物联科技有限公司 Two dimensional code generation and verification method and system based on the encryption of multiple code key
CN108989324A (en) * 2018-08-02 2018-12-11 泉州禾逸电子有限公司 A kind of enciphered data transmission method
CN109241760A (en) * 2018-09-28 2019-01-18 北京北信源信息安全技术有限公司 Data ciphering method, decryption method, encryption device and decryption device
CN109391936A (en) * 2018-09-19 2019-02-26 四川长虹电器股份有限公司 A kind of method of OTA upgrade package encryption downloading
CN109617867A (en) * 2018-12-04 2019-04-12 海南高信通科技有限公司 A kind of Intelligent gateway system for home equipment control
CN109635573A (en) * 2018-11-12 2019-04-16 北京海泰方圆科技股份有限公司 System, method, apparatus, electronic equipment and the medium of data distribution formula encryption and decryption
CN109688131A (en) * 2018-12-25 2019-04-26 恒宝股份有限公司 A kind of data transmission method, device and system
CN109753010A (en) * 2019-01-15 2019-05-14 江苏东方赛光电有限公司 A kind of real-time level monitoring data acquisition early warning system
CN109753009A (en) * 2019-01-15 2019-05-14 江苏东方赛光电有限公司 A kind of level monitoring online data management system
CN109995508A (en) * 2019-04-30 2019-07-09 上海安路信息科技有限公司 A kind of ciphering and deciphering device and method of FPGA code stream
CN110035069A (en) * 2019-03-15 2019-07-19 河南高通物联网有限公司 A kind of Internet of Things information safety protecting method
CN110474693A (en) * 2019-08-20 2019-11-19 武汉飞沃科技有限公司 A kind of optical mode block encryption method, optical mode block identifying method and identification device
CN110493189A (en) * 2019-07-12 2019-11-22 深圳壹账通智能科技有限公司 Insurance data acquisition methods, device and storage medium, server
CN110493265A (en) * 2019-09-18 2019-11-22 珠海格力电器股份有限公司 The method and storage medium of encryption data
CN110516455A (en) * 2019-08-16 2019-11-29 青岛大快搜索计算技术股份有限公司 A kind of method of source of tax revenue data encryption processing
CN111596938A (en) * 2020-05-15 2020-08-28 青岛海米飞驰智能科技有限公司 Embedded equipment firmware safety upgrading method, system, terminal and storage medium
CN111932752A (en) * 2020-07-09 2020-11-13 腾讯科技(深圳)有限公司 Remote control method and system of access control equipment and storage medium
CN112165443A (en) * 2020-08-01 2021-01-01 广东电网有限责任公司广州供电局 Multi-key information encryption and decryption method and device and storage medium
CN112398873A (en) * 2020-12-03 2021-02-23 广东博智林机器人有限公司 Information encryption and decryption method and device
CN112804214A (en) * 2020-12-31 2021-05-14 四川瑞霆电力科技有限公司 Perception layer data secure access method and system based on intelligent Internet of things
CN113254974A (en) * 2021-06-11 2021-08-13 山东广鹏信息科技有限公司 Information security encryption method and device
CN113938270A (en) * 2021-12-17 2022-01-14 北京华云安信息技术有限公司 Data encryption method and device capable of flexibly reducing complexity
CN114189372A (en) * 2021-12-01 2022-03-15 京微齐力(深圳)科技有限公司 Multi-cipher segmentation type decryption method and device
CN114244788A (en) * 2022-02-25 2022-03-25 广州锦行网络科技有限公司 Data response method, device and system
CN114491589A (en) * 2022-01-17 2022-05-13 深圳市显控科技股份有限公司 Chip encryption method and device and chip verification method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101488860A (en) * 2009-02-20 2009-07-22 四川长虹电器股份有限公司 File ciphering, deciphering method
CN102594548A (en) * 2012-03-22 2012-07-18 山东泰信电子有限公司 Method capable of achieving data sectional encryption and decryption
CN102710414A (en) * 2012-05-30 2012-10-03 中国电力科学研究院 Randomized document block encryption method
CN103345609A (en) * 2013-06-06 2013-10-09 深圳市大成天下信息技术有限公司 Method and device for text encryption and decryption

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101488860A (en) * 2009-02-20 2009-07-22 四川长虹电器股份有限公司 File ciphering, deciphering method
CN102594548A (en) * 2012-03-22 2012-07-18 山东泰信电子有限公司 Method capable of achieving data sectional encryption and decryption
CN102710414A (en) * 2012-05-30 2012-10-03 中国电力科学研究院 Randomized document block encryption method
CN103345609A (en) * 2013-06-06 2013-10-09 深圳市大成天下信息技术有限公司 Method and device for text encryption and decryption

Cited By (46)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106851339A (en) * 2017-01-03 2017-06-13 青岛海信电器股份有限公司 The treating method and apparatus of data encryption, the treating method and apparatus of data deciphering
CN106850597A (en) * 2017-01-18 2017-06-13 北京云知科技有限公司 A kind of distributed cryptographic method and system
CN106788982A (en) * 2017-02-22 2017-05-31 郑州云海信息技术有限公司 A kind of sectional encryption transmission method and device
CN106961324A (en) * 2017-04-19 2017-07-18 福建中金在线信息科技有限公司 A kind of message encryption method and device
CN107135213A (en) * 2017-04-27 2017-09-05 东华理工大学 Data communications method
WO2018205445A1 (en) * 2017-05-06 2018-11-15 深圳市前海安测信息技术有限公司 System and method for encrypting and transmitting medical data
CN107393277A (en) * 2017-08-28 2017-11-24 江苏赫奕科技有限公司 Method of sending and receiving based on low-power consumption safe mode des encryption rolling code
CN107733904A (en) * 2017-10-24 2018-02-23 郑州云海信息技术有限公司 A kind of method, apparatus and platform of virtual-machine data encryption and decryption
CN107908931A (en) * 2017-11-16 2018-04-13 四川长虹电器股份有限公司 Digital television software mixing verification encryption method
CN107908931B (en) * 2017-11-16 2021-01-26 四川长虹电器股份有限公司 Digital television software mixed check encryption method
CN108809940A (en) * 2018-05-04 2018-11-13 四川理工学院 Network system server interacts encryption method with client
CN108632296A (en) * 2018-05-17 2018-10-09 中体彩科技发展有限公司 A kind of dynamic encryption and decryption method of network communication
CN108632296B (en) * 2018-05-17 2021-08-13 中体彩科技发展有限公司 Dynamic encryption and decryption method for network communication
CN108833092A (en) * 2018-06-13 2018-11-16 无锡隆玛科技股份有限公司 Dual encryption communication means for photovoltaic monitoring management system
CN108960385A (en) * 2018-06-29 2018-12-07 苏州酷豆物联科技有限公司 Two dimensional code generation and verification method and system based on the encryption of multiple code key
CN108989324A (en) * 2018-08-02 2018-12-11 泉州禾逸电子有限公司 A kind of enciphered data transmission method
CN109391936A (en) * 2018-09-19 2019-02-26 四川长虹电器股份有限公司 A kind of method of OTA upgrade package encryption downloading
CN109391936B (en) * 2018-09-19 2021-04-06 四川长虹电器股份有限公司 OTA upgrade package encryption downloading method
CN109241760A (en) * 2018-09-28 2019-01-18 北京北信源信息安全技术有限公司 Data ciphering method, decryption method, encryption device and decryption device
CN109635573A (en) * 2018-11-12 2019-04-16 北京海泰方圆科技股份有限公司 System, method, apparatus, electronic equipment and the medium of data distribution formula encryption and decryption
CN109635573B (en) * 2018-11-12 2019-12-06 北京海泰方圆科技股份有限公司 Data distributed encryption and decryption system, method, device, electronic equipment and medium
CN109617867A (en) * 2018-12-04 2019-04-12 海南高信通科技有限公司 A kind of Intelligent gateway system for home equipment control
CN109617867B (en) * 2018-12-04 2020-08-14 海南高信通科技有限公司 Intelligent gateway system for controlling household equipment
CN109688131A (en) * 2018-12-25 2019-04-26 恒宝股份有限公司 A kind of data transmission method, device and system
CN109753010A (en) * 2019-01-15 2019-05-14 江苏东方赛光电有限公司 A kind of real-time level monitoring data acquisition early warning system
CN109753009A (en) * 2019-01-15 2019-05-14 江苏东方赛光电有限公司 A kind of level monitoring online data management system
CN110035069A (en) * 2019-03-15 2019-07-19 河南高通物联网有限公司 A kind of Internet of Things information safety protecting method
CN110035069B (en) * 2019-03-15 2021-08-27 三亚好未来投资合伙企业(有限合伙) Internet of things information security protection method
CN109995508A (en) * 2019-04-30 2019-07-09 上海安路信息科技有限公司 A kind of ciphering and deciphering device and method of FPGA code stream
CN109995508B (en) * 2019-04-30 2021-02-02 上海安路信息科技有限公司 Encryption and decryption device and method for FPGA code stream
CN110493189A (en) * 2019-07-12 2019-11-22 深圳壹账通智能科技有限公司 Insurance data acquisition methods, device and storage medium, server
CN110516455A (en) * 2019-08-16 2019-11-29 青岛大快搜索计算技术股份有限公司 A kind of method of source of tax revenue data encryption processing
CN110474693A (en) * 2019-08-20 2019-11-19 武汉飞沃科技有限公司 A kind of optical mode block encryption method, optical mode block identifying method and identification device
CN110493265A (en) * 2019-09-18 2019-11-22 珠海格力电器股份有限公司 The method and storage medium of encryption data
CN111596938A (en) * 2020-05-15 2020-08-28 青岛海米飞驰智能科技有限公司 Embedded equipment firmware safety upgrading method, system, terminal and storage medium
CN111932752A (en) * 2020-07-09 2020-11-13 腾讯科技(深圳)有限公司 Remote control method and system of access control equipment and storage medium
CN111932752B (en) * 2020-07-09 2023-11-14 腾讯科技(深圳)有限公司 Remote control method, system and storage medium of access control equipment
CN112165443A (en) * 2020-08-01 2021-01-01 广东电网有限责任公司广州供电局 Multi-key information encryption and decryption method and device and storage medium
CN112398873A (en) * 2020-12-03 2021-02-23 广东博智林机器人有限公司 Information encryption and decryption method and device
CN112804214A (en) * 2020-12-31 2021-05-14 四川瑞霆电力科技有限公司 Perception layer data secure access method and system based on intelligent Internet of things
CN113254974B (en) * 2021-06-11 2022-07-08 山东广鹏信息科技有限公司 Information security encryption method and device
CN113254974A (en) * 2021-06-11 2021-08-13 山东广鹏信息科技有限公司 Information security encryption method and device
CN114189372A (en) * 2021-12-01 2022-03-15 京微齐力(深圳)科技有限公司 Multi-cipher segmentation type decryption method and device
CN113938270A (en) * 2021-12-17 2022-01-14 北京华云安信息技术有限公司 Data encryption method and device capable of flexibly reducing complexity
CN114491589A (en) * 2022-01-17 2022-05-13 深圳市显控科技股份有限公司 Chip encryption method and device and chip verification method and device
CN114244788A (en) * 2022-02-25 2022-03-25 广州锦行网络科技有限公司 Data response method, device and system

Similar Documents

Publication Publication Date Title
CN105763315A (en) Data encryption and decryption method and apparatus thereof, and communication system
Gueron et al. AES-GCM-SIV: Nonce misuse-resistant authenticated encryption
CN104022872B (en) Data encryption method
CN107086915B (en) Data transmission method, data sending end and data receiving end
EP2829010B1 (en) Updating key information
KR101847492B1 (en) Apparatus and method for data encryption, apparatus and method for data decryption
CN108667595A (en) A kind of compression encryption method of large data files
CN102437910A (en) Data encryption/decryption checking method and system
CN107135062A (en) A kind of encryption method of improved big file
CN102594548A (en) Method capable of achieving data sectional encryption and decryption
CN105406969A (en) Apparatus And Method For Data Encryption
CN104320393A (en) Effective attribute base agent re-encryption method capable of controlling re-encryption
CN104303453A (en) Encryption device, decryption device, encryption method, decryption method, and program
CN102355352A (en) Data confidentiality and integrity protection method
CN102546156A (en) Method, system and device for grouping encryption
KR20170097509A (en) Operation method based on white-box cryptography and security apparatus for performing the method
CN109614792A (en) A kind of hierarchial file structure key management method
CN101826961A (en) Method, device and system for data transmission encryption and decryption
CN102594549A (en) Multistage data encryption and decryption methods
Sharma et al. Analysis of AES Encryption with ECC
Madavi et al. Enhanced cloud security using cryptography and steganography techniques
KR20190020988A (en) Computer-executable lightweight white-box cryptographic method and apparatus thereof
JP5992651B2 (en) ENCRYPTION METHOD, PROGRAM, AND SYSTEM
CN102546152B (en) Method for achieving multi-stage encryption and decryption of data
CN102546151A (en) Data encryption and decryption method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160713

RJ01 Rejection of invention patent application after publication