CN105208038B - A kind of encryption method and device - Google Patents

A kind of encryption method and device Download PDF

Info

Publication number
CN105208038B
CN105208038B CN201510653733.XA CN201510653733A CN105208038B CN 105208038 B CN105208038 B CN 105208038B CN 201510653733 A CN201510653733 A CN 201510653733A CN 105208038 B CN105208038 B CN 105208038B
Authority
CN
China
Prior art keywords
plaintext
basic value
key
encrypted
section
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.)
Expired - Fee Related
Application number
CN201510653733.XA
Other languages
Chinese (zh)
Other versions
CN105208038A (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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Storage Device Security (AREA)

Abstract

The present invention relates to field of encryption, a kind of encryption method and device are specifically provided.The encryption method includes:Plaintext to be encrypted is divided into multiple plaintext sections;Key or key pair are matched for the multiple plaintext section, a key or key pair correspond to a plaintext section;The plaintext in different sections is encrypted with matched key or the public key of cipher key pair.The encryption method and device provided through the invention can effectively increase the complexity of decryption, improve cipher safety, while ensureing being rapidly completed for encryption process.

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, it is desirable to increase the complexity of decryption, is generally encrypted using more complicated key, Such as data encryption algorithm (Data Encryption Algorithm, DEA), can be increased using 32,64,128 keys The complexity of encryption and decryption improves safety.However, by way of improving the complexity of key, in the complexity for reinforcing encryption and decryption While spending, it is also substantially increased operand, causes the efficiency of encryption process to reduce, the speed of service is slack-off.Internet Epoch, Internet user also have higher requirement, the speed of encryption and decryption while focusing on safety, for the speed of encryption and decryption Slowly, the experience of user is influenced.
Invention content
In view of this, the embodiment of the present invention is designed to provide a kind of encryption method and device, with to improve decryption multiple It is miscellaneous while spend, ensure the speed of encryption and decryption.
In a first aspect, an embodiment of the present invention provides a kind of encryption method, include the following steps:
Plaintext to be encrypted is divided into multiple plaintext sections;
Key or key pair are matched for the multiple plaintext section, a key or key pair correspond to a plaintext section;
The plaintext in different sections is encrypted with matched key or the public key of cipher key pair.
With reference to first aspect, an embodiment of the present invention provides the first possible embodiments of first aspect, wherein institute It states and matches key or key pair for multiple plaintext sections, including:It is followed successively by according to preset periodic function formula multiple bright Literary section matching key or key pair.
The possible embodiment of with reference to first aspect the first, an embodiment of the present invention provides second of first aspect Possible embodiment, wherein it is described to be encrypted as symmetric cryptography,
It is described that plaintext to be encrypted is divided into multiple plaintext sections, it is followed successively by according to preset periodic function formula Multiple plaintext sections matching keys or key pair, a key or key pair correspond to a plaintext section, with matched key or The plaintext in different sections is encrypted in the public key of cipher key pair, including:
Plaintext to be encrypted is divided into different plaintext sections, each plaintext section corresponds to a basic value;
One basic value is brought into the preset periodic function formula, an output valve is obtained, from preset The corresponding key of the output valve is extracted in one group key, it is corresponding that the key extracted corresponds to the basic value Plaintext section;
It is encrypted by the corresponding plaintext section of basic value described in the key pair extracted;
Basic value is replaced, and the basic value after replacement is brought into the periodic function formula, obtains corresponding output valve, The corresponding key of the corresponding output valve is extracted from a preset group key;
The corresponding plaintext section encryption of basic value after being replaced by the key pair extracted;
The replacement basic value is repeated, and the basic value after replacement is brought into the periodic function formula, is corresponded to Output valve, the corresponding key of the corresponding output valve is extracted from a preset group key, it is close by what is extracted The step of key encrypts the basic value corresponding plaintext section after replacement, until all plaintext sections are encrypted.
The possible embodiment of with reference to first aspect the first, an embodiment of the present invention provides the third of first aspect Possible embodiment, wherein it is described that plaintext to be encrypted is divided into multiple plaintext sections, according to preset period letter Number formula is followed successively by multiple plaintext section matching keys or key pair, and a key or key pair correspond to a plaintext section, use The plaintext in different sections is encrypted in matched key or the public key of cipher key pair, including:
Plaintext to be encrypted is divided into different plaintext sections, each plaintext section corresponds to a basic value;
One basic value is brought into the preset periodic function formula, an output valve is obtained, from preset The corresponding key pair of the output valve is extracted in one group key centering, and the key pair extracted corresponds to the basic value Corresponding plaintext section;
The corresponding plaintext section of the basic value is encrypted by the public key of the cipher key pair extracted;
Basic value is replaced, and the basic value after replacement is brought into the periodic function formula, obtains corresponding output valve, The corresponding key pair of the corresponding output valve is extracted from preset group key centering;
The corresponding plaintext section of basic value after replacement is encrypted by the public key of the cipher key pair extracted;
The replacement basic value is repeated, and the basic value after replacement is brought into the periodic function formula, is corresponded to Output valve, from the corresponding key pair of the preset group key centering extraction corresponding output valve, by extracting The public key of the cipher key pair the step of corresponding plaintext section of basic value after replacement is encrypted, until all plaintext sections are equal Until being encrypted.
With reference to first aspect second or the third possible embodiment, the embodiment of the present invention additionally provide first party The 4th kind of possible embodiment in face, wherein the basic value is time variable or plaintext siding-to-siding block length variable.
With reference to first aspect second or the third possible embodiment, the embodiment of the present invention additionally provide first party The 5th kind of possible embodiment in face, wherein the periodic function formula is trigonometric function or fourier function.
Second aspect, an embodiment of the present invention provides a kind of encryption devices, including:
Plaintext division unit:For plaintext to be encrypted to be divided into multiple plaintext sections;
Cipher key match unit:For matching key or key pair, a key or key pair for the multiple plaintext section A corresponding plaintext section;
Encryption unit:For the plaintext in different sections to be encrypted with the public key of matched key or cipher key pair.
In conjunction with second aspect, an embodiment of the present invention provides the first possible embodiments of second aspect, wherein institute Cipher key match unit is stated to be specifically used for:According to preset periodic function formula be followed successively by multiple plaintext sections matching keys or Key pair, a key or key pair correspond to a plaintext section.
In conjunction with the first possible embodiment of second aspect, an embodiment of the present invention provides second of second aspect Possible embodiment, wherein it is described to be encrypted as symmetric cryptography,
The plaintext division unit is specifically used for, and plaintext to be encrypted is divided into different plaintext sections, each described Plaintext section corresponds to a basic value;
The cipher key match unit is specifically used for, and brings the corresponding basic value in each plaintext section into described set in advance successively In fixed periodic function formula, an output valve is obtained, it is one corresponding that the output valve is extracted from a preset group key Key, the key extracted correspond to the corresponding plaintext section of the basic value;
The encryption unit is specifically used for, and is added by the corresponding plaintext section of basic value described in the key pair extracted It is close.
In conjunction with the first possible embodiment of second aspect, the embodiment of the present invention additionally provides the third of second aspect The possible embodiment of kind, wherein it is described to be encrypted as asymmetric encryption,
The plaintext division unit is specifically used for, and plaintext to be encrypted is divided into different plaintext sections, each described Plaintext section corresponds to a basic value;
The cipher key match unit is specifically used for, and brings the corresponding basic value in each plaintext section into described set in advance successively In fixed periodic function formula, an output valve is obtained, the output valve corresponding one is extracted from preset group key centering A key pair, the key pair extracted correspond to the corresponding plaintext section of the basic value;
The encryption unit is specifically used for, by the public key for the cipher key pair extracted to the corresponding plaintext of the basic value Section is encrypted.
Encryption method provided in an embodiment of the present invention and device, using multiple sections will be divided into plain text, and to different The mode that plaintext section is encrypted respectively, and in the prior art encrypts plaintext with carrying out longitudinal superposing type, cause encryption and Decrypting process speed is slowly compared, and encryption method provided in an embodiment of the present invention and device are improving the same of the complexity of decryption When, it ensure that the speed of encryption and decryption.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment cited below particularly, and coordinate Appended attached drawing, is described in detail below.
Description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 shows a kind of flow chart for encryption method that the embodiment of the present invention is provided;
Fig. 2 shows the flow charts for second of encryption method that the embodiment of the present invention is provided;
Fig. 3 shows the flow chart for the third encryption method that the embodiment of the present invention is provided;
Fig. 4 shows a kind of composition frame chart for encryption device that the embodiment of the present invention is provided.
Specific implementation mode
Below in conjunction with attached drawing in the embodiment of the present invention, technical solution in the embodiment of the present invention carries out clear, complete Ground describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Usually exist The component of the embodiment of the present invention described and illustrated in attached drawing can be arranged and be designed with a variety of different configurations herein.Cause This, the detailed description of the embodiment of the present invention to providing in the accompanying drawings is not intended to limit claimed invention below Range, but it is merely representative of the selected embodiment of the present invention.Based on the embodiment of the present invention, those skilled in the art are not doing The every other embodiment obtained under the premise of going out creative work, shall fall within the protection scope of the present invention.
In the prior art, it in order to increase the complexity of decryption, is generally encrypted using more complicated key, for example increase The length of encrypting key also increases the time of encryption and decryption simultaneously although can effectively increase the complexity of decryption, adds solution Close speed is slow, influences the experience sense of user.Based on this, inventor is by studying for a long period of time, it is proposed that the embodiment of the present invention carries The encryption method and device of confession distinguish encrypted mode, to change by will be divided into multiple sections in plain text, and to different sections The kind above problem.
Referring to Fig. 1, Fig. 1 shows that the flow chart of encryption method provided in an embodiment of the present invention, the embodiment of the present invention carry The encryption method of confession includes:
S101:Plaintext to be encrypted is divided into multiple plaintext sections.The division in plaintext section is not limited, it is each bright The length in literary section can be identical or different, and the plaintext section of division is more, and the complexity of encryption and decryption is higher, and safety is higher, Specifically can according to demand depending on.
S102:Key or key pair are matched for the multiple plaintext section.
A key or key pair correspond to a plaintext section herein.
S103:The plaintext in different sections is encrypted with matched key or the public key of cipher key pair.
It will be divided into different sections in plain text, the plaintext in different sections is added using key or the public key of cipher key pair It is close, it is different from and increase encryption complexity is reached with this by increasing key length or complexity in the prior art.Through the invention The encryption method that embodiment provides is encrypted, other people need to break different plaintext sections respectively in decryption Solution, increases the complexity of decryption, and when the plaintext section of division is smaller, encrypted key can match more, to protect The repeatability for demonstrate,proving key is not high.Encryption method mode provided in an embodiment of the present invention is simple, does not increase the length or multiple of key The number of miscellaneous degree, key has no effect on the efficiency of encryption and decryption, during encryption and decryption, will not waste the excessive time, ensures The speed of encryption and decryption.
After the encryption method provided through the embodiment of the present invention to being encrypted in plain text, the process of decryption and encrypted process It is corresponding:
Ciphertext to be decrypted is divided into multiple ciphertext sections, multiple ciphertext sections herein should be understood as with it is encrypted Section after being divided in plain text in journey is identical;Match key or key pair for the multiple ciphertext section, herein matched key or The matched key in plaintext section or key pair in key pair, that is, ciphering process, a same key or key pair correspondence one are close Literary section;The ciphertext in different sections is decrypted with matched key or the private key of cipher key pair.
Referring to Fig. 2, the flow chart of second of the encryption method provided Fig. 2 shows the embodiment of the present invention, the present invention The encryption method that embodiment provides is symmetric cryptography, including:
S201:Plaintext to be encrypted is divided into multiple plaintext sections, each plaintext section corresponds to a basic value.
S202:One basic value is brought into preset periodic function formula and obtains a corresponding output valve.
S203:The corresponding key of the output valve is extracted from a preset group key.
Due to being an entirety in plain text, after being divided into different plaintext sections in plain text, need for different plaintext sections Key is selected, in a preset group key, each section can be divided to distribute a key at random.In order to increase selection key The complexity of process with this selection course of season there is certain regularity, encryption method provided in an embodiment of the present invention to use The operation of periodic function formula chooses key automatically as the mode for choosing key according to the algorithm of periodic function formula, complicated Degree is high, and high safety, periodic function formula herein can be trigonometric function, can also be fourier function etc., and the present invention is real Example is applied not limit this.Preferably, the output valve of periodic function herein can extract preset all keys, to ensure In the case where plaintext section is more, all keys can be utilized.
S204:It is encrypted by the corresponding plaintext section of basic value described in the key pair extracted.
S205:Basic value is replaced, the basic value after replacement is brought into the periodic function, corresponding output valve is obtained.
S206:The corresponding plaintext section encryption of basic value after being replaced by the corresponding key pair of obtained output valve.
Basic value herein can be time variable, or plaintext siding-to-siding block length variable, the replacement of basic value can be with It is replaced according to preset sequence (such as the position of plaintext section in plaintext to be encrypted is incremented by or the sequence successively decreased), It can also replace at random, it is not limited in the embodiment of the present invention, using basic value as the input variable of periodic function formula, obtains Voucher of the output variable arrived as extraction key, a basic value then correspond to a key, and a key pair answers a plaintext Section.
S207:Judge whether all plaintext sections are encrypted, it is on the contrary then repeat to hold if so, then follow the steps S208 Row step S205~S207, until all plaintext sections are encrypted.
S208:Terminate this encryption method.
For the ease of understanding that this encryption method, spy are given one example for reference:It will be divided into X in plain textnA section, respectively X1、X2…Xn, each plaintext section corresponds to a basic value, respectively Y1、Y2…Yn, preset periodic function is triangle Function, by Y1It brings into the trigonometric function, obtains an output valve Z1, Z1A key in a corresponding preset group key Z1', pass through Z1By Z1' extract, Z1' to X1Encryption replaces basic value to Y2, by Y2It brings into the trigonometric function, obtains Output valve Z2, Z2Key Z in a corresponding preset group key2', pass through Z2By Z2' extract, Z2' to X2Encryption, judges institute Some plaintext sections whether be encrypted, if it is, execute encryption terminate, on the contrary it is then repeat replacement basic value, exported Value, and plaintext section is encrypted, until all plaintext sections are encrypted.
After the encryption method provided by the embodiments of the present invention is encrypted, decrypting process includes:It will be to be decrypted close Text is divided into multiple ciphertext sections, and each ciphertext section corresponds to a basic value, and multiple ciphertext sections herein should manage Solution is identical as the section after being divided in plain text in ciphering process;One basic value is brought into preset periodic function formula And output valve is obtained, basic value herein is first basic value brought into periodic function formula in ciphering process, herein Periodic function formula is the periodic function formula used in ciphering process;The output valve is extracted from a preset group key A corresponding key;It is decrypted by the corresponding ciphertext section of basic value described in the key pair extracted;Change basic value, Basic value after change is brought into the periodic function, corresponding output valve is obtained;It is corresponding close by obtained output valve Key decrypts the corresponding ciphertext section of basic value after change;Judge whether all ciphertext sections are decrypted, if it is, solution Close end, on the contrary it repeats to replace basic value, output valve is obtained, and decrypt to plaintext section, until all plaintext sections are solved Until close.
Referring to Fig. 3, Fig. 3 shows the flow chart for the third encryption method that the embodiment of the present invention is provided, the present invention The encryption method that embodiment provides is asymmetric encryption, including:
S301:Plaintext to be encrypted is divided into multiple plaintext sections, each plaintext section corresponds to a basic value.
S302:One basic value is brought into preset periodic function formula and obtains a corresponding output valve.
S303:The corresponding key pair of the output valve is extracted from preset group key centering.
S304:The corresponding plaintext section of the basic value is encrypted by the public key for the cipher key pair extracted.
S305:Basic value is replaced, the basic value after replacement is brought into the periodic function, corresponding output valve is obtained.
S306:By the public key of the corresponding cipher key pair of obtained output valve to the corresponding plaintext area of basic value after replacement Between encrypt.
S307:Judge whether all plaintext sections are encrypted, it is on the contrary then repeat to hold if so, then follow the steps S308 Row step S305~S307, until all plaintext sections are encrypted.
S308:Terminate this encryption method.
After the encryption method provided by the embodiments of the present invention is encrypted, decrypting process includes:It will be to be decrypted close Text is divided into multiple ciphertext sections, and each ciphertext section corresponds to a basic value, and multiple ciphertext sections herein should manage Solution is identical as the section after being divided in plain text in ciphering process;One basic value is brought into preset periodic function formula And output valve is obtained, basic value herein is first basic value brought into periodic function formula in ciphering process, herein Periodic function formula is the periodic function formula used in ciphering process;The output is extracted from preset group key centering It is worth a corresponding key pair;The corresponding ciphertext section of the basic value is solved by the private key for the cipher key pair extracted It is close;Change basic value, the basic value after change is brought into the periodic function, corresponding output valve is obtained;Pass through what is obtained The private key of the corresponding cipher key pair of output valve decrypts the corresponding ciphertext section of basic value after change;Judge all ciphertext sections It is whether decrypted, if it is, decryption terminates, otherwise repeat to replace basic value, obtains output valve, and to plaintext interval solutions It is close, until all plaintext sections are decrypted.
Referring to Fig. 4, the embodiment of the present invention additionally provides a kind of encryption device, including:
Plaintext division unit 401, for plaintext to be encrypted to be divided into multiple plaintext sections;
Cipher key match unit 402:For matching key or key pair, a key or key for the multiple plaintext section To a corresponding plaintext section;
Encryption unit 403:For the plaintext in different sections to be encrypted with the public key of matched key or cipher key pair.
As an implementation, encryption device provided in an embodiment of the present invention uses symmetric cryptography,
The plaintext division unit 401 is specifically used for, and plaintext to be encrypted is divided into different plaintext sections, Mei Gesuo It states literary section clearly and corresponds to a basic value;
The cipher key match unit 402 is specifically used for, and successively brings the corresponding basic value in each plaintext section into described pre- In the periodic function formula first set, an output valve is obtained, it is corresponding to extract the output valve from a preset group key One key, the key extracted correspond to the corresponding plaintext section of the basic value;
The encryption unit 403 is specifically used for, by the corresponding plaintext section of basic value described in the key pair extracted into Row encryption.
As second of embodiment, encryption device provided in an embodiment of the present invention uses asymmetric encryption,
The plaintext division unit 401 is specifically used for, and plaintext to be encrypted is divided into different plaintext sections, Mei Gesuo It states literary section clearly and corresponds to a basic value;
The cipher key match unit 402 is specifically used for, and successively brings the corresponding basic value in each plaintext section into described pre- In the periodic function formula first set, an output valve is obtained, extracting the output valve from preset group key centering corresponds to A key pair, the key pair extracted correspond to the corresponding plaintext section of the basic value;
The encryption unit 403 is specifically used for, corresponding to the basic value by the public key for the cipher key pair extracted Plaintext section is encrypted.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (6)

1. a kind of encryption method, which is characterized in that it is described to be encrypted as symmetric cryptography, include the following steps:
Plaintext to be encrypted is divided into different plaintext sections, each plaintext section corresponds to a basic value, the base Plinth value is time variable or plaintext siding-to-siding block length variable;
One basic value is brought into preset periodic function formula, an output valve is obtained, from a preset group key Middle to extract the corresponding key of the output valve, the key extracted corresponds to the corresponding plaintext section of the basic value;
It is encrypted by the corresponding plaintext section of basic value described in the key pair extracted;
Basic value is replaced, and the basic value after replacement is brought into the periodic function formula, corresponding output valve is obtained, from pre- If a group key in extract the corresponding key of the corresponding output valve;
The corresponding plaintext section encryption of basic value after being replaced by the key pair extracted;
The replacement basic value is repeated, and the basic value after replacement is brought into the periodic function formula, is obtained corresponding defeated Go out value, the corresponding key of the corresponding output valve is extracted from a preset group key, passes through the key pair extracted The step of corresponding plaintext section of basic value after replacement is encrypted, until all plaintext sections are encrypted.
2. encryption method according to claim 1, which is characterized in that the periodic function formula is in trigonometric function or Fu Leaf function.
3. a kind of encryption method, which is characterized in that it is described to be encrypted as asymmetric encryption, include the following steps:
Plaintext to be encrypted is divided into different plaintext sections, each plaintext section corresponds to a basic value, the base Plinth value is time variable or plaintext siding-to-siding block length variable;
One basic value is brought into preset periodic function formula, an output valve is obtained, from a preset group key The corresponding key pair of the output valve is extracted in centering, and it is corresponding bright that the key pair extracted corresponds to the basic value Literary section;
The corresponding plaintext section of the basic value is encrypted by the public key of the cipher key pair extracted;
Basic value is replaced, and the basic value after replacement is brought into the periodic function formula, corresponding output valve is obtained, from pre- If the corresponding key pair of the group key centering extraction corresponding output valve;
The corresponding plaintext section of basic value after replacement is encrypted by the public key of the cipher key pair extracted;
The replacement basic value is repeated, and the basic value after replacement is brought into the periodic function formula, is obtained corresponding defeated Go out value, the corresponding key pair of the corresponding output valve is extracted from preset group key centering, it is close by what is extracted The step of public key of key centering encrypts the basic value corresponding plaintext section after replacement, until all plaintext sections are added Until close.
4. encryption method according to claim 3, which is characterized in that the periodic function formula is in trigonometric function or Fu Leaf function.
5. a kind of encryption device, which is characterized in that it is described to be encrypted as symmetric cryptography, including:
Plaintext division unit, for plaintext to be encrypted to be divided into different plaintext sections, each plaintext section corresponds to One basic value, the basic value are time variable or plaintext siding-to-siding block length variable;
Cipher key match unit, for bringing the corresponding basic value in each plaintext section into preset periodic function formula successively In, an output valve is obtained, the corresponding key of the output valve is extracted from a preset group key, what is extracted is described Key corresponds to the corresponding plaintext section of the basic value;
Encryption unit is encrypted for the corresponding plaintext section of basic value described in the key pair by extracting.
6. a kind of encryption device, which is characterized in that it is described to be encrypted as asymmetric encryption, including:
Plaintext division unit, for plaintext to be encrypted to be divided into different plaintext sections, each plaintext section corresponds to One basic value, the basic value are time variable or plaintext siding-to-siding block length variable;
Cipher key match unit, for bringing the corresponding basic value in each plaintext section into preset periodic function formula successively In, an output valve is obtained, the corresponding key pair of the output valve is extracted from preset group key centering, extracts The key pair corresponds to the corresponding plaintext section of the basic value;
Encryption unit adds the corresponding plaintext section of the basic value for the public key by the cipher key pair extracted It is close.
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 CN105208038A (en) 2015-12-30
CN105208038B true 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)

Families Citing this family (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
CN112235111B (en) * 2020-12-17 2021-03-09 腾讯科技(深圳)有限公司 Key generation method, device, equipment and computer readable storage medium

Citations (3)

* 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
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

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102064936B (en) * 2010-11-29 2012-08-22 北京卓微天成科技咨询有限公司 Data encryption and decryption methods and devices
JP5875441B2 (en) * 2012-03-29 2016-03-02 インターナショナル・ビジネス・マシーンズ・コーポレーションInternational Business Machines Corporation Apparatus and method for encrypting data
CN104125059A (en) * 2013-04-28 2014-10-29 陈麟华 Compound time varying password and time varying type data encryption method

Patent Citations (3)

* 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
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

Also Published As

Publication number Publication date
CN105208038A (en) 2015-12-30

Similar Documents

Publication Publication Date Title
Rhouma et al. Cryptanalysis of a new image encryption algorithm based on hyper-chaos
D'souza et al. Advanced encryption standard (AES) security enhancement using hybrid approach
Kadir et al. Color image encryption using skew tent map and hyper chaotic system of 6th-order CNN
JP4787519B2 (en) Data encryption processing apparatus to which masking method is applied, AES encryption system, and AES encryption method
CN102546181B (en) Cloud storage encrypting and deciphering method based on secret key pool
Hermassi et al. Improvement of an image encryption algorithm based on hyper-chaos
US20170324543A1 (en) Hardened White Box Implementation 1
EP2637349A2 (en) Cryptographic processing apparatus
WO2007069236A3 (en) Method and system for usage of block cipher encryption
JP2001324925A5 (en)
CN105406969A (en) Apparatus And Method For Data Encryption
Shinge et al. An encryption algorithm based on ASCII value of data
Es-Sabry et al. A novel text encryption algorithm based on the two-square Cipher and Caesar Cipher
KR101095386B1 (en) A Cryptosystem with a Discretized Chaotic Map
Jeong et al. Differential fault analysis on block cipher SEED
CN105208038B (en) A kind of encryption method and device
Soni et al. Key generation using genetic algorithm for image encryption
Priya et al. FPGA implementation of efficient AES encryption
Choubey et al. Cryptographic techniques in information security
CN108847924A (en) Encryption method, device, computer equipment and storage medium
KR101440680B1 (en) Homomorphic Encryption and Decryption Method using Chinese Remainder Theorem and apparatus using the same
Wang et al. Adaptive RSA encryption algorithm for smart grid
CN110474967B (en) Block chain experiment system and method
Ullagaddi et al. Symmetric synchronous stream encryption using images
Saxena et al. A new way to enhance efficiency & security by using symmetric cryptography

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