JPS63308432A - Sequence generating method - Google Patents

Sequence generating method

Info

Publication number
JPS63308432A
JPS63308432A JP61111342A JP11134286A JPS63308432A JP S63308432 A JPS63308432 A JP S63308432A JP 61111342 A JP61111342 A JP 61111342A JP 11134286 A JP11134286 A JP 11134286A JP S63308432 A JPS63308432 A JP S63308432A
Authority
JP
Japan
Prior art keywords
shift register
sequence
feedback
output
input
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
JP61111342A
Other languages
Japanese (ja)
Other versions
JPH0573299B2 (en
Inventor
Tetsuya Morizumi
哲也 森住
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.)
Toyo Communication Equipment Co Ltd
Original Assignee
Toyo Communication Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toyo Communication Equipment Co Ltd filed Critical Toyo Communication Equipment Co Ltd
Priority to JP61111342A priority Critical patent/JPS63308432A/en
Publication of JPS63308432A publication Critical patent/JPS63308432A/en
Publication of JPH0573299B2 publication Critical patent/JPH0573299B2/ja
Granted legal-status Critical Current

Links

Abstract

PURPOSE:To reduce information to be stored and to realize an inexpensive deciphering device by feeding the internal state of a shift register back to the shift register through a feedback circuit. CONSTITUTION:An optional sequence is obtained from the feedback shift register 12 by an arithmetic unit which inputs a parameter necessary for sequence generation from an input device and generates a feedback function of another sequence according to the parameter and one sequence stored in a storage device and a controller which inputs the feedback function value to the feedback circuit 13 of the feedback shift register 12 to obtain the optional sequence. Therefore, the simple constitution generates an whole-period sequence or a nonlinear sequence signal wherein 0 and 1 are half and half extremely efficiently.

Description

【発明の詳細な説明】 (監東上の利用分野) 本発明は、データ通信回線上のデータの盗聴等を防ぐ目
的で、コンピュータ或いは符号化された音声等の情報信
号を暗号化する暗号演算を行なうための系列生成方法に
関する。
[Detailed Description of the Invention] (Field of Application of Supervision) The present invention uses cryptographic operations for encrypting information signals such as computer or encoded voice in order to prevent data eavesdropping on data communication lines. The present invention relates to a sequence generation method for carrying out such operations.

(従来技術) 近年、データ回線等を介して行なう通信情報の盗聴、或
いは改ざんを防止するために1通信する当事者のみが知
る暗号鍵によってデータを暗号化して容易に情報内容を
解読でき々いよう圧する手段の会費性が高まって来た。
(Prior art) In recent years, in order to prevent wiretapping or falsification of communication information carried out via data lines, etc., data has been encrypted using an encryption key known only to one party to the communication, making it difficult to easily decipher the information content. The method of pressure has become more and more like a membership fee.

暗号方式に要求される事項は第一に暗号データが生のデ
ータの統計的性質が破壊され、結果として擬似ランダム
化されること。第2に、平文と対応する暗号文が第三者
に入手されたとしても容易に解読されないもの、即ち暗
号攻撃強度評価が高いこと、更には暗号アルゴリズムが
知られかつ暗号文が知られたとしても暗号鍵全数検査以
外に解読方法がなくかつ該暗号鍵全数ができるだけ膨大
であることが掲げられる。
The first requirement for an encryption method is that the statistical properties of the raw data in the encrypted data are destroyed, resulting in pseudo-randomization. Second, even if the plaintext and the corresponding ciphertext are obtained by a third party, they cannot be easily decrypted, that is, the encryption attack strength rating is high, and furthermore, the encryption algorithm is known and the ciphertext is known. There is no decryption method other than checking all the encryption keys, and the total number of encryption keys must be as large as possible.

暗号化方法としては、伝送すべき生の情報信号系列1例
えばテジタル信号のビット系列な所要の暗号鍵に従って
ランダム化するのが一般的であるが、従来この信号系列
をランダム化するための装置としては第2図(a)に示
す如く最大長系列(系列長2n−1,nはシフトレジス
タのフリップフロップの数)を生成する線形シフトレジ
スタが使用されていた。
As an encryption method, it is common to randomize the raw information signal sequence 1 to be transmitted, for example, the bit sequence of a digital signal, according to a required encryption key. Conventionally, as a device for randomizing this signal sequence, As shown in FIG. 2(a), a linear shift register was used which generates a maximum length sequence (sequence length 2n-1, where n is the number of flip-flops in the shift register).

これはシフトレジスタ1の各フリラフフロップ出力をス
イッチ2へ入力し、この出力を排他的論理和3を抽出し
出力となしこの出力4を前記シフトレジスタIKフィー
ドバックせしめるとともに望む暗号信号として出力する
ものである。
This inputs each frill rough flop output of shift register 1 to switch 2, extracts exclusive OR 3 from this output, uses it as an output, and feeds this output 4 to the shift register IK and outputs it as a desired encrypted signal. It is.

このとき前記スイッチ2の0N−OFFのパターンを原
始既約多項式の係数に対応せしめることによって最大長
系列出力を得ることができる。
At this time, the maximum length sequence output can be obtained by making the ON-OFF pattern of the switch 2 correspond to the coefficients of the primitive irreducible polynomial.

この方法は比較的簡単な装置構成によってデータを擬似
ランダムなる暗号データにすることができるが9反面p
lane  text  attack  に対しては
線形連立方程式によって極めて容易に暗号鍵に相当する
前記スイッチ2の0N−OFF  パターンが解読され
てしまうと云う問題があった。
This method can turn data into pseudo-random encrypted data with a relatively simple device configuration, but on the other hand, p
For lane text attacks, there is a problem in that the ON-OFF pattern of the switch 2, which corresponds to the encryption key, can be decoded very easily using simultaneous linear equations.

又、原始既約多項式の数、即ち暗号鍵の数は第2図(b
l K示す如くシフトレジスタの数nによって定まるが
、上述した方式では米国商務省(NH8)公認の暗号で
あるDBSに於ける鍵の数的1016程度にするために
は前記シフトレジスタの数nを膨大なものとしなければ
ならず現実的でない。
Also, the number of primitive irreducible polynomials, that is, the number of encryption keys is shown in Figure 2 (b
As shown in lK, it is determined by the number n of shift registers, but in the method described above, in order to make the number of keys in DBS, which is a cipher approved by the US Department of Commerce (NH8), to be approximately 1016, the number n of shift registers must be It would have to be huge, which would be unrealistic.

この欠点を除去するために、従来第2図(clに示す如
く2nの系列長の全周期系列を生成するための装置を備
えることによって必要とするシフトレジスタの数を大幅
に削減しても所望の暗号鍵の数を得るようにしていた この方法は同図に示すように、シフトレジスタ7の出力
をRAM8へ入力し該RAMの出力を前記シフトレジス
タ7にフィードバックせしめると共に制御装@9.記憶
装&10及び入力装置11とを備え、入力装置からの信
号に従い記憶装置にメモリした複数の全周期系列の帰還
関数値を制御装置内に呼び出し前記シフトレジメタに対
しデータとクロック信号とを出力しかつ、RAMに対し
前記帰還関数をアドレスバスとデータバスとを介して曹
き込むよう構成したものである。また前記制御装置はシ
フトレジスタに初期値を与える働きを付加する。
In order to eliminate this drawback, it is desirable to greatly reduce the number of shift registers required by providing a device for generating a full period sequence with a sequence length of 2n, as shown in FIG. 2 (cl). As shown in the same figure, this method is to input the output of the shift register 7 to the RAM 8, feed back the output of the RAM to the shift register 7, and control the controller @9. 10 and an input device 11, calls the feedback function values of the plurality of full period series stored in the storage device into the control device according to a signal from the input device, and outputs data and a clock signal to the shift register; The feedback function is configured to be loaded into the RAM via an address bus and a data bus.The control device also has the function of providing an initial value to the shift register.

この方式では帰還関数が非線形演算をもとにするためp
lane  text  attack  に対して線
形連立方程式を用いることができず、又暗号鍵の9=晶 数も2  個と非常に多くなるから、暗号方式としての
前記各快求を済す極めて優れた方式と彦る。
In this method, the feedback function is based on nonlinear calculations, so p
Since it is not possible to use simultaneous linear equations for lane text attack, and the number of 9=crystalline numbers of the encryption key is very large, 2, this is an extremely excellent method that achieves each of the above-mentioned advantages as an encryption method. Hikoru.

この方式では一般に記憶装置10には全周期系列に限ら
ず、0,1が172づつになるような非線形なる生成法
による系列の帰還関数値を入れておいてもよいこと明ら
かである。
In this method, it is clear that the storage device 10 is generally not limited to full-period sequences, but may also store feedback function values of sequences based on a nonlinear generation method such as 172 0's and 172's.

しかしながら、上述したような従来の方法では、暗号鍵
に相当する系列を作るためには一般に2nの長さの系列
の帰還関数値のすべてをメモリしておく必要があるが、
その容量が制限される場合多くの系列をメモリできず暗
号鍵を多くできないと云う問題があった。
However, in the conventional method as described above, in order to create a sequence corresponding to an encryption key, it is generally necessary to store all feedback function values of a 2n length sequence in memory.
If the capacity is limited, there is a problem in that many sequences cannot be stored in memory and the number of encryption keys cannot be increased.

即ち、この方式では所望の暗号鍵を得るためにはそれに
応じて記憶装置の容量を膨大なものとし女ければならず
、装置が複雑高価なものとなっていた。
That is, in this method, in order to obtain a desired encryption key, the capacity of the storage device must be increased accordingly, making the device complicated and expensive.

(発明の目的及び概要) 本発明は上述した事情に鑑みてなされたものであって、
僅かなパラメータを記憶しておくのみで暗号鍵に相当す
る系列を一定のアルゴリズムによって自動的に生成する
ことによって、記憶すべき情報が少なくて済み安価な暗
号装置をもたらしうる系列生成方法を提供することを目
的とする。
(Object and outline of the invention) The present invention has been made in view of the above-mentioned circumstances, and includes:
To provide a sequence generation method that requires less information to be memorized and can provide an inexpensive cryptographic device by automatically generating a sequence corresponding to an encryption key using a certain algorithm while only storing a few parameters. The purpose is to

(実施例) 以下1本発明を図示した実施例に基づいて詳細に説明す
る。
(Example) The present invention will be described in detail below based on an illustrated example.

第1図(a)は本発明に係かる系列生成装置の原理を説
明するためのブロック図であって、シフトレジスタ12
の内部状態Xを帰還回路13を介してその出力f (x
iを前記シフトレジスタ12ヘフィードバックするよう
構成したものである。
FIG. 1(a) is a block diagram for explaining the principle of the sequence generation device according to the present invention, in which the shift register 12
The internal state X of is passed through the feedback circuit 13 to its output f (x
i is configured to feed back to the shift register 12.

この場合の帰還シフトレジスタの状pxと帰還関数f 
(xiとの関係の一例を第1図(blに示す。
In this case, the shape of the feedback shift register px and the feedback function f
(An example of the relationship with xi is shown in FIG. 1 (bl).

同、この例は3ビツト系列の場合である。第1図(cl
 Id (bl図に基づいて帰還シフトレジスタの状態
の変化を説明した図であって、一般に状態遷移図と呼ば
れるものである。この図では遷移図中の各節点が夫々の
状態を示し、矢印機の数字は帰還関数値を示す。
Similarly, this example is for a 3-bit series. Figure 1 (cl.
This is a diagram that explains changes in the state of the feedback shift register based on the Id (bl diagram, and is generally called a state transition diagram. In this diagram, each node in the transition diagram indicates its respective state, and the arrows indicate The numbers indicate the feedback function values.

第1図(diは第1図1(blに於ける状態Xについて
x=(010) x = (100) の時の帰還関数値、f(010)−〇 、f(Zoo)
−1の補数をとったもので 、1(oio)=1 f (100)=0 とした図である。
Figure 1 (di is the feedback function value when x = (010) x = (100) for state X in Figure 1 (bl), f (010) - 〇, f (Zoo)
-1's complement is taken, and it is a diagram where 1(oio)=1 f (100)=0.

第1図(elは、第1図(diの状態遷移図である。FIG. 1 (el is a state transition diagram of FIG. 1 (di).

第1図(clと第1図(elを比較するとR還関数を何
らかの規則で変換すれば異なる系列を生成できうろこと
明らかでろろう。
Comparing Figure 1 (cl) and Figure 1 (el), it is clear that different series can be generated by converting the R-reduction function according to some rules.

即ち、系列変換の規則を記憶しておき、入力パラメータ
によって給1図(blの帰還関数値を変換すればよい。
That is, it is sufficient to memorize the rules for series conversion and convert the feedback function value of bl according to the input parameters.

この実施例では系列変換規則は指定した帰還関数値の補
数を計算するようにしたものであυ、入力パラメータは
Xの値と個数である。
In this embodiment, the series conversion rule is such that the complement of the specified feedback function value is calculated υ, and the input parameters are the value and number of X.

本実施例変換によると2例えば状態の初期値がX=(1
11)  のとき第1図(a)の系列出力はすべて1で
ある。
According to the conversion of this embodiment, the initial value of the state is 2. For example, the initial value of the state is
11) When , all the series outputs in FIG. 1(a) are 1.

この事実は1本系列生成方式を暗号手段として利用する
場合に次の制限な費することを意味する。
This fact means that when using the single sequence generation method as an encryption method, the following restrictions apply.

第1図げ)は同期型帰還シフトレジスタ方式の系列生成
装置の一実施例を示すブロック図である。
FIG. 1) is a block diagram showing an embodiment of a sequence generation device using a synchronous feedback shift register method.

送信側装置14は、シフトレジスタ15の出力16を帰
還回路17へ入力し、該回路の出力ヲ前記シフトレ/ス
タ15ヘフイードバソクすると共にこの出力と入力デー
タとを排他的論理和回路18に入力し、この回路の出力
を暗号信号として出力するが、受信gA11との同期を
とるために同期信号発生器19の同期信号を混合器2゜
に於いて前記暗号信号出刃に重畳して伝送信号とする。
The transmitting device 14 inputs the output 16 of the shift register 15 to the feedback circuit 17, feeds the output of the circuit to the shift register/star 15, and inputs this output and input data to the exclusive OR circuit 18, The output of this circuit is output as a coded signal, and in order to synchronize with the receiving gA11, a synchronizing signal from a synchronizing signal generator 19 is superimposed on the coded signal in a mixer 2° to form a transmission signal.

一方受信側装置21では、シフトレジスタ22の出力を
帰還回路23を介して再び前記シフトレジスタ22にフ
ィードバックするよう構成した閉ループ回路の前記シフ
トレジスタ22の入力に、前記送信側装置から送られた
暗号信号のうちから同期信号を分離回路24によって分
離し受信データ信号のみを入力し1分離した同期信号は
同期信号制御装置25に入力する。又。
On the other hand, in the receiving side device 21, the code sent from the transmitting side device is input to the input of the shift register 22 of a closed loop circuit configured to feed back the output of the shift register 22 to the shift register 22 via the feedback circuit 23. A sync signal is separated from the signals by a separation circuit 24, only the received data signal is input, and the sync signal separated by one is input to a sync signal control device 25. or.

前記シフトレジスタ22は同期信号制御装置によシ生成
した初期値及び同期信号によって制御され送信側装置と
の同期がはかられる。更に。
The shift register 22 is controlled by an initial value and a synchronization signal generated by a synchronization signal control device, and is synchronized with the transmitting device. Furthermore.

前記分離回路24とシフトレジスタ22の入力との間に
は排他的論理和回路26を挿入し、暗号データ27と前
記帰還(ロ)路23の出力の排他的論理和を求め、これ
が復調信号出刃となる。
An exclusive OR circuit 26 is inserted between the separation circuit 24 and the input of the shift register 22, and the exclusive OR of the encrypted data 27 and the output of the feedback path 23 is calculated, and this is used as the demodulated signal. becomes.

この方式は、平文データ列をPi 、帰還シフトレジス
タ出力系列をSi、暗号データ列をCiとすれば。
In this method, the plaintext data string is Pi, the feedback shift register output string is Si, and the encrypted data string is Ci.

暗号化; Ci=P i +S i  (mod2 )
復号化;Pi=Ci+Si  (mod2)となるため
、系列Siが初期値によって1例えば全て1となっては
暗号装置として利用できない。
Encryption; Ci=P i +S i (mod2)
Decoding: Pi=Ci+Si (mod 2), so if the sequence Si becomes 1 depending on the initial value, for example, all 1s, it cannot be used as an encryption device.

そこで、この実施例では、第1図(glに示すような自
己同期型帰還シフトレジスタとして使用する。
Therefore, in this embodiment, it is used as a self-synchronous feedback shift register as shown in FIG.

第1図(glの構成は、送信(llI 装置28では、
シフトレジスタ29 、帰還回路30及び排他的論理回
路31とを前述の例と同様に接続したもので、受信1l
lI装置32も又同様にシフトレジスタ33、帰還回路
34及排他的論理回路35とから構成したものであって
、前記第1図げ)と異なるのは同期信号を伝送しない構
成点である。
FIG. 1 (The configuration of gl is transmission (llI device 28,
A shift register 29, a feedback circuit 30, and an exclusive logic circuit 31 are connected in the same way as in the above example, and the reception 1l
The II device 32 is also composed of a shift register 33, a feedback circuit 34, and an exclusive logic circuit 35, and differs from the first embodiment in that it does not transmit a synchronizing signal.

第1図(glは自己同期型帰還シフトレジスタを用いる
場合であって、これはシフトレジスタが自己で閉じてお
らず、外部からの信号との和が入力するのでシフトレジ
スタの状態は外部信号によって刻々と変化する。この時
、帰還関数値が1.0を1/2つつ持つ様にすれば、暗
号データは擬似ランタ゛ム化され、暗号データとして良
好な性質となる。
Figure 1 (gl) shows the case where a self-synchronized feedback shift register is used; in this case, the shift register does not close by itself, and the sum of the external signal is input, so the state of the shift register is determined by the external signal. At this time, if the feedback function value is set to 1/2 of 1.0, the encrypted data is converted into a pseudo-random, and has good properties as encrypted data.

本実施例の系列生成の原理に基づき系列生成装置を構成
すると、第1図(hlに示す様になる。
When a sequence generation device is configured based on the sequence generation principle of this embodiment, it becomes as shown in FIG. 1 (hl).

シフトレジスタ36出力は切替装置37へ入力され、切
替装置37出カは一時記憶装置38へ入力される。該出
力と入力データ39は排他的論理和回路40へ入力され
該出力系列41として出力されかつシフトレジスタ36
へf@還される。制御装置42は入力装置43.記憶装
置44及び演算装flt45と接続され、シフトレジス
タ37ヘクロツク46とデータ47を出力し、切替装置
137にアドレス48及び切替信号49を出力し、一時
記憶装置38ヘテータ45′を出力する。
The output of the shift register 36 is input to a switching device 37, and the output of the switching device 37 is input to a temporary storage device 38. The output and input data 39 are input to an exclusive OR circuit 40 and output as the output series 41, and the shift register 36
It will be returned to f@. The control device 42 includes an input device 43. It is connected to a storage device 44 and an arithmetic unit flt 45, outputs a clock 46 and data 47 to a shift register 37, outputs an address 48 and a switching signal 49 to a switching device 137, and outputs a temporary storage device 38 to a hetator 45'.

次に本構成の動作を説明すると、制御装置42は入力装
置43より系列変換のパラメータを入力し、記憶装置4
4に記憶した。ただ1個の系列の帰還関数値と共に制御
装置42に記憶した系列生成アルゴリズムによって、演
算装置45を用いて系列変換する。次に生成した系列の
帰還関数値を切替装置37をアドレス481111とし
て一時記憶装&38ヘデータ45を通して書き込む。最
後に制御装置42は切替装置37をシフトレジスタ36
0111に切替、データ47を用いてシフトレジスタ3
6の初期値を入力し、クロック46をシフトレジスタ3
6へ供給し、入力データ39を暗号化した系列41を作
る。
Next, to explain the operation of this configuration, the control device 42 inputs parameters for series conversion from the input device 43, and
I memorized it in 4. The sequence is converted using the arithmetic unit 45 according to the sequence generation algorithm stored in the control unit 42 along with only one sequence of feedback function values. Next, the feedback function value of the generated series is written to the temporary storage device &38 through the data 45 using the switching device 37 as the address 481111. Finally, the control device 42 switches the switching device 37 to the shift register 36.
Switch to 0111, shift register 3 using data 47
Input the initial value of 6 and shift clock 46 to shift register 3.
6 to create a sequence 41 that encrypts the input data 39.

復号化回路は第1図(glの受信側に示した帰還シフト
レジスタを用いるよう構成される事上述した通りである
The decoding circuit is configured to use the feedback shift register shown on the receiving side of FIG. 1 (gl) as described above.

制御装置か記憶する系列生成アルゴリズムを第1図iに
記す。
The sequence generation algorithm stored in the control device is shown in FIG.

先に述べた実施例は系列生成の一般論であったが、記憶
する系列の帰還関数値と入力パラメータを特別なものに
する事によって同期、非同期型帰還シフトレジスタのど
ちらにも使える系列生成法を構成する事ができる。
The above-mentioned embodiment was a general theory of sequence generation, but the sequence generation method can be used for both synchronous and asynchronous feedback shift registers by making the feedback function value and input parameters of the sequence to be stored special. can be configured.

以下にこのことを図面を用いて詳細に説明する。This will be explained in detail below using the drawings.

第1図(itでシフトレジスタ50の状態Xは帰還回路
51へ入力され、帰還回路51出力をシフトレジスタ5
0へ帰還される。第1図jはシフトレジスタの状&Xと
帰還関数値f (xiの一例で、これは全周期系列(系
列長2n、但しnはシフトレジスタのフリップ7aツブ
数)の1つである。
In FIG. 1 (it), the state
Returned to 0. FIG. 1j is an example of the shift register shape &X and the feedback function value f (xi), which is one of the full period series (sequence length 2n, where n is the number of flips 7a of the shift register).

第1図(klは第1図U)の状態遷移図である。全周期
系列はシフトレジスタから作られる最大長の系列であシ
、状態は2n個となって状態遷移図はただ1つの閉路と
して表現される。つまシいかなる初期値からはじまって
も常に状態Fi、1つの閉路内にあり、帰還関数値の0
.1が172づつとなっているため暗号回路として非同
期型帰還シフトレジスタとして使えるばかりでなく、同
期型帰還シフトレジスタとしても使用可能である。
FIG. 1 is a state transition diagram of FIG. 1 (kl is U in FIG. 1). The full period sequence is the maximum length sequence created from the shift register, has 2n states, and the state transition diagram is expressed as only one cycle. No matter what initial value it starts from, it is always in the state Fi, in one cycle, and the feedback function value is 0.
.. Since the number of 1's is 172, it can be used not only as an asynchronous feedback shift register as a cryptographic circuit, but also as a synchronous feedback shift register.

次に全周期系列から別の全周期系列を生成するアルゴリ
ズムを説明する。
Next, an algorithm for generating another all-periodic sequence from an all-periodic sequence will be explained.

第1図(itはシフトレジスタ50の状態xを帰還回路
51へ入力し、帰還値f (x)をシフトレジスタ50
へ帰還すると共に系列出力52を得るものである。第1
図U)は全周期系列の中の1つの状態と帰還関数f (
xlのテーブルである。第1図(kl Fi第1図(j
lの状態遷移図である。同図(klを用いて別の全周期
系列を作る一例を示す。
FIG. 1 (it inputs the state x of the shift register 50 to the feedback circuit 51, and the feedback value f (x)
In this case, a series output 52 is obtained. 1st
Figure U) shows one state in the total periodic sequence and the feedback function f (
xl table. Figure 1 (kl FiFigure 1 (j
1 is a state transition diagram of l. The same figure (shows an example of creating another full period sequence using kl).

、N==2n nFiシフトレジスタのフリップフロッ
プ数)を計算する。
, N==2n (the number of flip-flops in the nFi shift register).

この場合、3+2”/2=7  となる。次に帰還関数
f(Xi)、 f(Xi”)  の補数を取ると了(x
i)=O fcXi”)−1 となり、この様に帰還関数を変換する事で、状態遷移図
は、001,010,100,000,001及び10
1,011,111,110,101  なる2閉路に
分離される。次にX J 、 X >” (X J″−
x、+N/2)がそれぞれ上記2閉路上にある様に選ぶ
In this case, 3+2"/2=7. Next, taking the complement of the feedback functions f(Xi) and f(Xi"), we get (x
i)=O fcXi")-1, and by converting the feedback function in this way, the state transition diagram becomes 001,010,100,000,001 and 10
It is separated into two circuits: 1,011,111,110,101. Next, X J , X >” (X J”−
x, +N/2) are selected so that they are each on the above two-circuit path.

たとえば。for example.

Xj−2 XJ“=2+272=6 として 、f(Xj)−1 了(xJ′)=0 この様に前記2閉路を変換すると、状態Xと帰還関数f
(幻の関係は第1図(llに示す様になり。
Assuming that Xj-2
(The phantom relationship is as shown in Figure 1.

状態遷移図は第1図Hの様に再び1つの閉路。The state transition diagram is once again a single cycle, as shown in Figure 1H.

すなわち全周期系列となる。前記アルゴリズムケまとめ
ると、第1図(nlに示す様になる。
In other words, it becomes a full period series. The above algorithm can be summarized as shown in Figure 1 (nl).

本実施例2の原理に基すいた自己周期型帰還シフトレジ
スタの構成は、実施例1に於ける第1図(hlと基本的
に同様である。
The configuration of the self-periodic feedback shift register based on the principle of the second embodiment is basically the same as that shown in FIG. 1 (hl) in the first embodiment.

更に同期型帰還シフトレジスタとするには。Furthermore, to make it a synchronous feedback shift register.

第1図(0)の様な構成を取れば良い。すなわち。It is sufficient to adopt a configuration as shown in FIG. 1 (0). Namely.

シフトレジスタ52の出力を切替装置53へ入力し、切
替装置53出力を一時記憶装置54へ入力する。一時記
憶装置出力と、入力データ55を排他論理和56へ入力
し、出力系列57とする。壕だ一時記憶装置54出力は
シフトレジスタ52へ帰還されろ。制御装置58は記憶
装置59、入力装置60 、演算装+w61.同期回路
62、と接続され、この同期[U路62出力を混合器に
よって前記出力系列信−号に重畳して暗号イg号として
伝送する。
The output of the shift register 52 is input to the switching device 53, and the output of the switching device 53 is input to the temporary storage device 54. The temporary storage device output and the input data 55 are input to an exclusive OR 56 to form an output series 57. The output of the temporary storage device 54 is fed back to the shift register 52. The control device 58 includes a storage device 59, an input device 60, an arithmetic unit +w61. The synchronization circuit 62 is connected to the synchronization circuit 62, and the output of the synchronization U circuit 62 is superimposed on the output series signal by a mixer and transmitted as the encrypted code.

以上の構成の動作及び操作は上述した第1図fhlげ)
に図示したものとほぼ同様でろる。
The operation and operation of the above configuration is shown in Figure 1 fhl above.)
It is almost similar to the one shown in the figure.

(発明の効果) 本発明は以上説明したように構成しかつ機能させるもの
であるから、F@号化にあたっての全周期系夕11或い
は全周期系列に限らず0.1が1/2づつになるような
非線形なる系列信号を簡単な′JpI成によって極めて
効率よく生成することができるから極めて安価かつ簡単
な構成によってすぐれた暗号装置をもたらすうえで著効
を奏する。
(Effects of the Invention) Since the present invention is configured and functions as explained above, 0.1 is not limited to the full period system 11 or the full period sequence in F@ coding, but 0.1 is converted by 1/2. Since such a nonlinear sequence signal can be generated extremely efficiently by a simple 'JpI configuration, it is extremely effective in providing an excellent cryptographic device with an extremely inexpensive and simple configuration.

【図面の簡単な説明】[Brief explanation of drawings]

あって、 (al (gl fhluへひ(りは暗号生
成装置の一部分を示すブロック図fbl fdl (j
 l (/l rj:シフトレジスタの内容と帰還関数
との関係の一例を示す図、(C)(el(kl−は状態
遷移図(pi (nlはアルゴリズムを説明するフロー
チャート図、第2図(al (bl及び(C1は従来の
暗号生成方法を示すためのブロック図、フリッツフロノ
ブの内容と帰還関数との関係を示す図である。 12.15.22,29.33.36.50・・・・・
・・・・シフトレジスタ。 13.3(+ 、34.17.23・・・・・・・・・
帰還回路。 43・・・・・・・・・入力装置。 特許出願人  東洋通信機株式会社 o ooo、、、、 第  1  ロ (Cン 第  z7 手続補正書 1、事件の表示 昭和61年 特許 願第111342  号2、発明の
名称       系列生成方法3、補正をする者 事件との関係   出願人
(al (gl fhlu)) is a block diagram fbl fdl (j
l (/l rj: A diagram showing an example of the relationship between the contents of the shift register and the feedback function, (C) (el (kl- is a state transition diagram (pi) (nl is a flowchart diagram explaining the algorithm, Fig. 2 ( al (bl and (C1 is a block diagram showing the conventional cryptographic generation method, and a diagram showing the relationship between the contents of Fritzfronob and the feedback function. 12.15.22, 29.33.36.50.・・・・・・
...Shift register. 13.3 (+, 34.17.23...
feedback circuit. 43... Input device. Patent Applicant: Toyo Tsushinki Co., Ltd. o ooo,... No. 1 B (C No. Z7 Procedural Amendment 1, Indication of Case 1986 Patent Application No. 111342 2, Title of Invention Series Generation Method 3, Amendment Relationship with the applicant's case

Claims (2)

【特許請求の範囲】[Claims] (1)系列生成のために必要なパラメータを入力装置よ
りとり込み、そのパラメータと記憶装置内に記憶した1
つの系列を元に他の系列の帰還関数を生成する演算装置
と、帰還関数値をフィードバックシフトレジスタの帰還
回路に入力し、又装置全体を制御する制御装置によって
フィードバックシフトレジスタから任意の系列を得るよ
うにしたことを特徴とする系列生成方法。
(1) Take in the parameters necessary for sequence generation from the input device, and store the parameters and 1 in the storage device.
An arithmetic device that generates a feedback function for another series based on one series, and a control device that inputs the feedback function value into the feedback circuit of the feedback shift register and controls the entire device to obtain an arbitrary series from the feedback shift register. A sequence generation method characterized by:
(2)上記パラメータに制限を加え、記憶装置内の系列
を全周期系列とすることによって、全周期系列を生成す
ることを特徴とした特許請求の範囲第1項記載の系列生
成方法。
(2) A sequence generation method according to claim 1, characterized in that a full-cycle sequence is generated by adding restrictions to the parameters and making the sequence in the storage device a full-cycle sequence.
JP61111342A 1986-05-15 1986-05-15 Sequence generating method Granted JPS63308432A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61111342A JPS63308432A (en) 1986-05-15 1986-05-15 Sequence generating method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61111342A JPS63308432A (en) 1986-05-15 1986-05-15 Sequence generating method

Publications (2)

Publication Number Publication Date
JPS63308432A true JPS63308432A (en) 1988-12-15
JPH0573299B2 JPH0573299B2 (en) 1993-10-14

Family

ID=14558763

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61111342A Granted JPS63308432A (en) 1986-05-15 1986-05-15 Sequence generating method

Country Status (1)

Country Link
JP (1) JPS63308432A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5703952A (en) * 1992-12-30 1997-12-30 Telstra Corporation Limited Method and apparatus for generating a cipher stream
JP2001237825A (en) * 1999-11-30 2001-08-31 St Microelectronics Sa Electronic safety component

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5916441A (en) * 1982-07-20 1984-01-27 Nec Corp Scrambler

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5916441A (en) * 1982-07-20 1984-01-27 Nec Corp Scrambler

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5703952A (en) * 1992-12-30 1997-12-30 Telstra Corporation Limited Method and apparatus for generating a cipher stream
JP2001237825A (en) * 1999-11-30 2001-08-31 St Microelectronics Sa Electronic safety component

Also Published As

Publication number Publication date
JPH0573299B2 (en) 1993-10-14

Similar Documents

Publication Publication Date Title
KR100657062B1 (en) Method for encrypting information and device for realization of the method
EP0227318B1 (en) Encryption/decryption system
AU683325B2 (en) System and apparatus for blockwise encryption/decryption of data
US5295188A (en) Public key encryption and decryption circuitry and method
US5214703A (en) Device for the conversion of a digital block and use of same
US20020101996A1 (en) Variable-length key cryptosystem
US5696826A (en) Method and apparatus for encrypting and decrypting information using a digital chaos signal
US20070195948A1 (en) Method and device for the encryption and decryption of data
JPH05500298A (en) encryption device
JPS5873257A (en) Encoding device
JPS6014353B2 (en) digital signature device
JP2001251287A (en) Confidential transmitting method using hardware protection inside secret key and variable pass code
DK170266B1 (en) Encryption system and method for encryption and decryption
US4797922A (en) Method of, and apparatus for, transforming a digital data sequence into an encoded form
US6128386A (en) Multiple number base encoder/decoder using a corresponding exclusive or function
JP2000209195A (en) Cipher communication system
GB2124808A (en) Security system
JPS63308432A (en) Sequence generating method
JPH04335730A (en) Random ciphering communication system
KR100226867B1 (en) Stream cipher system of wireless communication
JPH1084339A (en) Communication method for stream cryptograph and communication system
JPS62178086A (en) Enciphering device
JPH09233065A (en) Ciphering device and ciphering method
JPS6259437A (en) Ciphering system
JPH057202A (en) Enciphering communication equipment and enciphering transmission system