CN1226109A - Digital multi-changeable enciphering method and device while three control-state combination - Google Patents

Digital multi-changeable enciphering method and device while three control-state combination Download PDF

Info

Publication number
CN1226109A
CN1226109A CN 98112343 CN98112343A CN1226109A CN 1226109 A CN1226109 A CN 1226109A CN 98112343 CN98112343 CN 98112343 CN 98112343 A CN98112343 A CN 98112343A CN 1226109 A CN1226109 A CN 1226109A
Authority
CN
China
Prior art keywords
control
circuit
data
input
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
CN 98112343
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.)
Individual
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 CN 98112343 priority Critical patent/CN1226109A/en
Publication of CN1226109A publication Critical patent/CN1226109A/en
Pending legal-status Critical Current

Links

Images

Abstract

The digital triple-control-state combined time-varying encryption method is characterized by that for codes needs to be encrypted said invented method uses the control data varied at any time to control implementation of replacement, column handshaking and line exchange to produce ciphertext output, so that the identical codes need to be encrypted can be repeatedly encrypted in the course of encryption, and the produced cipher codes are different each other, and the randomly varied data can be obtained from random generator, data need to be encrypted and external program data. For a concrete N-bit encipherer its encryption process can be continuously varied according to the 2 to the power N X N! X N! kinds of encryption schemes, so that it features high encryption reliability, and can be extensively used in various fields.

Description

Digital three control-state combination time-varying ciphering method and encryption equipment
The invention discloses a kind of digital three control-state combination time-varying ciphering method and a kind of encryption equipment.
Have encryption method now and determined by key, in ciphering process, as long as key is constant repeatedly to be encrypted one piece of identical plaintext, resulting ciphertext is all identical, that is has relation one to one between plaintext and the ciphertext, and this nothing is decoded for fixed attention the person of decoding and brought convenience.In the existing encryption method, the concrete scheme of N position plain text encryption can have 2 with one NThe table of individual ciphertext is adopted expression, and N position encipherment scheme expressly has only 2 NKind, have only 2 NThe black list of Zhang Butong; When breaking out first password, the quantity of black list will be reduced to 2 (N-1)Open ... when breaking out K password, the quantity of table will be reduced to 2 (N-K), simultaneously, this 2 NOpen in the black list, the encryption method that algorithm is arranged is not good method, because of the person of decoding only need find this algorithm, can cause a whole set of collapse of encrypting; There are many black lists not adopt, can not use as the table that expressly accounts for more than 1/3; Do not have the black list practicality of algorithm relatively poor, as random table, to take memory space bigger because of it, causes use cost to increase, even be difficult to bear; When black list quantity reduced to the available computers processing, the person of decoding can adopt the method for exhaustion to decode, and therefore existing its security performance of encryption method is not good enough, necessary further perfect.
The objective of the invention is to overcome the deficiency of prior art and provide a kind of encryption method concisely general, instant, in the same ciphering process, the phase isolog is encrypted repeatedly, expressly do not have one-to-one relationship, reliable digital three control-state combination time-varying ciphering method of security performance and encryption equipment with ciphertext.
The present invention---a kind of digital three control-state combination time-varying ciphering method is to adopt following scheme to realize: in ciphering process, control data is corresponding one by one with encipherment scheme, realizes that with the control data that constantly changes the not stall of encipherment scheme is changed.
The present invention---a kind of digital three control-state combination time-varying ciphering device is to adopt following proposal to realize, it is by plain code input circuit 1, translation circuit 2, circuit 3 is inserted in sampling, control processing circuit 4 is formed, the output of described plaintext input circuit 1 connects the input of translation circuit 2 and sampling insertion circuit 3 respectively, and the output input and the expressly output of input circuit 1 of connection control circuit 4 respectively of circuit 3 is inserted in sampling, and the output of control and treatment circuit 4 connects the control of translation circuit 2 and imports.
Specific embodiments of the invention describe in detail below in conjunction with accompanying drawing:
Accompanying drawing 1 is the electric theory diagram of the embodiment of the invention;
Accompanying drawing 2 is the circuit theory diagrams of the embodiment of the invention;
Accompanying drawing 3 is represented symbol for the circuit of swap gate V in the embodiment of the invention;
Accompanying drawing 4 is the circuit logic diagram of swap gate V in the embodiment of the invention;
Accompanying drawing 5 is the electrical schematic diagram of a three-dimensional swap gate net;
Accompanying drawing 6 is the reduced graph of accompanying drawing 5;
Accompanying drawing 7 is 32 swap gate net reduced graphs;
Accompanying drawing 8 is controlled NOT gate logic circuit figure in the embodiment of the invention.
See accompanying drawing 1,2, the embodiment of the invention---digital three control-state combination time-varying ciphering device is by plain code input circuit 1, translation circuit 2, circuit 3 is inserted in sampling, control processing circuit 4 is formed, the output of described plaintext input circuit connects the input of translation circuit 2 and sampling insertion circuit 3 respectively, the output that circuit 3 is inserted in sampling connects the input of control and treatment circuit 4 and the expressly output of input circuit 1 respectively, the output of control and treatment circuit 4 connects the control input end of translation circuit 2, and plain code input circuit 1 is by random memory ram, and input interface IR constitutes; Translation circuit 2 is by controlled not gate T, registers group V 1R, V 2R, swap gate net V 1, V 2, electronic switch J 1Output interface OR constitutes, and sampling is inserted circuit 3 and is made of read-write register WR, and control processing circuit 4 is by controlled not gate T 1, T 2, register R 1, R 2, R 3, RT, KR, read-only memory ROM ', central processor CPU, the read-only container E of electric erasable 2PROM, electronic switch J 2Constitute.
See accompanying drawing 3,4,5,5,7, the effect of swap gate V is under the control of control data in the embodiment of the invention, and the position that need exchange encrypt data are arrived exchanges or non-commutative selection.
See accompanying drawing 8, the effect of controlled not gate T is under the control of control data X in the embodiments of the invention, need is replaced enciphered data carry out the replacement of data bit or the selection of not replacing.
Operation principle of the present invention is sketched in following:
Ciphering process of the present invention divided for three steps carried out, and the first step is replaced encryption to the need enciphered data in controlled not gate T; Second step was carried out the row exchange encrypt in swap gate net V1, the 3rd step is at swap gate net V 2In go exchange encrypt; Above-mentioned three steps encrypt and pass through R by control data 1, R 2, R 3Control, three constant circuit-switched data correspondences a kind of encipherment scheme arbitrarily, and three road control datas of the present invention are to change constantly, and therefore whole ciphering process is to carry out in the encipherment scheme that constantly changes; Even thereby identical need encrypted code is encrypted repeatedly in ciphering process, its password also may repeat hardly, but, with respect to certain encrypted code in a flash, because control data moment is constant, therefore in the encipherment scheme corresponding, need encrypted code all to have unique password corresponding with it arbitrarily, our foundation that can correctly decipher that Here it is with control data.
The source of control data of the present invention has three kinds:
1) enters read-write register WR by external world's input random data A serial, the loop-around data that exports T1 control ROM ' output to is done to export RT to after replacement changes, after doing replacement by another group loop-around data of RT output control ROM ' output again, output to KR as control data respectively through R 1, R 2, R 3Control needs encrypted code to do to replace, be listed as exchange, row exchange, thereby realizes encryption, and simultaneously, random data is inserted into by CPU control WR and needs to decipher for deciphering side in the encrypted code.
2) sampled data is taked from the need encrypted code by WR, encrypts control through above-mentioned same process.
3) program control data need not sampling and insertion because of being that both sides arrange, and can directly enter KR and then control ciphering process respectively.Concrete operations of the present invention are sketched in following:
1, after the present invention received encrypted instruction, CPU was from E 2 'The relevant parameter that accesses encryption and decryption both sides agreement among the PROM is controlled encryption.Wherein have to encrypt to begin to count code, first group of control routine etc., the partly about usual practice of encryption and decryption both sides is summarized as follows:
Encrypting grouping carries out.Every group of actual encrypted length K 1Determine by low 5 bit value of this group control routine+constant a.Under organize control routine at particular row K 2=K 1-(the high three-bit value of this group control routine) read from the need enciphered data by WR.Two circulations that every group of required control data controlled among the ROM ' by control routine produce, and rule is as follows: when control routine changes, pass through T 1First circulation to change the back according to sequence of addresses constant in this group, required concrete control data is by passing through T 2Second circulation change replace to produce and to enter KR.The concrete initial address of two circulations is set by the user.
2, in ciphering process, the control routine that changes is encrypted notice deciphering side, back in advance by encryption side, so that follow-up deciphering.
3, encrypt when finishing, encryption side inserts end code and redefine startup next time relevant parameter and encrypts notice deciphering side, back.
In sum, the present invention includes 2 for a concrete N bit encryption device N* N! * N! Kind different encipherment schemes, ciphering process are constantly to change in above-mentioned encipherment scheme, thereby have the reliability of encryption height, and be simple to operate, automaticity is high, can be widely used in fields such as national defence, finance, commerce, computer and make encryption device.

Claims (4)

1, a kind of digital three control-state combination time-varying ciphering method is characterized in that in ciphering process control data is corresponding one by one with encipherment scheme, realizes that with the control data that constantly changes the not stall of encipherment scheme is changed.
2, a kind of digital three control-state combination time-varying ciphering device, comprise plain code input circuit 1, translation circuit 2, circuit 3 is inserted in sampling, control processing circuit 4, it is characterized in that the expressly output of input circuit connects the input of translation circuit 2 and sampling insertion circuit 3 respectively, the output that circuit 3 is inserted in sampling connects the input of control and treatment circuit 4 and the expressly output of input circuit 1 respectively, the output of control and treatment circuit 4 connects the control input end of translation circuit 2, and plain code input circuit 1 is by random memory ram, and input interface IR constitutes; Translation circuit 2 is by controlled not gate T, registers group V 1R, V 2R, swap gate net V 1, V 2, electronic switch J 1Output interface OR constitutes, and sampling is inserted circuit 3 and is made of read-write register WR, and control processing circuit 4 is by controlled not gate T 1, T 2, register R 1, R 2, R 3, RT, KR, read-only memory ROM, central processor CPU, electric erasable read-only memory E 2PROM, electronic switch J 2Constitute.
3, a kind of digital three control-state combination time-varying ciphering device according to claim 2, the effect that it is characterized in that swap gate V is under the control of control data, the position that need exchange encrypt data are arrived exchanges or non-commutative selection.
4, a kind of digital three control-state combination time-varying ciphering device according to claim 2, the effect that it is characterized in that controlled not gate T is under the control of control data X, need is replaced enciphered data carry out the replacement of data bit or the selection of not replacing.
CN 98112343 1998-02-13 1998-02-13 Digital multi-changeable enciphering method and device while three control-state combination Pending CN1226109A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 98112343 CN1226109A (en) 1998-02-13 1998-02-13 Digital multi-changeable enciphering method and device while three control-state combination

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 98112343 CN1226109A (en) 1998-02-13 1998-02-13 Digital multi-changeable enciphering method and device while three control-state combination

Publications (1)

Publication Number Publication Date
CN1226109A true CN1226109A (en) 1999-08-18

Family

ID=5222204

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 98112343 Pending CN1226109A (en) 1998-02-13 1998-02-13 Digital multi-changeable enciphering method and device while three control-state combination

Country Status (1)

Country Link
CN (1) CN1226109A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104243148A (en) * 2013-06-24 2014-12-24 中科英华湖州工程技术研究中心有限公司 Encryption method and encryption device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104243148A (en) * 2013-06-24 2014-12-24 中科英华湖州工程技术研究中心有限公司 Encryption method and encryption device

Similar Documents

Publication Publication Date Title
US5008935A (en) Efficient method for encrypting superblocks of data
CN106850221B (en) Information encryption and decryption method and device
US20070266067A1 (en) Pseudo Random Number Generator
JPH08248879A (en) Method and apparatus for encryption by using two keys
CN101739889A (en) Cryptographic processing apparatus
CN107579813A (en) information encryption and decryption method and device
KR20080031906A (en) Method of symmetric key data encryption
HU227781B1 (en) Symmetric key cryptographic apparatus and method for encryption and decryption of information
CN1202478C (en) Microprocessor system and method for operating microprocessor system
Li et al. Cryptanalysis of an image encryption using 2D Henon-Sine map and DNA approach
CN101116081A (en) Method and system for microprocessor data security
CN107798708A (en) A kind of out of order codings of DNA and the image encryption and decryption method of chaotic maps
CN104732159A (en) File processing method and file processing device
CN109426731A (en) The method for protecting data
Kumar et al. A novel approach of symmetric key cryptography
CN103746796A (en) Coprocessor for realizing intelligent card SM4 password algorithm
CN105916141A (en) Self-synchronizing realization system and self-synchronizing realization method for Zu Chongzhi encryption and decryption algorithm
KR100411912B1 (en) Method for the block-encryption of discrete data
CN112231739A (en) Method and system for encrypting and decrypting burning file based on address remapping
CN2342523Y (en) Digital three control state combined variable encrypt machine
CN110086633B (en) Ciphertext anti-tampering method in block chain technology
CN1226109A (en) Digital multi-changeable enciphering method and device while three control-state combination
CN1168058C (en) Data enciphering method for dynamic cipher coding
Kareem et al. A new multi-level key block cypher based on the Blowfish algorithm
CN109471809B (en) FLASH encryption protection method and device of chip, FLASH controller and chip

Legal Events

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