JPS62173834A - Special code generating system - Google Patents

Special code generating system

Info

Publication number
JPS62173834A
JPS62173834A JP61015448A JP1544886A JPS62173834A JP S62173834 A JPS62173834 A JP S62173834A JP 61015448 A JP61015448 A JP 61015448A JP 1544886 A JP1544886 A JP 1544886A JP S62173834 A JPS62173834 A JP S62173834A
Authority
JP
Japan
Prior art keywords
special code
block
signal
data
circuit
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
JP61015448A
Other languages
Japanese (ja)
Inventor
Hidehito Aoyanagi
青▲?▼ 秀仁
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 JP61015448A priority Critical patent/JPS62173834A/en
Publication of JPS62173834A publication Critical patent/JPS62173834A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent the deviation of synchronism of a special code even in case of bit deviation between transmission data and reception data by detecting a signal indicating the divisions of data blocks and generating the special code by this signal to decode a cipher. CONSTITUTION:Ciphered reception data is inputted from an input terminal 11 and is inputted to a block signal generating part 1 and an exclusive OR circuit 3. The generating part 1 monitors a block division signal in reception data and detects this signal to output a block signal 101. At the time of receiving the block signal 101, a special code generating circuit 2 generates the decoding special code within a time shorter than a time corresponding to the length of one block. The special code generated by this circuit 2 is inputted to the exclusive OR circuit 3 for the purpose of decoding ciphered data in the next block.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、フレーム構成を有するデータ通信回線上のデ
ータを、特殊符号を利用して暗号1ヒして送信し、受信
側で元に復元する暗号装置の受信jlljl特殊符号発
生方式に関する。
Detailed Description of the Invention (Industrial Application Field) The present invention transmits data on a data communication line having a frame structure after encrypting it using a special code, and restores the original data on the receiving side. This invention relates to a reception jlljl special code generation method for a cryptographic device.

(従来の技術) jjC来、データ通信に際しては、情報の漏洩などの問
題があるので、秘匿性を確1呆する為暗号装置で送信デ
ータを特別に変換し、暗号(ヒされた信号として(公道
している6受信側ではこれを逆変換して元に復元し、受
信データを出力する。
(Prior art) Since JJC, data communication has had problems such as information leakage, so in order to ensure confidentiality, the transmitted data is specially converted with an encryption device, and the transmitted data is encrypted (as a hidden signal). On the 6 receiving side, which is on a public road, this is inversely converted and restored to its original state, and the received data is output.

ここで、暗号1ヒの手段として、特殊符号を利用するこ
とが、一般的に広く用いられている。
Here, the use of special codes is generally widely used as a means of encryption.

例えば、暗号装置内で発生した特殊符号と送信データの
排泄的論理和をとって暗号1ヒする方法がある。受信1
則では、送信側で発生した特殊符号と同じ特殊符号を発
生し、これと暗号1ヒされたデータとの排泄的論理和を
とって元のデータを反元4−る、この際、受信側特殊符
号として、送信側で暗号1ヒの際に使用された特殊符号
と、全く同一の持味符号が同一時刻に使用されなければ
データの復元ができない、1足って通信の初期または途
中で。
For example, there is a method in which the special code generated in the encryption device and the transmitted data are exclusive-ORed to perform the encryption. Reception 1
According to the rules, a special code that is the same as the special code generated on the transmitting side is generated, and the original data is inverted by exclusive ORing this with the encrypted data.In this case, the receiving side As a special code, data cannot be restored unless the special code used at the time of encryption 1 and the special code used on the sending side at the same time are used. .

送信側と受信側の特殊符号を一致させる為の同朋操作が
行なわれる。
A similar operation is performed to match the special codes on the sending and receiving sides.

また、従来の特殊符号発生方式は、データのタイミング
を示すクロックに従って1ビツトずつ特殊符号を発生す
る謂る1ビツト毎の調歩同期式であった。
Further, the conventional special code generation system is a so-called 1-bit asynchronous system in which a special code is generated 1 bit at a time according to a clock indicating the timing of data.

(発明が解決しようとする問題点) この為、受信データの送信データに対するピッ!〜ずれ
が発生すると、必ず特殊符号の同期が崩れてしまうとい
う欠点があった。即ち、一般のデータ回線に於いては瞬
断、位相ジッタ、ノイズ混入等の種々の原因で前記ビッ
トずれが生ずる機会が頻繁にあり、その度に特殊符号の
同期が崩れてしまい、その結果として、前記同期操作が
頻繁に行なわれるという問題があった。
(Problem to be solved by the invention) For this reason, the received data does not respond to the transmitted data! There was a drawback that whenever a deviation occurred, the synchronization of the special code would be lost. In other words, in general data lines, there are frequent opportunities for bit shifts to occur due to various causes such as instantaneous interruptions, phase jitter, and noise contamination, and each time, the synchronization of special codes is lost, and as a result, However, there is a problem in that the synchronization operation is frequently performed.

しかしこの同期操作が頻繁に行なわれると通信回線に重
大な支障をきたす。同期操作の際には、回線上に同期信
号を乗せる必要がある為に、データが止められてしまう
ばかりでなく、第3者が回線上に流れる同期信号を解析
する事により、暗号破りを成功させる恐れがある為であ
る。
However, if this synchronization operation is performed frequently, it will cause serious trouble to the communication line. During a synchronization operation, it is necessary to put a synchronization signal on the line, which not only causes the data to be stopped, but also allows a third party to successfully break the code by analyzing the synchronization signal flowing on the line. This is because there is a risk of causing

この問題を解決する手段の1つとしては、使用回線の品
質を向上させる方法があるが、通常これを簡単に実施し
得る可能性は低い。本発明の目的は、上述の問題分解法
すべく前記と・ントずれ力・生じた際に、特殊符号の同
期が崩れない特殊符号発生方式を提供することにある。
One way to solve this problem is to improve the quality of the line in use, but it is usually unlikely that this can be easily implemented. SUMMARY OF THE INVENTION An object of the present invention is to provide a special code generation system in which the synchronization of special codes is not disrupted even when the above-mentioned deviation force occurs in order to resolve the problem described above.

(問題点を解決するための手段) 本発明は上記の目的を達成するために次の手段構成を有
する。即ち、本発明の特殊符号発生方式は、特殊符号を
用いて通信データを暗号化して送受信する場合の受信側
解読用特殊符号発生方式であって、受信入力データ中の
データのプロ・ンク区切りを示す信号を監視し、該信号
に応じてプロ・ンク区切りの時間位置を示すプロ・yり
信号を出力するブロック信号発生回路と; 該プロ・ツ
ク信号発生回路からのブロック信号を受けて受信データ
のブロック毎に、1ブロック内で使用する予め定められ
た解読用特殊符号を1プロ・ンク長に相当する時間より
も短い時間で発生する特殊符号発生回路と; を具備す
ることを特徴とする特殊符号発生方式である。
(Means for Solving the Problems) The present invention has the following means configuration to achieve the above object. That is, the special code generation method of the present invention is a special code generation method for decoding on the receiving side when communication data is encrypted using a special code and transmitted/received, and is a special code generation method for decoding the data in the received input data. a block signal generating circuit that monitors a signal indicating the block signal, and outputs a pro-y signal indicating the time position of the pro-c break in accordance with the signal; A special code generation circuit that generates a predetermined special code for decoding to be used within one block in a time shorter than the time equivalent to one block length for each block; This is a special code generation method.

(作 用) 以下、本発明の特殊符号発生方式の作用を説明する。従
来技術の欠点は、その特殊符号発生方式が、データのタ
イミングを示すクロックに従って1ビツトずつ特殊符号
を発生する謂る1ピツI・毎の調歩同期式である所に起
因している。
(Function) The function of the special code generation system of the present invention will be explained below. The disadvantage of the prior art is that the special code generation system is a so-called 1-pitch start-stop synchronization system in which a special code is generated bit by bit in accordance with a clock indicating the timing of data.

従って、前記問題点を解決する為には、受信側特殊符号
の発生をブロック化し、特殊符号発生のタイミングをブ
ロックの区切りで設定する謂る1ブロック毎の調歩同期
式とした上、1ブロック汁の特殊符号発生に必要な時間
を、1ブロック分の時間から1ブロック内で発生するこ
とが予想される前記ビットずれ量に相当する時間を差し
引いた時間よりも短くすればよいことが判る。
Therefore, in order to solve the above problem, the generation of special codes on the receiving side is divided into blocks, the timing of special code generation is set at the block break, a so-called asynchronous system is used for each block, and one block It can be seen that the time required to generate the special code can be made shorter than the time required for one block minus the time corresponding to the amount of bit shift expected to occur within one block.

そこで上記手段構成を有する本発明方式に於ては、ブロ
ック信号発生回路が受信入力データを監視し、データの
ブロック区分を示す信号を検出するごとにタイミング信
号としてのブロック信号を発生し、これを特殊符号発生
回路へ送出する。
Therefore, in the method of the present invention having the above-described means, the block signal generation circuit monitors the received input data, and generates a block signal as a timing signal every time it detects a signal indicating a data block division. Send to special code generation circuit.

特殊符号発生回路はこのブロック信号を受けて1ブロッ
ク内の受信データを解読するのに必要な特殊符号を1ブ
ロック分よりも短い時間内で発生する。従って、発生し
た特殊符号を次のデータブロック以降のブロック(例え
ば直ぐ次のデータブロック)で用いれば、短縮分の時間
に相当するビットずれが発生してその分だけブロック信
号の間隔が変(ヒしても、各ブロック毎の受信データと
特殊符号は完全に同期がとれることになる。
The special code generation circuit receives this block signal and generates the special code necessary for decoding the received data within one block within a time shorter than one block. Therefore, if the generated special code is used in a block after the next data block (for example, the immediately next data block), a bit shift corresponding to the shortened time will occur, and the interval between block signals will change by that amount. However, the received data and special code for each block can be completely synchronized.

従って、発生が予想されるビットずれに応じた時間だけ
短い時間で特殊符号を発生するようにしておけばビット
ずれが発生してもその影響を受けないで完全な解読を行
うことができるということになる。
Therefore, if a special code is generated in a short period of time corresponding to the bit shift that is expected to occur, complete decoding can be performed without being affected even if a bit shift occurs. become.

(実  施  PA) 次に本発明について、実施例を示す図面を参照して詳細
に説明する。第1図(a)は本発明による特殊符号発生
方式の一実施例の構成を示すブロック図であり、図(b
)はそのタイミングチャートである。第1図(a)のブ
ロック図は暗号装置の受信回路を概念的に示したもので
あり、通信銘を介して伝送されてきた暗号化された形の
受信データが入力端11から入力され、ブロック信号発
生回路1および排他的論理和回路3に入力される。
(Implementation PA) Next, the present invention will be described in detail with reference to drawings showing examples. FIG. 1(a) is a block diagram showing the configuration of an embodiment of the special code generation method according to the present invention, and FIG.
) is the timing chart. The block diagram of FIG. 1(a) conceptually shows the receiving circuit of the encryption device, in which received data in an encrypted form transmitted via a communication signature is input from the input terminal 11, The signal is input to block signal generation circuit 1 and exclusive OR circuit 3.

ブロック信号発生回路1では受信データ系列中のブロッ
ク区切りを示す信号を監視しており、出力信号として、
ブロック区切り位置を示すブロック信号101を出力す
る。このブロック信号101は特殊符号発生回路2に入
力される。
The block signal generation circuit 1 monitors a signal indicating a block break in the received data series, and outputs the following signal:
A block signal 101 indicating the block break position is output. This block signal 101 is input to the special code generation circuit 2.

本実施例に於けるデータ系列中のブロック区切りを示す
信号としては、データ系列中のフレーム信号を利用して
いる。即ち、一般的なデータ通信に於いては、データ系
列中の各種データを区別する為にフレーム構成を採用す
ることが多い。
In this embodiment, a frame signal in the data series is used as a signal indicating a block break in the data series. That is, in general data communication, a frame structure is often employed to distinguish various types of data in a data series.

例えばPCM−24方式などが有名である。For example, the PCM-24 system is famous.

そこで前記フレーム信号で区切られるデータ長またはデ
ータ長のn倍を1ブロックとして定めておけばよい。特
殊符号発生回路2では、前記ブロック信号101を特殊
符号発生の為のトリガ信号として取り込み、第1図(b
)のタイミングチャー1・に示すタイミングて゛特殊符
号を発生する。
Therefore, the data length divided by the frame signal or n times the data length may be determined as one block. The special code generation circuit 2 receives the block signal 101 as a trigger signal for generating a special code, and receives the block signal 101 as a trigger signal for generating a special code.
) A special code is generated at the timing shown in timing chart 1.

ここで発生した特殊符号は1次のブロック内て゛使用さ
れるものである5また、特殊符号発生に要する時間はタ
イミングチャートに示すように1ブロック長の時間より
も短くなるようになっている。
The special code generated here is used within the first block.5 Also, the time required to generate the special code is shorter than the time of one block length, as shown in the timing chart.

即ち、■ブロック長をmビットとすると、n1ピッI−
の特殊符号を発生する為の時間は(m−t)ビット長に
相当するの時間になっている。
That is, if the block length is m bits, then n1 bits I-
The time required to generate the special code is equivalent to (m-t) bit length.

但し、特殊符号発生回路2で発生されたmビ11・の特
殊符号が、次のブロック内で、暗号化された形の受信デ
ータを復元する為に使用される時は、受信データ系列の
速度と同じ速度で特殊符号発生回路2から出力される。
However, when the special code of mbi11 generated by the special code generation circuit 2 is used to restore encrypted received data in the next block, the speed of the received data series is output from the special code generation circuit 2 at the same speed as .

従って、排他的論理和回路3で、受信データと特殊符号
との排他的論理和がとられる場合には、両者のタイミン
グはきちんと合っていることになり、正確な受信データ
復元が実施されることになる。復元された受信データは
出力端12から出力される。
Therefore, when the exclusive OR circuit 3 performs the exclusive OR of the received data and the special code, the timings of both will match exactly, and the received data will be restored accurately. become. The restored received data is output from the output terminal 12.

ここで、前記りの数値としては、1ブロック内で発生す
ることが予想されるビットずれ量よりも大きな数値を設
定し、特殊符号発生回路2の動作クロックとしては、m
ビットの特殊符号発生を(m−L)ビット長の時間内で
発生し得るものを選択して設定しておく。この方法を用
いることにより、第2図(a)に示すようなビットずれ
が生じた場合に於いては、特殊符号出力22の途中から
特殊符号出力23が使用される事になり、特に特殊符号
の同期が崩れることはないことが判る。
Here, the above numerical value is set to a value larger than the amount of bit shift expected to occur within one block, and the operating clock of the special code generation circuit 2 is m
A bit special code that can be generated within a time period of (m-L) bit length is selected and set. By using this method, when a bit shift as shown in FIG. 2(a) occurs, the special code output 23 will be used from the middle of the special code output 22. It can be seen that the synchronization will not be lost.

また、第2図(b)に示すようなビットずれが生じた場
合に於いては、特殊符号出力25を全て使用した後で、
遊び時間27が生ずるも、特殊符号出力26が使用され
る時点での特殊符号の同期は崩れないことが判る。
In addition, if a bit shift as shown in FIG. 2(b) occurs, after using all the special code outputs 25,
It can be seen that although the idle time 27 occurs, the synchronization of the special code at the time the special code output 26 is used does not collapse.

(発明の効果) 本発明による特殊符号発生方式は、以上説明した手段構
成と作用とにより特殊符号発生のタイミングをブロック
の区切り毎に設定する謂る1フロツク毎の調歩同期式と
した上、1ブロック分の特殊符号発生に必要な時間を1
ブロック分の時間から、1ブロック内で発生することが
予想されるビットずれ量に相当する時間を差し引いた時
間よりも短く設定しである為、受信データの送信データ
に対するピッl−ずれが生じた場合に於いても特殊符号
の同期が崩れないという効果があり、暗号通信回線の効
率的運用および通信保全の上で大きく貢献するものであ
る。
(Effects of the Invention) The special code generation method according to the present invention uses the so-called start-stop synchronization method for each block in which the timing of special code generation is set for each block by the means structure and operation explained above. The time required to generate a special code for a block is 1
Since the time is set shorter than the time for a block minus the time equivalent to the amount of bit deviation that is expected to occur within one block, a bit deviation of the received data with respect to the transmitted data has occurred. This has the effect that the synchronization of the special code does not collapse even in the case of a special code, which greatly contributes to the efficient operation of encrypted communication lines and communication security.

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

第1図の(a)は本発明の一実施例の構成を示すブロッ
ク図、第1図の(b)は図(a)の構成におけるタイミ
ングチャート、第2図は、ビットずれが生じた場合の動
作を説明するタイミングチャートである。 1・・・・・・ブロック信号発生回路、 2・・・・・
・特殊符号発生回路、 3・・・・・・排他的論理和回
路、11・・・・・・入力端、  12・・・・・・出
力端、21〜26・・・・・・特殊符号出力、27・・
・・・・遊び時間代理人 弁理士  八 幡  義 博 (a) (b) 木発叩め亥待、fl’lのJ介入とフイム七イートビ・
ノド寸−7913糺 トーーーーーーーー
FIG. 1(a) is a block diagram showing the configuration of an embodiment of the present invention, FIG. 1(b) is a timing chart for the configuration of FIG. 1(a), and FIG. 2 is a case where a bit shift occurs. 3 is a timing chart illustrating the operation of FIG. 1...Block signal generation circuit, 2...
・Special code generation circuit, 3...Exclusive OR circuit, 11...Input end, 12...Output end, 21-26...Special code Output, 27...
...Playtime Agent Patent Attorney Yoshihiro Yahata (a) (b) Kibatsu Hitachi, Fl'l's J Intervention and Film Seven Etobi...
Throat size - 7913 glue

Claims (1)

【特許請求の範囲】[Claims] 特殊符号を用いて通信データを暗号化して送受信する場
合の受信側解読用特殊符号発生方式であって、受信入力
データ中のデータのブロック区切りを示す信号を監視し
、該信号に応じてブロック区切りの時間位置を示すブロ
ック信号を出力するブロック信号発生回路と;該ブロッ
ク信号発生回路からのブロック信号を受けて受信データ
のブロック毎に、1ブロック内で使用する予め定められ
た解読用特殊符号を1ブロック長に相当する時間よりも
短い時間で発生する特殊符号発生回路と;を具備するこ
とを特徴とする特殊符号発生方式。
This is a special code generation method for decoding on the receiving side when communication data is encrypted using a special code and sent/received, and the method monitors a signal indicating a block division of data in received input data and divides the block according to the signal. a block signal generating circuit that outputs a block signal indicating the time position of the block signal; upon receiving the block signal from the block signal generating circuit, a predetermined special code for decoding to be used within one block is assigned to each block of received data; A special code generation method comprising: a special code generation circuit that generates a special code in a time shorter than a time corresponding to one block length;
JP61015448A 1986-01-27 1986-01-27 Special code generating system Pending JPS62173834A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61015448A JPS62173834A (en) 1986-01-27 1986-01-27 Special code generating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61015448A JPS62173834A (en) 1986-01-27 1986-01-27 Special code generating system

Publications (1)

Publication Number Publication Date
JPS62173834A true JPS62173834A (en) 1987-07-30

Family

ID=11889085

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61015448A Pending JPS62173834A (en) 1986-01-27 1986-01-27 Special code generating system

Country Status (1)

Country Link
JP (1) JPS62173834A (en)

Similar Documents

Publication Publication Date Title
KR950010705B1 (en) Encryption/decription apparatus and its communication network
CA2226716C (en) Decryption of retransmitted data in an encrypted communication system
JP2001156770A (en) Automatic re-synchronization for encrypted synchronized information
EP0278170A2 (en) Cipher system
RU2147793C1 (en) Method for decryption of repeated data packet in confidential communication system
US4856063A (en) No-overhead synchronization for cryptographic systems
US6192093B1 (en) Enhanced CIMT coding system and method with automatic word alignment for simplex operation
US5077794A (en) Dual framing bit sequence alignment apparatus and method
JPS62173834A (en) Special code generating system
JP2003032244A (en) Stream cipher apparatus
JPH04335730A (en) Random ciphering communication system
KR100255357B1 (en) Synchronization method and apparatus for synchronous stream cipher
JP2001285281A (en) Encryption system
JP2570624B2 (en) Encryption device
JPH0531973B2 (en)
SU918944A1 (en) Device for interfacing computer with communication lines
JPS62154829A (en) Voice concealing communication system
KR19980063014A (en) Synchronous method of synchronous stream cipher and its apparatus
JPH05153112A (en) Secrecy monitoring system
KR20060003375A (en) Processor and method for end-to-end encryption synchronisation
JP2000134190A (en) Data transmitter and data communication device
KR19980063013A (en) Synchronous method of synchronous stream cipher and its apparatus
JPS63290035A (en) Scrambled binary type transmitting device
JPH04192831A (en) Enciphering device control system
JPS5961245A (en) Data transmitting method using scrambler/descrambler