JPH09200197A - Synchronization stream ciphering device and decoder applied to the device - Google Patents

Synchronization stream ciphering device and decoder applied to the device

Info

Publication number
JPH09200197A
JPH09200197A JP8003628A JP362896A JPH09200197A JP H09200197 A JPH09200197 A JP H09200197A JP 8003628 A JP8003628 A JP 8003628A JP 362896 A JP362896 A JP 362896A JP H09200197 A JPH09200197 A JP H09200197A
Authority
JP
Japan
Prior art keywords
random number
synchronization
encrypted data
state
decoder
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
JP8003628A
Other languages
Japanese (ja)
Inventor
Keiichi Kuroda
圭一 黒田
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP8003628A priority Critical patent/JPH09200197A/en
Publication of JPH09200197A publication Critical patent/JPH09200197A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide the ciphering device by which the possibility of invasion to security is considerably precluded. SOLUTION: A ciphering device 1 calculates ciphered data based on received data and a 1st random number string generated from a random number source 11. Oh the other hand, a decoder 2 decodes the ciphered data based on the ciphered data and a 2nd random number string generated from a random number source 21 and provides an output of data. Furthermore, the decoder 2 is provided with a storage circuit 22 storing sequentially the 2nd random number string and a control circuit 25 extracting a desired random number from the storage circuit 22 to recover synchronization when the synchronization between the ciphering device 1 and the decoder 2 is deviated.

Description

【発明の詳細な説明】Detailed Description of the Invention

【発明の属する技術分野】本発明は、暗号器と復号器と
の間で強制的に同期をとる必要がある同期式ストリーム
暗号装置およびその装置に適用される復号器に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a synchronous stream cipher device which requires forcible synchronization between an encryption device and a decryption device and a decoding device applied to the device.

【0001】[0001]

【従来の技術】従来、同期式ストリーム暗号装置は、通
信内容の第三者への漏洩を防止することを目的として用
いられている。その特徴として、通信中は暗号器と復号
器でその内部状態を常に同期させていなければならな
い。そのため、復号器には同期状態の判定機能が備えら
れ、暗号器と復号器には双方の内部状態を強制的に同期
させる機能が備えられている。
2. Description of the Related Art Conventionally, a synchronous stream encryption device has been used for the purpose of preventing leakage of communication contents to a third party. The feature is that the internal state must be always synchronized between the encoder and the decoder during communication. Therefore, the decryptor is provided with the function of determining the synchronization state, and the encoder and the decryptor are provided with the function of forcibly synchronizing the internal states of both.

【0002】図3は、従来の同期式ストリーム暗号装置
の構成を示す図であり、暗号器1は、暗号化の際に使用
される乱数列を発生する乱数源11と、乱数源11から
発生した乱数と外部から入力されたデータ列を演算して
暗号化データ列を算出する排他的論理和12と、乱数源
11および復号器2側の乱数源21に対して内部状態を
発生し設定する内部状態発生設定回路13とを備えてい
る。
FIG. 3 is a diagram showing the configuration of a conventional synchronous stream cipher apparatus. The cipher device 1 generates a random number sequence used for encryption, and a random number source 11 generates the random number sequence. The internal state is generated and set with respect to the exclusive OR 12 that calculates the encrypted data string by calculating the random number and the data string input from the outside and the random number source 11 and the random number source 21 on the side of the decoder 2. The internal state generation setting circuit 13 is provided.

【0003】一方、復号器4は、復号化の際に使用され
る乱数列を発生する乱数源21および乱数源21から発
生した乱数と回線3から入力された暗号化データ列を演
算して元のデータ列を算出する排他的論理和24を備え
る。さらに、暗号化データ列に含まれる情報と乱数源2
1の発生する乱数列を比較して乱数源21の同期状態を
判定する同期判定回路41と、同期判定回路41の制御
により回線3を介して内部状態発生設定回路13から送
られた新しい内部状態を乱数源21に設定する再同期回
路26とを備える。
On the other hand, the decryptor 4 calculates a random number source 21 for generating a random number sequence used in decryption, a random number generated by the random number source 21 and an encrypted data sequence input from the line 3 to obtain the original. The exclusive OR 24 for calculating the data string of Furthermore, the information contained in the encrypted data sequence and the random number source 2
1. The synchronization determination circuit 41 that compares the random number sequence generated by 1 to determine the synchronization state of the random number source 21, and the new internal state sent from the internal state generation setting circuit 13 via the line 3 under the control of the synchronization determination circuit 41. Of the random number source 21.

【0004】通常の状態では、暗号器1の乱数源11と
復号器4の乱数源21とは同期しており、乱数源11の
発生する乱数列とデータ列を排他的論理和12に入力し
て得られる暗号化データ列は、回線3を介して復号器4
に送られる。そして、乱数源21の発生した乱数列とと
もに暗号化データ列は、排他的論理和24に入力され、
元のデータ列が得られる。
In a normal state, the random number source 11 of the encryption device 1 and the random number source 21 of the decryption device 4 are synchronized, and the random number sequence and the data sequence generated by the random number source 11 are input to the exclusive OR 12. The encrypted data string obtained by the above is transferred to the decoder 4 via the line 3.
Sent to Then, the encrypted data sequence together with the random number sequence generated by the random number source 21 is input to the exclusive OR 24,
The original data string is obtained.

【0005】回線3の障害等により、一旦、暗号器1の
乱数源11と復号器4の乱数源21との同期が崩れる
と、復号器4の出力するデータ列は、暗号器1に入力さ
れたデータ列には戻らない。この状態は、非同期状態と
して、同期判定回路41により検出される。非同期状態
は、復号器4から暗号器1の内部状態発生設定回路13
へ回線3を介して送られる。内部状態発生設定回路13
は、新しい内部状態を発生し乱数源11にそれを設定す
ると同時に、回線3を介してその新しい内部状態を復号
器4へ送出する。復号器4では、同期判定回路41によ
って非同期状態が再同期回路26にも伝えられており、
再同期回路26は、回線3を介して受け取った新しい内
部状態を乱数源21に設定する。これにより、暗号器1
の乱数源11と復号器4の乱数源21との同期は回復さ
れ通常の状態に復帰する。
Once the random number source 11 of the encryptor 1 and the random number source 21 of the decryptor 4 are broken due to a failure of the line 3, the data string output from the decryptor 4 is input to the encryptor 1. It does not return to the data column. This state is detected by the synchronization determination circuit 41 as an asynchronous state. As for the asynchronous state, the internal state generation setting circuit 13 of the decryptor 4 to the encryptor 1 is used.
To line 3 via. Internal state generation setting circuit 13
Generates a new internal state and sets it in the random number source 11, and at the same time sends the new internal state to the decoder 4 via the line 3. In the decoder 4, the asynchronous state is also transmitted to the resynchronization circuit 26 by the synchronization determination circuit 41,
The resynchronization circuit 26 sets the new internal state received via the line 3 in the random number source 21. As a result, the encryption device 1
The synchronization between the random number source 11 and the random number source 21 of the decoder 4 is restored and the normal state is restored.

【0006】また、特開平1−243634号公報に開
示された従来の同期方式によれば、回線を介して送受信
する制御情報に対して疑似乱数列との非線形演算を施す
ことによって、回線上の疑似乱数列との非線形演算が施
された制御情報が第三者に漏洩したとしても、第三者が
それによって制御情報そのものを直接知ることを防いで
いる。したがって、この従来の暗号化装置は、第三者に
よる乱数源の解析を困難にさせ、安全性を高めている。
Further, according to the conventional synchronization system disclosed in Japanese Patent Laid-Open No. 1-243634, the control information transmitted / received through the line is subjected to a non-linear operation with a pseudo random number sequence, so that the control information on the line is transmitted. Even if the control information subjected to the non-linear operation with the pseudo-random number sequence leaks to a third party, it prevents the third party from directly knowing the control information itself. Therefore, this conventional encryption device makes it difficult for a third party to analyze the random number source and enhances security.

【0007】[0007]

【発明が解決しようとする課題】従来の暗号装置では、
暗号器と復号器の同期が崩れた場合に回線を介して内部
状態を伝送し、強制的に同期を回復させている。しかし
ながら、内部状態を伝送することは、第三者に内部状態
を漏洩することを意味しており、第三者は、この伝送さ
れた内部状態と暗号化データ列を手掛かりに乱数源の構
造等について推定することによって暗号を解読すること
が可能となる。また、この暗号の解読は、内部状態のサ
ンプル数が多くなるほど容易に行われる。多くの内部状
態のサンプルを得ることは、回線に妨害を与えて作意的
に非同期状態を作り出して回線に内部状態を送出させる
ことによって可能となる。したがって、回線を介して内
部状態を伝送することにより同期を回復させることは、
本来の同期式ストリーム暗号装置の通信内容の第三者へ
の漏洩を防止するという目的を十分に達成することはで
きない。
In the conventional cryptographic device,
When the synchronization between the encryption device and the decryption device is lost, the internal state is transmitted via the line and the synchronization is forcibly restored. However, transmitting the internal state means leaking the internal state to a third party, and the third party uses the transmitted internal state and encrypted data string as a clue to determine the structure of the random number source, etc. It is possible to decipher the code by estimating about. Further, the decryption of the code is facilitated as the number of internal state samples increases. Obtaining many internal state samples is possible by interfering with the line and deliberately creating an asynchronous state to cause the line to send the internal state. Therefore, restoring synchronization by transmitting the internal state over the line is
The original purpose of preventing leakage of the communication content of the synchronous stream encryption device to a third party cannot be sufficiently achieved.

【0008】また、たとえ、特開平1−243634号
公報に開示された方法によって安全性が高まったとして
も、前述のとおり、多くの疑似乱数列と非線形演算を施
した制御情報のサンプルを得ることによって、真の制御
情報を第三者に解読される可能性があり、したがって、
この方法も、抜本的な解決策であるとは言えない。
Further, even if the method disclosed in Japanese Unexamined Patent Publication No. 1-243634 enhances the security, as described above, many pseudo-random number sequences and samples of control information subjected to non-linear operation are obtained. Allows true control information to be decrypted by a third party, and
This method also cannot be said to be a drastic solution.

【0009】[0009]

【課題を解決するための手段】上記問題点を解決するた
めに、本発明の同期式ストリーム暗号装置は、入力され
るデータと第1の乱数列とに基づいて暗号化データを算
出する暗号器と、前記暗号化データと第2の乱数列とに
基づいて該暗号化データを復号し、前記データを出力す
る復号器とを備え、復号器が、第2の乱数列を順次記憶
する記憶手段と、暗号器と復号器との間の同期がずれた
場合に、記憶手段から所望の乱数を取り出して同期を回
復する制御手段とを有するものである。
In order to solve the above problems, a synchronous stream cipher device of the present invention is an encryption device which calculates encrypted data based on input data and a first random number sequence. And a decryption device for decrypting the encrypted data based on the encrypted data and the second random number sequence and outputting the data, and the decryption unit stores the second random number sequence in sequence. And a control means for retrieving synchronization by taking out a desired random number from the storage means when the synchronization between the encryption device and the decryption device is lost.

【0010】また、本発明の復号器は、入力されるデー
タと第1の乱数列とに基づいて暗号化データを算出する
暗号器と同期して動作し、暗号化データと第2の乱数列
とに基づいて該暗号化データを復号し、前述の元のデー
タを出力する復号器であって、第2の乱数列を順次記憶
する記憶手段と、暗号器と復号器との間の同期がずれた
場合に、記憶手段から所望の乱数を取り出して同期を回
復する制御手段とを有するものである。
Further, the decryptor of the present invention operates in synchronization with the encryptor which calculates the encrypted data based on the input data and the first random number sequence, and the encrypted data and the second random number sequence are used. Which is a decoder for decrypting the encrypted data based on the above and outputting the above-mentioned original data, wherein the storage means for sequentially storing the second random number sequence and the synchronization between the encryptor and the decryptor are In the case of deviation, it has a control means for retrieving synchronization by taking out a desired random number from the storage means.

【0011】[0011]

【発明の実施の形態】次に、本発明の一実施形態につい
て図面を参照して詳細に説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Next, an embodiment of the present invention will be described in detail with reference to the drawings.

【0012】図1は、本発明の一実施形態の構成を示す
ブロック図であり、図2は、記憶回路の構成および制御
回路による記憶回路からの乱数の取り出し方法を示す図
である。
FIG. 1 is a block diagram showing a configuration of an embodiment of the present invention, and FIG. 2 is a diagram showing a configuration of a storage circuit and a method of extracting random numbers from the storage circuit by a control circuit.

【0013】暗号器1は、暗号化の際に使用する乱数列
を発生する乱数源11と、乱数源11から発生した乱数
と外部から入力されたデータ列を演算して暗号化データ
列を算出する排他的論理和12と、乱数源11および復
号器2に備えられる乱数源21(後述)に対して内部状
態を発生し設定する内部状態発生設定回路13とを備え
ている。
The encryption device 1 calculates the encrypted data string by calculating a random number source 11 for generating a random number string used in encryption, a random number generated by the random number source 11 and a data string input from the outside. And an internal state generation setting circuit 13 for generating and setting an internal state for the random number source 11 and a random number source 21 (described later) included in the decoder 2.

【0014】ここで、内部状態とは、暗号器1と復号器
2との同期をとるために用いられる情報であり、ある時
点の乱数源11および21内において次の乱数列を発生
する素となる情報である。この情報は、1単位の乱数列
を発生する度に乱数源11および21内の規則に従って
更新されていくものである。
Here, the internal state is information used for synchronizing the encryption device 1 and the decryption device 2, and is a prime number generating a next random number sequence in the random number sources 11 and 21 at a certain time. Information. This information is updated according to the rules in the random number sources 11 and 21 each time a random number sequence of one unit is generated.

【0015】一方、復号器2は、復号化の際に使用する
乱数列を発生する乱数源21と、乱数源21から発生し
た乱数列を順次記憶する記憶回路22とを備える。さら
に、記憶回路22から取り出した乱数と回線3から入力
された暗号化データ列を演算して元のデータ列(すなわ
ち、暗号器1に入力されたデータ列)を算出する排他的
論理和24と、暗号化データ列に含まれる情報と記憶回
路22から取り出した乱数とを比較して乱数源11と乱
数源21の同期あるいは非同期の状態を判定する同期判
定回路23とを備える。さらに、同期判定回路23が非
同期状態を検出するのを受けて、同期判定回路23が同
期状態を検出するように、記憶回路22から所望の乱数
を取り出すとともに、内部状態発生設定回路13および
再同期回路26を制御する制御回路25と、制御回路2
5の制御により回線3を介して内部状態発生設定回路1
3から送られた新しい内部状態を乱数源21に設定する
再同期回路26とを備える。
On the other hand, the decoder 2 is provided with a random number source 21 for generating a random number sequence used for decoding, and a storage circuit 22 for sequentially storing the random number sequence generated by the random number source 21. Furthermore, an exclusive OR 24 that calculates the original data string (that is, the data string input to the encryptor 1) by operating the random number extracted from the storage circuit 22 and the encrypted data string input from the line 3 A synchronization determination circuit 23 that compares the information included in the encrypted data string with the random number extracted from the storage circuit 22 to determine the synchronous or asynchronous state of the random number source 11 and the random number source 21. Further, in response to the synchronization determination circuit 23 detecting the asynchronous state, a desired random number is taken out from the memory circuit 22 so that the synchronization determination circuit 23 detects the synchronization state, and the internal state generation setting circuit 13 and the resynchronization are performed. A control circuit 25 for controlling the circuit 26, and a control circuit 2
Internal state generation setting circuit 1 via line 3 under control of 5
3 and the resynchronization circuit 26 for setting the new internal state sent from the No. 3 in the random number source 21.

【0016】なお、暗号化データ列に含まれる情報と
は、同期判定回路23による同期状態の判定に利用され
る情報であり、ここで、この情報を利用した同期状態の
判定方法の一例を説明する。暗号器と復号器との間で同
一のある特定パターンを定め、暗号化データ列中のその
特定パターンが挿入される位置を予め定めておく。暗号
器では、その特定パターンに対し通信データの対象とな
る他のデータ列と同様の暗号化の処理(乱数列との排他
的論理和)が施され、一方、復号器では、その特定パタ
ーンを含む暗号化データ列に対し復号化の処理が施され
るとともに、本来受け取るべき特定パターンと実際に復
号したパターンとの比較が行われる。そして、復号した
パターンと本来受け取るべき特定パターンとが一致する
場合には、同期状態であると判定され、また、そうでな
い場合には、非同期状態であると判定される。
The information included in the encrypted data sequence is information used for the synchronization determination circuit 23 to determine the synchronization state. Here, an example of the synchronization state determination method using this information will be described. To do. The same specific pattern is set between the encoder and the decryptor, and the position where the specific pattern is inserted in the encrypted data string is set in advance. The encryption device performs the same encryption processing (exclusive OR with the random number sequence) on the specific pattern as for the other data string that is the target of the communication data, while the decryptor outputs the specific pattern. The included encrypted data string is subjected to the decryption process, and the specific pattern to be originally received is compared with the actually decrypted pattern. Then, if the decoded pattern and the specific pattern to be originally received match, it is determined to be in the synchronous state, and if not, it is determined to be in the asynchronous state.

【0017】次に、本実施形態の動作について説明す
る。
Next, the operation of this embodiment will be described.

【0018】通常の状態では、乱数源11と乱数源21
とは同期しており、乱数源11の発生する乱数列とデー
タ列を排他的論理和12に入力して得られた暗号化デー
タ列は、回線3を介して復号器2に送られる。
In a normal state, the random number source 11 and the random number source 21
Are synchronized with each other, and the encrypted data sequence obtained by inputting the random number sequence generated by the random number source 11 and the data sequence into the exclusive OR 12 is sent to the decoder 2 via the line 3.

【0019】一方、復号器2では、乱数源21の発生し
た乱数列(Ri-1、Ri、Ri+1、・・・)が、記憶回路
22に記憶容量の範囲で順次保持されている。記憶回路
22は、図2に示すようなFIFO(先入れ先出し)構
造のメモリにより構成されており、保持される乱数列の
うち、記憶容量の範囲以上に古くなった乱数、すなわち
記憶回路22から押し出された乱数(Ri+j+1)は、順
次消去される。排他的論理和24では、記憶回路22か
ら制御回路25の制御により取り出された乱数と暗号化
データ列が演算され、復号器2から、元のデータ列が出
力される。
On the other hand, in the decoder 2, the random number sequence (Ri-1, Ri, Ri + 1, ...) Generated by the random number source 21 is sequentially held in the storage circuit 22 within the storage capacity range. The memory circuit 22 is composed of a memory having a FIFO (first in, first out) structure as shown in FIG. 2, and among the random number sequences to be held, random numbers that are older than the storage capacity range, that is, pushed out from the memory circuit 22. The random numbers (Ri + j + 1) are sequentially erased. In the exclusive OR 24, the random number extracted from the storage circuit 22 under the control of the control circuit 25 and the encrypted data string are calculated, and the original data string is output from the decoder 2.

【0020】回線3の障害等により、一度、乱数源11
と乱数源21との同期が崩れると、復号器2の出力する
データ列は暗号器1に入力されたデータ列には戻らな
い。この状態は、非同期状態として同期判定回路23に
より検出される。制御回路25は、同期判定回路23に
より検出された非同期状態を受けて、同期判定回路23
が同期を判定するように、記憶回路22から所望の乱数
を取り出していく。具体的には、FIFO構造の記憶回
路22内の任意の位置から乱数を取り出し、その乱数を
利用して同期判定回路23が同期の判定を行う。そし
て、同期判定回路23が同期状態を検出するまで、制御
回路25が記憶回路22からの乱数の取り出し位置を順
次移動させ、最終的に、所望の乱数が記憶回路22から
取り出されて、同期状態が回復される。
Once the random number source 11
When the synchronization between the random number source 21 and the random number source 21 is lost, the data string output from the decryptor 2 does not return to the data string input to the encryptor 1. This state is detected by the synchronization determination circuit 23 as an asynchronous state. The control circuit 25 receives the asynchronous state detected by the synchronization determination circuit 23, and receives the synchronization determination circuit 23.
A desired random number is taken out from the memory circuit 22 so that can determine the synchronization. Specifically, a random number is extracted from an arbitrary position in the memory circuit 22 having the FIFO structure, and the synchronization determination circuit 23 uses the random number to determine synchronization. Then, until the synchronization determination circuit 23 detects the synchronization state, the control circuit 25 sequentially moves the extraction position of the random number from the storage circuit 22, and finally, the desired random number is extracted from the storage circuit 22, and the synchronization state is obtained. Is recovered.

【0021】なお、乱数源11および21による乱数列
を発生する速度を一定とした場合、暗号器1と復号器2
の位相が記憶回路22の全長(記憶容量)以上にずれて
しまった場合には、上述の方法では、同期状態を回復す
ることができない。このようなケースは、記憶回路22
の記憶された全ての乱数を取り出したとしても、同期判
定回路23が同期状態を検出することができないような
場合に、生じる。
When the speed of generating the random number sequence by the random number sources 11 and 21 is constant, the encryptor 1 and the decryptor 2
If the phase shifts by more than the total length (storage capacity) of the storage circuit 22, the synchronization state cannot be recovered by the above method. In such a case, the memory circuit 22
This occurs when the synchronization determination circuit 23 cannot detect the synchronization state even if all the stored random numbers are taken out.

【0022】このような場合には、制御回路25が回線
3を介して非同期状態を内部状態発生設定回路13に伝
える。内部状態発生設定回路13は新しい内部状態を発
生し、乱数源11にそれを設定すると同時に、その新た
な内部状態を回線3を介して復号器2へ送出する。復号
器2では、制御回路25によって非同期状態が再同期回
路26にも伝えられている。再同期回路26は、回線3
を介して送出された新たな内部状態を乱数源21に設定
する。これにより、乱数源11と乱数源21の同期は回
復され通常の状態に復帰する。
In such a case, the control circuit 25 transmits the asynchronous state to the internal state generation setting circuit 13 via the line 3. The internal state generation setting circuit 13 generates a new internal state, sets it in the random number source 11, and at the same time, sends the new internal state to the decoder 2 via the line 3. In the decoder 2, the control circuit 25 notifies the resynchronization circuit 26 of the asynchronous state. The resynchronization circuit 26 uses the line 3
The new internal state sent via the is set in the random number source 21. As a result, the synchronization between the random number source 11 and the random number source 21 is restored, and the normal state is restored.

【0023】本来、暗号器と復号器の乱数源は同一の乱
数列を発生するようにパラメータが設定されており、非
同期状態においてもその乱数列は同一であり、単に位相
が僅かにずれているに過ぎない。乱数源のパラメータそ
のものが外来ノイズ等の影響で変化して非同期状態とな
る場合には、内部状態を新たに設定し直すことにより同
期を回復する必要があるが、実際には、そのようなケー
スは稀であり、したがって、本実施形態では、大抵の場
合、復号器側での操作のみで同期の回復を行い、回線を
介して内部状態が授受されるケースは極端に減少する。
Originally, the random number sources of the encryption device and the decryption device are set with parameters so as to generate the same random number sequence, and the random number sequences are the same even in the asynchronous state, and the phases are slightly shifted. Nothing more than. When the parameters of the random number source itself change due to the influence of extraneous noise and become an asynchronous state, it is necessary to reset the internal state to restore synchronization, but in such a case, Therefore, in the present embodiment, in most cases, the synchronization is recovered only by the operation on the decoder side, and the case where the internal state is exchanged via the line is extremely reduced.

【0024】[0024]

【発明の効果】以上説明したように、本発明の同期式ス
トリーム暗号装置では、乱数源の内部状態を暗号器およ
び復号器間の回線上に流す頻度を極端に減少させること
が可能となるため、回線上から乱数源の内部状態を得て
乱数源の解析に利用しようとする行為を妨げることがで
きる。
As described above, in the synchronous stream cipher device of the present invention, the frequency of transmitting the internal state of the random number source to the line between the encoder and the decoder can be extremely reduced. , It is possible to prevent the act of obtaining the internal state of the random number source from the line and trying to use it for analyzing the random number source.

【0025】したがって、セキュリティが侵犯される可
能性を極端に減少させることができるという作用効果を
奏する。
Therefore, it is possible to extremely reduce the possibility that security is breached.

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

【図1】本発明の一実施形態の構成を示すブロック図で
ある。
FIG. 1 is a block diagram showing a configuration of an embodiment of the present invention.

【図2】図1における記憶回路の構成および制御回路に
よる記憶回路からの乱数の取り出し方法を説明する概略
図である。
2 is a schematic diagram illustrating a configuration of a storage circuit in FIG. 1 and a method of extracting random numbers from the storage circuit by a control circuit.

【図3】従来の同期式暗号装置の構成を示すブロック図
である。
FIG. 3 is a block diagram showing a configuration of a conventional synchronous encryption device.

【符号の説明】[Explanation of symbols]

1 暗号器 11 乱数源 12 排他的論理和 13 内部状態発生設定回路 2 復号器 21 乱数源 22 記憶回路 23 同期判定回路 24 排他的論理和 25 制御回路 26 再同期回路 3 回線 1 Encryptor 11 Random Source 12 Exclusive OR 13 Internal State Generation Setting Circuit 2 Decoder 21 Random Source 22 Memory Circuit 23 Synchronization Judgment Circuit 24 Exclusive OR 25 Control Circuit 26 Resynchronization Circuit 3 Lines

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 入力されるデータと第1の乱数列とに基
づいて暗号化データを算出する暗号器と、 前記暗号化データと第2の乱数列とに基づいて該暗号化
データを復号し、前記データを出力する復号器とを備
え、 前記復号器は、 前記第2の乱数列を順次記憶する記憶手段と、 前記暗号器と前記復号器との間の同期がずれた場合に、
前記記憶手段から所望の乱数を取り出して同期を回復す
る制御手段とを有することを特徴とする同期式ストリー
ム暗号装置。
1. An encoder that calculates encrypted data based on input data and a first random number sequence, and decrypts the encrypted data based on the encrypted data and a second random number sequence. , A decoder for outputting the data, wherein the decoder is a storage unit for sequentially storing the second random number sequence, and when the synchronization between the encryption device and the decryption device is deviated,
A synchronous stream cipher device comprising: a control unit that retrieves a desired random number from the storage unit to restore synchronization.
【請求項2】 前記復号器は、 前記暗号器から出力される暗号化データ列に含まれる所
定の情報および前記記憶手段から取り出される前記乱数
とに基づいて、前記暗号器と前記復号器との間の同期状
態あるいは非同期状態を検出する同期判定手段をさらに
備え、 前記制御手段は、 前記同期判定手段が非同期状態を検出した場合に、該同
期判定手段が同期状態を検出するまで、前記記憶手段か
ら順次異なる前記乱数を取り出していくことを特徴とす
る前記請求項1に記載の同期式ストリーム暗号装置。
2. The decryptor, based on predetermined information included in an encrypted data string output from the encryptor and the random number retrieved from the storage unit, the decryptor and the decryptor. Further comprising a synchronization determination means for detecting a synchronization state or an asynchronous state between the storage means, the control means, when the synchronization determination means detects an asynchronous state, the storage means until the synchronization determination means detects a synchronization state. The synchronous stream encryption device according to claim 1, wherein the different random numbers are sequentially taken out from.
【請求項3】 入力されるデータと第1の乱数列とに基
づいて暗号化データを算出する暗号器と同期して動作
し、前記暗号化データと第2の乱数列とに基づいて該暗
号化データを復号し、前記データを出力する復号器であ
って、 前記第2の乱数列を順次記憶する記憶手段と、 前記暗号器と前記復号器との間の同期がずれた場合に、
前記記憶手段から所望の乱数を取り出して同期を回復す
る制御手段とを有することを特徴とする復号器。
3. An encryption device that operates in synchronization with an encryption device that calculates encrypted data based on input data and a first random number sequence, and uses the encrypted data based on the encrypted data and a second random number sequence. A decryption device for decrypting the encrypted data and outputting the data, wherein storage means for sequentially storing the second random number sequence and synchronization between the encryption device and the decryption device are deviated,
And a control unit for retrieving synchronization by taking out a desired random number from the storage unit.
【請求項4】 前記暗号器から出力される暗号化データ
列に含まれる所定の情報および前記記憶手段から取り出
される乱数とに基づいて、前記暗号器と前記復号器との
間の同期状態あるいは非同期状態を検出する同期判定手
段をさらに備え、 前記制御手段が、前記同期判定手段が非同期状態を検出
した場合に、該同期判定手段が同期状態を検出するま
で、前記記憶手段から順次異なる前記乱数を取り出して
いくことを特徴とする前記請求項3に記載の復号器。
4. A synchronization state or an asynchronous state between the encryption device and the decryption device based on predetermined information included in an encrypted data string output from the encryption device and a random number extracted from the storage means. The control unit further includes a synchronization determination unit that detects a state, and when the synchronization determination unit detects an asynchronous state, the control unit sequentially outputs different random numbers from the storage unit until the synchronization determination unit detects the synchronization state. The decoder according to claim 3, wherein the decoder is taken out.
JP8003628A 1996-01-12 1996-01-12 Synchronization stream ciphering device and decoder applied to the device Pending JPH09200197A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8003628A JPH09200197A (en) 1996-01-12 1996-01-12 Synchronization stream ciphering device and decoder applied to the device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8003628A JPH09200197A (en) 1996-01-12 1996-01-12 Synchronization stream ciphering device and decoder applied to the device

Publications (1)

Publication Number Publication Date
JPH09200197A true JPH09200197A (en) 1997-07-31

Family

ID=11562769

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8003628A Pending JPH09200197A (en) 1996-01-12 1996-01-12 Synchronization stream ciphering device and decoder applied to the device

Country Status (1)

Country Link
JP (1) JPH09200197A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100317250B1 (en) * 1998-12-16 2002-01-15 서평원 Method of Cryptographing Data
JP2007020013A (en) * 2005-07-08 2007-01-25 Nec Corp Communication system and its synchronization control method
JP2007295461A (en) * 2006-04-27 2007-11-08 Hitachi Information & Communication Engineering Ltd Multi-level encryption communicating method and system
WO2008072292A1 (en) * 2006-12-08 2008-06-19 Fujitsu Limited Mobile communication system, mobile unit and wireless control apparatus
WO2009078217A1 (en) * 2007-12-19 2009-06-25 Konica Minolta Holdings, Inc. Network system and data transmission method
JP2017038144A (en) * 2015-08-07 2017-02-16 株式会社デンソー Communication device

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100317250B1 (en) * 1998-12-16 2002-01-15 서평원 Method of Cryptographing Data
JP2007020013A (en) * 2005-07-08 2007-01-25 Nec Corp Communication system and its synchronization control method
JP4662040B2 (en) * 2005-07-08 2011-03-30 日本電気株式会社 Communication system and synchronization control method thereof
JP2007295461A (en) * 2006-04-27 2007-11-08 Hitachi Information & Communication Engineering Ltd Multi-level encryption communicating method and system
WO2008072292A1 (en) * 2006-12-08 2008-06-19 Fujitsu Limited Mobile communication system, mobile unit and wireless control apparatus
JPWO2008072292A1 (en) * 2006-12-08 2010-03-25 富士通株式会社 Mobile communication system, mobile device, and radio control apparatus
JP4888493B2 (en) * 2006-12-08 2012-02-29 富士通株式会社 Mobile communication system, mobile device, and radio control apparatus
WO2009078217A1 (en) * 2007-12-19 2009-06-25 Konica Minolta Holdings, Inc. Network system and data transmission method
JP2017038144A (en) * 2015-08-07 2017-02-16 株式会社デンソー Communication device
WO2017026359A1 (en) * 2015-08-07 2017-02-16 株式会社デンソー Communication device

Similar Documents

Publication Publication Date Title
US7636439B2 (en) Encryption method, encryption apparatus, data storage distribution apparatus and data delivery system
JP3747520B2 (en) Information processing apparatus and information processing method
US5144665A (en) Cryptographic communication method and system
US5751809A (en) Apparatus and method for securing captured data transmitted between two sources
EP1223707B1 (en) Variable length key encrypting system
US7747014B2 (en) Information transmission system, and information sending apparatus and information receiving apparatus used therein
US20040177257A1 (en) Data processing device and data processing method
EP3198498B1 (en) A challenge-response method and associated computing device
US6891952B1 (en) Dynamic key generation and confidential synchronization of encryption components
US7841014B2 (en) Confidential information processing method, confidential information processor, and content data playback system
CA2365481C (en) Encryption method using synchronized continuously calculated pseudo-random key
JP2546504B2 (en) Pre-encryption processing device and post-decryption processing device in encryption
CN107180197A (en) file operation method and device
WO2005029765A1 (en) Transmitting apparatus, receiving apparatus, and data transmitting system
US20060233361A1 (en) Device, method, and program for encrypton and decryption and recording medium
KR100546375B1 (en) Interdependent parallel processing hardware cryptographic engine providing for enhanced self fault-detecting and hardware encryption processing method thereof
JP2005157930A (en) Confidential information processing system and lsi
JP2005521295A (en) Encryption key concealment and recovery method and system
US8024583B2 (en) Confidential information processing host device and confidential information processing method
JPH09200197A (en) Synchronization stream ciphering device and decoder applied to the device
JPH1032567A (en) Ciphering equipment, de-ciphering equipment and data transmission system using them
JP2541113B2 (en) Pre-encryption processing device and post-decryption processing device in cipher chain
CN112149166A (en) Unconventional password protection method and intelligent bank machine
JPH06342257A (en) Sequential ciphering system
JP2005202048A (en) Cipher communication system, encryption device and decryption device used for the system, encrypting method and decrypting method, encrypting program and decrypting program, and recording medium

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19991026