CN105208038A - Encryption method and device - Google Patents

Encryption method and device Download PDF

Info

Publication number
CN105208038A
CN105208038A CN201510653733.XA CN201510653733A CN105208038A CN 105208038 A CN105208038 A CN 105208038A CN 201510653733 A CN201510653733 A CN 201510653733A CN 105208038 A CN105208038 A CN 105208038A
Authority
CN
China
Prior art keywords
plaintext
interval
key
basic value
encrypted
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.)
Granted
Application number
CN201510653733.XA
Other languages
Chinese (zh)
Other versions
CN105208038B (en
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.)
Shenzhen Digiwill Science & Technology Co ltd
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201510653733.XA priority Critical patent/CN105208038B/en
Publication of CN105208038A publication Critical patent/CN105208038A/en
Application granted granted Critical
Publication of CN105208038B publication Critical patent/CN105208038B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • H04L63/0435Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload wherein the sending and receiving network entities apply symmetric encryption, i.e. same key used for encryption and decryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • H04L63/0442Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload wherein the sending and receiving network entities apply asymmetric encryption, i.e. different keys for encryption and decryption

Abstract

The invention relates to the field of encryption and particularly provides an encryption method and device. The encryption method includes the steps that a plaintext to be encrypted is divided into multiple plaintext intervals; secret keys or secret key pairs are matched with the plaintext intervals, wherein one secret key or secret key pair corresponds to one plaintext interval; public keys in the matched secret keys or secret key pairs are used for encrypting the different plaintext intervals. According to the encryption method and device, the complexity of decryption can be effectively increased, password security is improved, and meanwhile it is guaranteed that the encryption and decryption process is quickly completed.

Description

A kind of encryption method and device
Technical field
The present invention relates to field of encryption, in particular to a kind of encryption method and device.
Background technology
In traditional encryption method, want the complexity increasing deciphering, the comparatively complicated key of general employing is encrypted, as DEA (DataEncryptionAlgorithm, DEA), use the key of 32,64,128 can increase the complexity of deciphering, improve fail safe.But by improving the mode of the complexity of key, while the complexity strengthening encryption and decryption, also add operand significantly, cause the efficiency of encryption process to reduce, the speed of service is slack-off.Internet era, Internet user is while emphasis fail safe, and the speed for encryption and decryption also has higher requirement, and the speed of encryption and decryption is slow, affects the experience of user.
Summary of the invention
In view of this, the object of the embodiment of the present invention is to provide a kind of encryption method and device, with while raising decryption complexity, ensures the speed of encryption and decryption.
First aspect, embodiments provides a kind of encryption method, comprises the following steps:
Plaintext to be encrypted is divided into multiple plaintext interval;
For described multiple plaintext interval coupling key or double secret key, a key or the corresponding plaintext interval of double secret key;
With the key of coupling or the PKI of cipher key pair, different interval plaintext is encrypted.
In conjunction with first aspect, embodiments provide the first possible execution mode of first aspect, wherein, described is multiple plaintext interval coupling key or double secret key, comprising: be followed successively by multiple plaintext interval coupling key or double secret key according to the periodic function formula preset.
In conjunction with the first possible execution mode of first aspect, embodiments provide the execution mode that the second of first aspect is possible, wherein, described in be encrypted as symmetric cryptography,
It is described that plaintext to be encrypted to be divided into multiple plaintext interval, multiple plaintext interval coupling key or double secret key is followed successively by according to the periodic function formula preset, a key or the corresponding plaintext interval of double secret key, with the key of coupling or the PKI of cipher key pair, different interval plaintext is encrypted, comprises:
Plaintext to be encrypted is divided into different plaintexts interval, the interval corresponding basic value of each described plaintext;
In the periodic function formula preset described in a basic value being brought into, obtain an output valve, from the group key preset, extract a key corresponding to described output valve, it is interval that the described key extracted corresponds to plaintext corresponding to described basic value;
The plaintext interval corresponding by basic value described in the described double secret key extracted is encrypted;
Change basic value, and the basic value after changing is brought in described periodic function formula, obtain corresponding output valve, from the group key preset, extract the key that the output valve of described correspondence is corresponding;
The plaintext interval encryption that basic value after being changed by the double secret key extracted is corresponding;
Repeat described replacing basic value, and the basic value after changing is brought in described periodic function formula, obtain corresponding output valve, the key that the output valve of described correspondence is corresponding is extracted from the group key preset, the step of the plaintext interval encryption that the basic value after being changed by the double secret key extracted is corresponding, until all plaintext intervals are all encrypted.
In conjunction with the first possible execution mode of first aspect, embodiments provide the third possible execution mode of first aspect, wherein, it is described that plaintext to be encrypted to be divided into multiple plaintext interval, multiple plaintext interval coupling key or double secret key is followed successively by according to the periodic function formula preset, a key or the corresponding plaintext interval of double secret key, be encrypted different interval plaintext with the key of coupling or the PKI of cipher key pair, comprise:
Plaintext to be encrypted is divided into different plaintexts interval, the interval corresponding basic value of each described plaintext;
In the periodic function formula preset described in a basic value is brought into, obtain an output valve, extract a double secret key corresponding to described output valve from a group key centering of presetting, it is interval that the described double secret key extracted corresponds to plaintext corresponding to described basic value;
The plaintext interval corresponding to described basic value by the PKI of the described cipher key pair extracted is encrypted;
Change basic value, and the basic value after changing is brought in described periodic function formula, obtain corresponding output valve, extract a double secret key corresponding to the output valve of described correspondence from a group key centering of presetting;
By the plaintext interval encryption that the PKI of the cipher key pair extracted is corresponding to the basic value after replacing;
Repeat described replacing basic value, and the basic value after changing is brought in described periodic function formula, obtain corresponding output valve, a double secret key corresponding to the output valve of described correspondence is extracted from a group key centering of presetting, by the step that the plaintext interval that the PKI of the cipher key pair extracted is corresponding to the basic value after replacing is encrypted, until all plaintext intervals are all encrypted.
In conjunction with the second or the third possible execution mode of first aspect, the embodiment of the present invention additionally provides the 4th kind of possible execution mode of first aspect, and wherein, described basic value is time variable or plaintext siding-to-siding block length variable.
In conjunction with the second or the third possible execution mode of first aspect, the embodiment of the present invention additionally provides the 5th kind of possible execution mode of first aspect, and wherein, described periodic function formula is trigonometric function or fourier function.
Second aspect, embodiments provides a kind of encryption device, comprising:
Expressly division unit: interval for plaintext to be encrypted being divided into multiple plaintext;
Cipher key match unit: for being described multiple plaintext interval coupling key or double secret key, a key or the corresponding plaintext interval of double secret key;
Ciphering unit: for being encrypted different interval plaintext with the key of coupling or the PKI of cipher key pair.
In conjunction with second aspect, embodiments provide the first possible execution mode of second aspect, wherein, described cipher key match unit specifically for: be followed successively by multiple plaintext interval coupling key or double secret key according to the periodic function formula preset, a key or double secret key corresponding one expressly interval.
In conjunction with the first possible execution mode of second aspect, embodiments provide the execution mode that the second of second aspect is possible, wherein, described in be encrypted as symmetric cryptography,
Described plaintext division unit specifically for, plaintext to be encrypted is divided into different plaintext interval, the interval corresponding basic value of each described plaintext;
Described cipher key match unit specifically for, in the periodic function formula preset described in successively interval for each plaintext corresponding basic value being brought into, obtain an output valve, from the group key preset, extract a key corresponding to described output valve, it is interval that the described key extracted corresponds to plaintext corresponding to described basic value;
Described ciphering unit specifically for, the plaintext interval corresponding by basic value described in the double secret key that extracts is encrypted.
In conjunction with the first possible execution mode of second aspect, the embodiment of the present invention additionally provides the third possible execution mode of second aspect, wherein, described in be encrypted as asymmetric encryption,
Described plaintext division unit specifically for, plaintext to be encrypted is divided into different plaintext interval, the interval corresponding basic value of each described plaintext;
Described cipher key match unit specifically for, in the periodic function formula preset described in successively interval for each plaintext corresponding basic value being brought into, obtain an output valve, extract a double secret key corresponding to described output valve from a group key centering of presetting, it is interval that the described double secret key extracted corresponds to plaintext corresponding to described basic value;
Described ciphering unit specifically for, the plaintext interval corresponding to described basic value by the PKI of the cipher key pair extracted is encrypted.
The encryption method that the embodiment of the present invention provides and device, adopt and expressly will be divided into multiple interval, and to the mode that different plaintexts interval is encrypted respectively, with prior art, plaintext is encrypted with carrying out longitudinal superposing type, encryption and decrypting process speed is caused slowly to be compared, the encryption method that the embodiment of the present invention provides and device, while the complexity improving deciphering, ensure that the speed of encryption and decryption.
For making above-mentioned purpose of the present invention, feature and advantage become apparent, preferred embodiment cited below particularly, and coordinate appended accompanying drawing, be described in detail below.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment below, be to be understood that, the following drawings illustrate only some embodiment of the present invention, therefore the restriction to scope should be counted as, for those of ordinary skill in the art, under the prerequisite not paying creative work, other relevant accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 shows the flow chart of a kind of encryption method that the embodiment of the present invention provides;
Fig. 2 shows the flow chart of the second encryption method that the embodiment of the present invention provides;
Fig. 3 shows the flow chart of the third encryption method that the embodiment of the present invention provides;
Fig. 4 shows the composition frame chart of a kind of encryption device that the embodiment of the present invention provides.
Embodiment
Below in conjunction with accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.The assembly of the embodiment of the present invention describing and illustrate in usual accompanying drawing herein can be arranged with various different configuration and design.Therefore, below to the detailed description of the embodiments of the invention provided in the accompanying drawings and the claimed scope of the present invention of not intended to be limiting, but selected embodiment of the present invention is only represented.Based on embodiments of the invention, the every other embodiment that those skilled in the art obtain under the prerequisite not making creative work, all belongs to the scope of protection of the invention.
In prior art, in order to increase the complexity of deciphering, the general key of comparatively complexity that adopts is encrypted, such as increase the length of key, although the complexity of deciphering effectively can be increased, too increase the time of encryption and decryption simultaneously, the speed of encryption and decryption is slow, affects the experience sense of user.Based on this, inventor through studying for a long period of time, proposes encryption method and device that the embodiment of the present invention provides, by being expressly divided into multiple section, and to the mode that different sections is encrypted respectively, to improve the problems referred to above.
Refer to Fig. 1, Fig. 1 shows the flow chart of the encryption method that the embodiment of the present invention provides, and the encryption method that the embodiment of the present invention provides comprises:
S101: plaintext to be encrypted is divided into multiple plaintext interval.Do not limit for expressly interval division, each expressly length of an interval degree can be identical or different, and the plaintext interval of division is more, and the complexity of encryption and decryption is higher, and fail safe is higher, specifically can determine according to demand.
S102: be described multiple plaintext interval coupling key or double secret key.
A key or the corresponding plaintext interval of double secret key herein.
S103: different interval plaintext is encrypted with the key of coupling or the PKI of cipher key pair.
Plaintext will be divided into different intervals, and the PKI of use key or cipher key pair is encrypted different interval plaintext, is different from prior art and reaches increase encryption complexity by increase key length or complexity with this.The encryption method provided by the embodiment of the present invention is encrypted, other people are when decryption, need to crack respectively different plaintext intervals, add the complexity of deciphering, when the plaintext interval divided is less, the key of encryption can mate more, not high to ensure the repeatability of key.The encryption method mode that the embodiment of the present invention provides is simple, and do not increase length or the complexity of key, the number of key does not affect the efficiency of encryption and decryption, in the process of encryption and decryption, can not waste the too much time, ensure that the speed of encryption and decryption.
After the encryption method provided by the embodiment of the present invention is encrypted plaintext, the process of deciphering is corresponding with the process of encryption:
Ciphertext to be decrypted is divided into multiple ciphertext interval, it is identical that multiple ciphertext intervals herein should be understood to the interval after dividing with plaintext in ciphering process; For described multiple ciphertext interval coupling key or double secret key, the expressly key of interval coupling or double secret key in the key herein mated or double secret key and ciphering process, a same key or the corresponding ciphertext interval of double secret key; With the key of coupling or the private key of cipher key pair, different interval ciphertext is decrypted.
Refer to Fig. 2, Fig. 2 shows the flow chart of the second encryption method that the embodiment of the present invention provides, and the encryption method that the embodiment of the present invention provides is symmetric cryptography, comprising:
S201: plaintext to be encrypted is divided into multiple plaintext interval, the interval corresponding basic value of each described plaintext.
S202 a: basic value to be brought in the periodic function formula preset and to obtain a corresponding output valve.
S203: extract a key corresponding to described output valve from the group key preset.
Owing to being expressly an entirety, after being expressly divided into different plaintext intervals, need for different plaintext interval selection keys, in the group key preset, each interval can be divided at random to distribute a key.In order to increase the complexity of the process selecting key, with this selection course in season, there is certain regularity, the encryption method that the embodiment of the present invention provides adopts the computing of periodic function formula as the mode choosing key, automatically key is chosen according to the algorithm of periodic function formula, complexity is high, high safety, and periodic function formula herein can be trigonometric function, also can be fourier function etc., the embodiment of the present invention limit this.Preferably, the output valve of periodic function herein can extract default all keys, to ensure that all keys all can be utilized when expressly interval is more.
S204: the plaintext interval corresponding by basic value described in the double secret key that extracts is encrypted.
S205: change basic value, brings into the basic value after changing in described periodic function, obtains corresponding output valve.
S206: the plaintext interval encryption that the basic value after being changed by the double secret key that the output valve that obtains is corresponding is corresponding.
Basic value herein can be time variable, also can be plaintext siding-to-siding block length variable, the replacing of basic value can be changed according to the order preset (order that the interval position in plaintext to be encrypted of such as plaintext increases progressively or successively decreases), also can change at random, the embodiment of the present invention does not limit this, using the input variable of basic value as periodic function formula, the output variable obtained is as the voucher extracting key, an a basic value then corresponding key, a double secret key answers an expressly interval.
S207: judge that whether all plaintext intervals are all encrypted, if so, then performs step S208, on the contrary then repeated execution of steps S205 ~ S207, until all plaintext intervals are all encrypted.
S208: terminate this encryption method.
For the ease of understanding this encryption method, spy gives one example for reference: expressly will be divided into X nindividual interval, is respectively X 1, X 2x n, each is an interval corresponding basic value expressly, is respectively Y 1, Y 2y n, the periodic function preset is trigonometric function, by Y 1bring in described trigonometric function, obtain an output valve Z 1, Z 1a key Z in the corresponding group key preset 1', pass through Z 1by Z 1' extract, Z 1' to X 1encryption, changes basic value to Y 2, by Y 2bring in described trigonometric function, obtain output valve Z 2, Z 2key Z in the corresponding group key preset 2', pass through Z 2by Z 2' extract, Z 2' to X 2encryption, judges that whether all plaintext intervals are all encrypted, if so, then performs encryption and terminates, otherwise then repeat to change basic value, obtain output valve, and to expressly interval encryption, until all plaintext intervals are all encrypted.
After the encryption method provided by the invention described above embodiment is encrypted, decrypting process comprises: ciphertext to be decrypted is divided into multiple ciphertext interval, the interval corresponding basic value of each described ciphertext, it is identical that multiple ciphertext intervals herein should be understood to the interval after dividing with plaintext in ciphering process; A basic value to be brought in the periodic function formula preset and to obtain output valve, basic value is herein in ciphering process, first basic value of bringing in periodic function formula, the periodic function formula of periodic function formula herein for using in ciphering process; A key corresponding to described output valve is extracted from the group key preset; The ciphertext interval corresponding by basic value described in the double secret key that extracts is decrypted; Change basic value, the basic value after changing is brought in described periodic function, obtains corresponding output valve; The ciphertext interval deciphering that basic value after being changed by the double secret key that the output valve obtained is corresponding is corresponding; Judge that whether all ciphertext intervals are all decrypted, if so, then decipher end, otherwise repeat to change basic value, obtain output valve, and to expressly interval deciphering, until all plaintext intervals are all decrypted.
Refer to Fig. 3, Fig. 3 shows the flow chart of the third encryption method that the embodiment of the present invention provides, and the encryption method that the embodiment of the present invention provides is asymmetric encryption, comprising:
S301: plaintext to be encrypted is divided into multiple plaintext interval, the interval corresponding basic value of each described plaintext.
S302 a: basic value to be brought in the periodic function formula preset and to obtain a corresponding output valve.
S303: extract a double secret key corresponding to described output valve from a group key centering of presetting.
S304: the plaintext interval corresponding to described basic value by the PKI of the cipher key pair extracted is encrypted.
S305: change basic value, brings into the basic value after changing in described periodic function, obtains corresponding output valve.
S306: by the plaintext interval encryption that the PKI of cipher key pair corresponding to the output valve that obtains is corresponding to the basic value after changing.
S307: judge that whether all plaintext intervals are all encrypted, if so, then performs step S308, on the contrary then repeated execution of steps S305 ~ S307, until all plaintext intervals are all encrypted.
S308: terminate this encryption method.
After the encryption method provided by the invention described above embodiment is encrypted, decrypting process comprises: ciphertext to be decrypted is divided into multiple ciphertext interval, the interval corresponding basic value of each described ciphertext, it is identical that multiple ciphertext intervals herein should be understood to the interval after dividing with plaintext in ciphering process; A basic value to be brought in the periodic function formula preset and to obtain output valve, basic value is herein in ciphering process, first basic value of bringing in periodic function formula, the periodic function formula of periodic function formula herein for using in ciphering process; A double secret key corresponding to described output valve is extracted from a group key centering of presetting; The ciphertext interval corresponding to described basic value by the private key of the cipher key pair extracted is decrypted; Change basic value, the basic value after changing is brought in described periodic function, obtains corresponding output valve; By the ciphertext interval deciphering that the private key of cipher key pair corresponding to the output valve obtained is corresponding to the basic value after changing; Judge that whether all ciphertext intervals are all decrypted, if so, then decipher end, otherwise repeat to change basic value, obtain output valve, and to expressly interval deciphering, until all plaintext intervals are all decrypted.
Refer to Fig. 4, the embodiment of the present invention additionally provides a kind of encryption device, comprising:
Expressly division unit 401, interval for plaintext to be encrypted being divided into multiple plaintext;
Cipher key match unit 402: for being described multiple plaintext interval coupling key or double secret key, a key or the corresponding plaintext interval of double secret key;
Ciphering unit 403: for being encrypted different interval plaintext with the key of coupling or the PKI of cipher key pair.
As a kind of execution mode, the encryption device that the embodiment of the present invention provides adopts symmetric cryptography,
Described plaintext division unit 401 specifically for, plaintext to be encrypted is divided into different plaintext interval, the interval corresponding basic value of each described plaintext;
Described cipher key match unit 402 specifically for, in the periodic function formula preset described in successively interval for each plaintext corresponding basic value being brought into, obtain an output valve, from the group key preset, extract a key corresponding to described output valve, it is interval that the described key extracted corresponds to plaintext corresponding to described basic value;
Described ciphering unit 403 specifically for, the plaintext interval corresponding by basic value described in the double secret key that extracts is encrypted.
As the second execution mode, the encryption device that the embodiment of the present invention provides adopts asymmetric encryption,
Described plaintext division unit 401 specifically for, plaintext to be encrypted is divided into different plaintext interval, the interval corresponding basic value of each described plaintext;
Described cipher key match unit 402 specifically for, in the periodic function formula preset described in successively interval for each plaintext corresponding basic value being brought into, obtain an output valve, extract a double secret key corresponding to described output valve from a group key centering of presetting, it is interval that the described double secret key extracted corresponds to plaintext corresponding to described basic value;
Described ciphering unit 403 specifically for, the plaintext interval corresponding to described basic value by the PKI of the cipher key pair extracted is encrypted.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should described be as the criterion with the protection range of claim.

Claims (10)

1. an encryption method, is characterized in that, comprises the following steps:
Plaintext to be encrypted is divided into multiple plaintext interval;
For described multiple plaintext interval coupling key or double secret key, a key or the corresponding plaintext interval of double secret key;
With the key of coupling or the PKI of cipher key pair, different interval plaintext is encrypted.
2. encryption method according to claim 1, is characterized in that, described is multiple plaintext interval coupling key or double secret key, comprising: be followed successively by multiple plaintext interval coupling key or double secret key according to the periodic function formula preset.
3. encryption method according to claim 2, is characterized in that, described in be encrypted as symmetric cryptography,
It is described that plaintext to be encrypted to be divided into multiple plaintext interval, multiple plaintext interval coupling key or double secret key is followed successively by according to the periodic function formula preset, a key or the corresponding plaintext interval of double secret key, with the key of coupling or the PKI of cipher key pair, different interval plaintext is encrypted, comprises:
Plaintext to be encrypted is divided into different plaintexts interval, the interval corresponding basic value of each described plaintext;
In the periodic function formula preset described in a basic value being brought into, obtain an output valve, from the group key preset, extract a key corresponding to described output valve, it is interval that the key extracted corresponds to plaintext corresponding to described basic value;
The plaintext interval corresponding by basic value described in the described double secret key extracted is encrypted;
Change basic value, and the basic value after changing is brought in described periodic function formula, obtain corresponding output valve, from the group key preset, extract the key that the output valve of described correspondence is corresponding;
The plaintext interval encryption that basic value after being changed by the double secret key extracted is corresponding;
Repeat described replacing basic value, and the basic value after changing is brought in described periodic function formula, obtain corresponding output valve, the key that the output valve of described correspondence is corresponding is extracted from the group key preset, the step of the plaintext interval encryption that the basic value after being changed by the double secret key extracted is corresponding, until all plaintext intervals are all encrypted.
4. encryption method according to claim 2, is characterized in that, described in be encrypted as asymmetric encryption,
It is described that plaintext to be encrypted to be divided into multiple plaintext interval, multiple plaintext interval coupling key or double secret key is followed successively by according to the periodic function formula preset, a key or the corresponding plaintext interval of double secret key, with the key of coupling or the PKI of cipher key pair, different interval plaintext is encrypted, comprises:
Plaintext to be encrypted is divided into different plaintexts interval, the interval corresponding basic value of each described plaintext;
In the periodic function formula preset described in a basic value is brought into, obtain an output valve, extract a double secret key corresponding to described output valve from a group key centering of presetting, it is interval that the described double secret key extracted corresponds to plaintext corresponding to described basic value;
The plaintext interval corresponding to described basic value by the PKI of the described cipher key pair extracted is encrypted;
Change basic value, and the basic value after changing is brought in described periodic function formula, obtain corresponding output valve, extract a double secret key corresponding to the output valve of described correspondence from a group key centering of presetting;
By the plaintext interval encryption that the PKI of the cipher key pair extracted is corresponding to the basic value after replacing;
Repeat described replacing basic value, and the basic value after changing is brought in described periodic function formula, obtain corresponding output valve, a double secret key corresponding to the output valve of described correspondence is extracted from a group key centering of presetting, by the step that the plaintext interval that the PKI of the cipher key pair extracted is corresponding to the basic value after replacing is encrypted, until all plaintext intervals are all encrypted.
5. the encryption method according to claim 3 or 4, is characterized in that, described basic value is time variable or plaintext siding-to-siding block length variable.
6. the encryption method according to claim 3 or 4, is characterized in that, described periodic function formula is trigonometric function or fourier function.
7. an encryption device, is characterized in that, comprising:
Expressly division unit: interval for plaintext to be encrypted being divided into multiple plaintext;
Cipher key match unit: for being described multiple plaintext interval coupling key or double secret key, a key or the corresponding plaintext interval of double secret key;
Ciphering unit: for being encrypted different interval plaintext with the key of coupling or the PKI of cipher key pair.
8. encryption device according to claim 7, it is characterized in that, described cipher key match unit specifically for: be followed successively by multiple plaintext interval coupling key or double secret key according to the periodic function formula preset, a key or double secret key corresponding one expressly interval.
9. encryption device according to claim 8, is characterized in that, described in be encrypted as symmetric cryptography,
Described plaintext division unit specifically for, plaintext to be encrypted is divided into different plaintext interval, the interval corresponding basic value of each described plaintext;
Described cipher key match unit specifically for, in the periodic function formula preset described in successively interval for each plaintext corresponding basic value being brought into, obtain an output valve, from the group key preset, extract a key corresponding to described output valve, it is interval that the described key extracted corresponds to plaintext corresponding to described basic value;
Described ciphering unit specifically for, the plaintext interval corresponding by basic value described in the double secret key that extracts is encrypted.
10. encryption device according to claim 8, is characterized in that, described in be encrypted as asymmetric encryption,
Described plaintext division unit specifically for, plaintext to be encrypted is divided into different plaintext interval, the interval corresponding basic value of each described plaintext;
Described cipher key match unit specifically for, in the periodic function formula preset described in successively interval for each plaintext corresponding basic value being brought into, obtain an output valve, extract a double secret key corresponding to described output valve from a group key centering of presetting, it is interval that the described double secret key extracted corresponds to plaintext corresponding to described basic value;
Described ciphering unit specifically for, the plaintext interval corresponding to described basic value by the PKI of the cipher key pair extracted is encrypted.
CN201510653733.XA 2015-10-10 2015-10-10 A kind of encryption method and device Expired - Fee Related CN105208038B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510653733.XA CN105208038B (en) 2015-10-10 2015-10-10 A kind of encryption method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510653733.XA CN105208038B (en) 2015-10-10 2015-10-10 A kind of encryption method and device

Publications (2)

Publication Number Publication Date
CN105208038A true CN105208038A (en) 2015-12-30
CN105208038B CN105208038B (en) 2018-08-31

Family

ID=54955471

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510653733.XA Expired - Fee Related CN105208038B (en) 2015-10-10 2015-10-10 A kind of encryption method and device

Country Status (1)

Country Link
CN (1) CN105208038B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107994989A (en) * 2017-12-11 2018-05-04 建荣集成电路科技(珠海)有限公司 A kind of data encryption system, encryption method, encryption chip and storage device
CN112235111A (en) * 2020-12-17 2021-01-15 腾讯科技(深圳)有限公司 Key generation method, device, equipment and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0624013A1 (en) * 1993-05-05 1994-11-09 Zunquan Liu Device and method for data encryption
CN102064936A (en) * 2010-11-29 2011-05-18 北京卓微天成科技咨询有限公司 Data encryption and decryption methods and devices
US20130259225A1 (en) * 2012-03-29 2013-10-03 International Business Machines Corporation Method and system for encrypting data
CN103825699A (en) * 2014-02-13 2014-05-28 南京邮电大学 Storage file parallel chaotic encryption method in cloud computing environment
CN104125059A (en) * 2013-04-28 2014-10-29 陈麟华 Compound time varying password and time varying type data encryption method
CN104301094A (en) * 2014-09-11 2015-01-21 江苏集群信息产业股份有限公司 Safe data storage method for distributed type database

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0624013A1 (en) * 1993-05-05 1994-11-09 Zunquan Liu Device and method for data encryption
CN102064936A (en) * 2010-11-29 2011-05-18 北京卓微天成科技咨询有限公司 Data encryption and decryption methods and devices
US20130259225A1 (en) * 2012-03-29 2013-10-03 International Business Machines Corporation Method and system for encrypting data
CN104125059A (en) * 2013-04-28 2014-10-29 陈麟华 Compound time varying password and time varying type data encryption method
CN103825699A (en) * 2014-02-13 2014-05-28 南京邮电大学 Storage file parallel chaotic encryption method in cloud computing environment
CN104301094A (en) * 2014-09-11 2015-01-21 江苏集群信息产业股份有限公司 Safe data storage method for distributed type database

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107994989A (en) * 2017-12-11 2018-05-04 建荣集成电路科技(珠海)有限公司 A kind of data encryption system, encryption method, encryption chip and storage device
CN112235111A (en) * 2020-12-17 2021-01-15 腾讯科技(深圳)有限公司 Key generation method, device, equipment and computer readable storage medium
CN112235111B (en) * 2020-12-17 2021-03-09 腾讯科技(深圳)有限公司 Key generation method, device, equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN105208038B (en) 2018-08-31

Similar Documents

Publication Publication Date Title
CN105681025B (en) A kind of safe whitepack implementation method and device of country password standard algorithm SM4
CN100511331C (en) Encryption device, encryption method, and computer program thereof
CN104065474B (en) Novel low-resource efficient lightweight Surge block cipher implementation method
CN104333446B (en) A kind of novel ultra-light magnitude QTL block cipher implementation method
CN106301759B (en) A kind of method of data encryption, the method and device of decryption
WO2007069236A3 (en) Method and system for usage of block cipher encryption
CN105406969A (en) Apparatus And Method For Data Encryption
CN105138923A (en) Privacy protection time sequence similarity calculation method
KR101095386B1 (en) A Cryptosystem with a Discretized Chaotic Map
CN105959107A (en) Novel and highly secure lightweight SFN block cipher implementation method
CN104052595A (en) Cryptographic algorithm customizing method
CN103516513A (en) Block ciphering method based on random function to resist against known plaintext-ciphertext pair attack
CN103501220B (en) encryption method and device
CN105208038A (en) Encryption method and device
CN104753668B (en) A kind of side channel energy attack method for SM4 passwords linear transformation output
Priya et al. FPGA implementation of efficient AES encryption
CN111314270B (en) Data encryption and decryption method based on validity period uniform distribution symmetric algorithm
CN106921486A (en) The method and apparatus of data encryption
Yang et al. An improved AES encryption algorithm based on chaos theory in wireless communication networks
CN111314053B (en) Data encryption and decryption method
CN102968598B (en) The decryption method of digital document
CN111314052B (en) Data encryption and decryption method
CN106357382A (en) Encryption method and system for network data transmission
Huang et al. Building a block cipher mode of operation with feedback keys
CN105873033A (en) Encryption and decryption method for short message communication

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20191125

Address after: 518000 Beek science and technology building, 9 Nanshan District research road, Shenzhen, Guangdong, 601H

Patentee after: SHENZHEN DIGIWILL SCIENCE & TECHNOLOGY CO.,LTD.

Address before: 443000, Shengli Road four, Xiling District, Hubei, Yichang 40-1-310

Patentee before: Zheng Zhichao

TR01 Transfer of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180831

Termination date: 20211010

CF01 Termination of patent right due to non-payment of annual fee