JPS6189743A - Ciphering system - Google Patents
Ciphering systemInfo
- Publication number
- JPS6189743A JPS6189743A JP59210721A JP21072184A JPS6189743A JP S6189743 A JPS6189743 A JP S6189743A JP 59210721 A JP59210721 A JP 59210721A JP 21072184 A JP21072184 A JP 21072184A JP S6189743 A JPS6189743 A JP S6189743A
- Authority
- JP
- Japan
- Prior art keywords
- register
- text
- character
- encryption
- stored
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
Abstract
Description
【発明の詳細な説明】
(技術分野)
本発明は端末装置と中央演算処理装置間のデータ通信に
おけるl情報の暗号化方式に関する。DETAILED DESCRIPTION OF THE INVENTION (Technical Field) The present invention relates to an encryption method for information in data communication between a terminal device and a central processing unit.
(従来技術)
端末装置と中央演算処理装置とが通信回線で結ばれるオ
ンライ/システムは、銀行等の金融機関をはじめ、国鉄
や航空会社における座席予約、航空管制や防衛組織およ
び工場での生産管理等多方面に利用されるようになった
。(Prior art) Online systems in which terminal devices and central processing units are connected via communication lines are used in financial institutions such as banks, seat reservations in national railways and airlines, air traffic control, defense organizations, and production management in factories. It has come to be used in many different ways.
最近可搬型のポータプル端末装置が〆オンライ/システ
ムの構成要素として採用され始めると、通信回線も従来
の特定通信回線に限らず、公衆通信(一般加入電話)回
線を使用したオンライ/システムが出現してきた。Recently, as portable portable terminal devices have begun to be adopted as components of online systems, online systems have started to appear that use public communication (regular subscriber telephone) lines, rather than limited to conventional specific communication lines. Ta.
一方これ等の通信回線をモニタするための技術及び機器
が発達するに従って1例えば金融機関システムの通信回
線盗聴による社会問題が発生するに至った。このため通
信回線へ送出する情報を暗号化し、受信側において、元
の形に復号化することが考えられている。On the other hand, as technology and equipment for monitoring these communication lines have developed, social problems have arisen due to, for example, wiretapping of communication lines in financial institution systems. For this reason, it has been considered to encrypt the information sent to the communication line and decode it to its original form on the receiving side.
(発明が解決しようとする問題点)
しかしながら、従来のこの種のシステムでは、端末装置
と通信回線との間にメクラ/プル機能を有する変復調器
や2暗号化装置を外付けする方法が採られていたため、
端末装置本体とl変復調装置又は外付は暗号化装置間で
の盗聴には無防備となってしまうという欠点があった。(Problems to be Solved by the Invention) However, in conventional systems of this type, a method has been adopted in which a modem with a blank/pull function or a 2-encryption device is externally connected between the terminal device and the communication line. Because I was
There is a drawback in that the terminal device itself and the modem or external device are vulnerable to eavesdropping between the encryption device.
また暗号化するに当っても1例えば数字” 0 ” i
アルファベット″A”に変換するような単純なものでは
、盗聴による解読が容易となってしまうという欠点があ
った。Also, when encrypting, 1, for example, the number "0" i
A simple conversion such as converting to the alphabet "A" has the disadvantage that it is easy to decipher by eavesdropping.
従って本発明の目的は、一度に送受信される情報単位(
以下テキストと称す)の各文字位置毎に異る暗号化操作
を行うことにより、解読困難な暗号を作成することにあ
る。Therefore, an object of the present invention is to provide a unit of information that is transmitted and received at a time (
The purpose of this method is to create a code that is difficult to decipher by performing a different encryption operation for each character position of a text (hereinafter referred to as text).
本発明の他の目的は、暗号化操作を端末装置の内部操作
によって実現することにより、盗聴困難な暗号化方式を
実現することにある。Another object of the present invention is to realize an encryption method that is difficult to eavesdrop on by implementing an encryption operation by internal operation of a terminal device.
(問題点を解決するための手段)
本発明によれば、テキスト内の各文字位置に対応して、
暗号化の為の演算用情報と演算子と文字位置変更指定情
報とを組とする文字暗号化要素を少なくとも送信すべき
テキストの最大長に対応した数だけ有するテキスト暗号
化要素を設定し、このテキスト暗号化要素を複数個有す
る鍵テーブルを備え、送信すべきテキスト毎に、鍵テー
ブル内の複数個のテキスト暗号化要素の1個を選択して
送信すべきテキストを1文字毎に走査し、各文字位置に
対応して選択されたテキスト暗号化要素中の対応する文
字暗号化要素に従って、送信すべきテキストを1文字毎
に暗号化し、文字位置変更指定情報によってテキ、スト
内の文字位置を変更して暗号化されたテキストを組立て
、前記複数個のテキスト暗号化要素を選択するのに使用
した情報を付加して暗号化テキストの送信を行うことを
特徴とする暗号化方式が得られる。(Means for solving the problem) According to the present invention, corresponding to each character position in the text,
Set a text encryption element that has at least the number of character encryption elements that are a set of calculation information for encryption, an operator, and character position change specification information, and the number corresponds to the maximum length of the text to be transmitted, and this A key table having a plurality of text encryption elements is provided, and for each text to be transmitted, one of the plurality of text encryption elements in the key table is selected and the text to be transmitted is scanned character by character; The text to be transmitted is encrypted character by character according to the corresponding character encryption element among the text encryption elements selected corresponding to each character position, and the character position within the text is changed according to the character position change specification information. An encryption method is obtained in which the modified encrypted text is assembled, information used to select the plurality of text encryption elements is added, and the encrypted text is transmitted.
(実施例)
次に本発明の実施例を示す図面を参照して本発明の詳細
な説明する。(Example) Next, the present invention will be described in detail with reference to drawings showing examples of the present invention.
第1図において、入力テキストレジスタIFi、暗号化
されるテキストヲ格納する。記憶装置iは暗号化のため
の複数個□(本実施例÷は4個)の讐キスト暗号化要素
21,22,23,24を含む鍵テーブルを格納してい
る。出力テキストレジスタ3には暗号化処理を受は九テ
犀ス゛トが格納される。In FIG. 1, an input text register IFi stores the text to be encrypted. The storage device i stores a key table including a plurality of □ (this embodiment ÷ 4) enemy text encryption elements 21, 22, 23, and 24 for encryption. The output text register 3 stores nine texts that have undergone encryption processing.
指示レジスタ4は複数個のテキスト暗号化要素21〜2
4のうちの1個を選択す名ための情報を蓄える。文字位
置指定レジスタ5はレレス月の各文字位置および暗号化
されるテキストの文字位置に対応したテキスト暗号化要
素内の文字暗号化要素を指定する。被暗号化文字レジス
タ6にはレジスタlに格納されているテキストのらち、
レジスタ5で指定される1文字が格□納され尿。演算数
レジスメアにはレジスタ4で指定遣れN1個のテキスト
婚号化要素のうち、さらにレジスタ5で指定される文字
暗号化要素の演算用情報か格納され、演−5=
算子レジスタ8には施すべき演算の種類を指定する演算
子が格納され、さらに文字位置指定レジスタ9には暗号
化された文字のレジスタ3内における文字位置を指定す
る文字位置変更指定情報が格納される。演算制御器11
はレジスタ8の内容によって演算器lOを制御する。演
算器10によって暗号化された1文字はレジスタ12t
−介して順次出力テキストレジスタ3に格納される。The instruction register 4 has a plurality of text encryption elements 21 to 2.
Store information for selecting one of the four options. The character position designation register 5 designates a character encryption element within the text encryption element corresponding to each character position of the month of the month and the character position of the text to be encrypted. The encrypted character register 6 contains the text stored in register l,
One character specified in register 5 is stored. The arithmetic register register stores the operation information for the character encryption element specified in register 5 among the N1 text encryption elements specified in register 4, and the operation -5 = operator register 8 is stored. stores an operator that designates the type of operation to be performed, and further stores character position change designation information that designates the character position of the encrypted character in the register 3 in the character position designation register 9. Arithmetic controller 11
controls the arithmetic unit IO according to the contents of the register 8. One character encoded by the arithmetic unit 10 is stored in the register 12t.
- are sequentially stored in the output text register 3 through the output text register 3.
第2図を参照すると、テキスト暗号化要素内の1個の文
字暗号化要素は、暗号化の為の演算用情報(演算数)3
1.暗号化の為の演算子32.および文字位置変更指定
情報33から成っている。Referring to FIG. 2, one character encryption element in the text encryption element has calculation information (operation number) 3 for encryption.
1. Operator for encryption 32. and character position change designation information 33.
第3図を参照すると、記憶装置2内に格納されている4
個のテキスト暗号化要素は、各々第2図で示された文字
暗号化要素a、b、c、・・・nlに複数個有する。こ
の文字暗号化要素の個数は、レジスタlに格納される暗
号化されるべきテキストを構成する文字の最大長に等し
いだけ設けられる。Referring to FIG. 3, 4
The character encryption elements a, b, c, . . . , nl shown in FIG. 2 each have a plurality of text encryption elements. The number of character encryption elements is provided equal to the maximum length of characters constituting the text to be encrypted stored in register l.
次に暗号化の過程について説明する。Next, the encryption process will be explained.
まず送信すべきテキストがレジスタlへ格納され、レジ
スタ3はクリアーされ、さらに文字位置指定レジスタ5
が零にリセットされる。次にレジスフ4に複数個のテキ
スト暗号化要素21,22゜23.24の内の1個を選
択するための情報をセットする。この情報は1個のテキ
ス)を送信する毎に増加または減少する計数器の出力で
あっても良いし乱数発生器の出力でも良い。今ここでは
テキスト暗号化要素21が選択する情報がセットされた
ものと仮定する。First, the text to be transmitted is stored in register l, register 3 is cleared, and character position specification register 5 is cleared.
is reset to zero. Next, information for selecting one of the plurality of text encryption elements 21, 22, 23, and 24 is set in the register 4. This information may be the output of a counter that increases or decreases each time one text is transmitted, or the output of a random number generator. It is assumed here that the information selected by the text encryption element 21 has been set.
次に文字位置指定レジスタ5の内容tlだけ増加する。Next, the content tl of the character position designation register 5 is increased.
これによってレジスタ6にはレジスタ1内の指定された
1文字が取出される。同様にレジスタ7にはテキスト暗
号化要素21内の指定された文字暗号化要素を構成する
演算用情報31が、レジスタ8にはその演算数に対して
施される演算子32が、レジスタ9には演算結果のレジ
スタ3への格納位置を指定する文字位置変更指定情報3
3が夫々取り出される。演算器10はレジスタ6および
7の内容に対してレジスタ8が指定する演算を演算制御
器11の制御の下に行い、結果をレジスタ12に格納す
る。レジスタ12の暗号化されたテキストの1文字はレ
ジスタ3内のレジスタ9が指定する文字位置へ格納され
る。As a result, one specified character in register 1 is taken out into register 6. Similarly, register 7 contains the calculation information 31 that constitutes the specified character encryption element in the text encryption element 21, and register 8 contains the operator 32 to be applied to the operation number. is character position change specification information 3 that specifies the storage position of the calculation result in register 3
3 are taken out respectively. Arithmetic unit 10 performs the arithmetic operation specified by register 8 on the contents of registers 6 and 7 under the control of arithmetic controller 11 and stores the result in register 12 . One character of the encrypted text in register 12 is stored in register 3 at the character position specified by register 9.
こうしてレジスタl内の1文字が暗号化され、レジスタ
3内に格納されると、レジスタ5の内容は1だけ増加さ
れ、レジスタlからの1文字をレジスタ6に取り出す動
作に戻る。レジスタ1内の暗号化されるテキストの全文
字の暗号化が終ると、暗号化されたテキストには、複数
個のテキスト暗号化要素のうちの1つを選択するのに使
用したレジスタ4の内容が付加され、さらにテキストの
始りや、送出先又は送出元のステーション番号、テキス
トの終り等を示す伝送制御符号が付加されて送信先へ送
出される。When one character in register l is thus encrypted and stored in register 3, the contents of register 5 are incremented by 1, and the process returns to the operation of fetching one character from register l into register 6. Once all characters of the text to be encrypted in register 1 have been encrypted, the encrypted text includes the contents of register 4 that were used to select one of the multiple text encryption elements. is added, and a transmission control code indicating the start of the text, the station number of the destination or source, the end of the text, etc. is added, and the message is sent to the destination.
このようにして暗号化されたテキストは受信側において
送信側と同°じ鍵テーブルにより1元の文字位置に戻し
た後、逆演算を施すことにより、復号化することができ
ることは明白である。It is clear that the text encrypted in this manner can be decrypted on the receiving side by restoring the original character position to the original character position using the same key table as on the sending side and then performing an inverse operation.
次に、本発明の第二の実施例について説明する。Next, a second embodiment of the present invention will be described.
第4図において、第一の実施例と同一のブロックには同
一の参照番号が付されている。第一の実施例との相異は
、指示レジスタ4に格納するテキスト暗号化要素21.
22.23.24の指示情報をボイ7タテーブルレジス
タ13から取ff1fことである。このため、ポインタ
テーブル13にはさらに複数個の指示情報の内の1個を
選択するためのレジスタ14が付加されている。他の構
成要素については第一の実施例と同一であるので説明は
省略する。In FIG. 4, blocks that are the same as in the first embodiment are given the same reference numerals. The difference from the first embodiment is that the text encryption element 21 stored in the instruction register 4.
The instruction information of 22.23.24 is taken from the voice table register 13 ff1f. For this reason, the pointer table 13 is further provided with a register 14 for selecting one of the plurality of pieces of instruction information. The other constituent elements are the same as those in the first embodiment, so their explanation will be omitted.
次に第二の実施例における暗号化の過程について説明す
る。Next, the encryption process in the second embodiment will be explained.
まず送信すべきテキストがレジスタlへ格納され、レジ
スタ3がクリアーされ、文字位置指定レジスメアが零に
リセットされる迄は第一の実施例と同様である。次に記
憶装置2に格納されている複数個のテキスト暗号化要素
の内の1Mを選択するために、ポインタテーブル13内
に格納さnている複数個の指示情報の1つを選択する。The process is the same as the first embodiment until the text to be transmitted is first stored in register 1, register 3 is cleared, and the character position specification register is reset to zero. Next, in order to select 1M of the plurality of text encryption elements stored in the storage device 2, one of the plurality of instruction information stored in the pointer table 13 is selected.
そのためレジスタ14内に1個のテキストヲ送信する毎
に増加または減少する計数器の出力、あるいは乱数発生
器の出力をセットする。こうして選ばれたポインタテー
ブル13内の1個の指示情報は指示レジスタ4に入り複
数個のテキスト暗号化要素の内の1個が選択される。以
後の動作は第一の実施例と同様である。Therefore, the output of a counter or the output of a random number generator is set in the register 14, which increases or decreases each time one text is transmitted. One piece of instruction information in the pointer table 13 selected in this way is entered into the instruction register 4, and one of the plurality of text encryption elements is selected. The subsequent operations are the same as in the first embodiment.
レジスタ1内の暗号化されるテキストの全文字の暗号化
が終ると、暗号化されたテキストにはボイ/タテ−プル
13内の複数個の指示情報のうちの1個を選択するのに
使用したレジスタ14の内容が付加され、さらにテキス
トの始りや、送出先、又は送出元のステーション番号、
テキストの終り等を示す伝送制御符号が付加され、送信
先へ送り出される。When all the characters of the text to be encrypted in the register 1 have been encrypted, the encrypted text contains information used to select one of the plurality of instruction information in the voice/vertical table 13. The contents of the registered register 14 are added, and the start of the text, the destination or source station number,
A transmission control code indicating the end of the text is added and sent to the destination.
このようにして暗号化されたテキストは、受信側におい
て、送信側と同じポインタテーブルと鍵テーブルにより
逆演算を施すことにより復号化することができることは
明白である。It is clear that the text encrypted in this manner can be decrypted on the receiving side by performing an inverse operation using the same pointer table and key table as on the sending side.
本発明の第二の実施例においては、複数個のテキスト暗
号化要素の内の1個をポインタテーブル内の指示情報で
選択するようにしているので、ボーl 〇−
インクテーブルの内容を変更するのみでより解読困難な
2オンラインシステムにおける暗号化情報伝送システム
が実現でき石。In the second embodiment of the present invention, one of a plurality of text encryption elements is selected by the instruction information in the pointer table, so the contents of the ball 〇- ink table are changed. It is possible to realize an encrypted information transmission system in an online system that is more difficult to decipher.
暗号化の演算に当っては、テキスト内の文字が暗号化さ
れることによって伝送制御上の制御符号に変換されるこ
・とがないように演算用情報と演算子t−選択する必要
がある。また受信側において復号化するとき、元のテキ
ストの情報が失われることのないような演算用情報と演
算子を選択する必要がある。なお、以上の説明において
は、テキスト暗号化要素が4個の例に・ついて述べたが
、これに限ら扛るものではない。 ・
(発明の効果)
本発明は以上説明したように複数個のテキスト暗号化要
素を含む鍵テーブルを使用して、各テキスト毎に異なる
テキスト暗号化要素を選択して。In the encryption operation, it is necessary to select the operation information and the operator t so that the characters in the text are not converted into control codes for transmission control by being encrypted. . Furthermore, when decoding is performed on the receiving side, it is necessary to select calculation information and operators that will not cause the original text information to be lost. In addition, in the above description, the example in which the number of text encryption elements is four has been described, but the present invention is not limited to this. - (Effects of the Invention) As explained above, the present invention uses a key table including a plurality of text encryption elements to select a different text encryption element for each text.
テキストを暗号化することにより、オンラインシステム
におけるデータ通信5情報の盗聴を防止することが可能
となる。By encrypting the text, it is possible to prevent the data communication 5 information in the online system from being intercepted.
第1図は本発明の第一の実施例を示すブロック図、第2
図は文字暗号化要素の構成を示す図、第3図はテキスト
暗号化要素の構成を示す図、第4図は本発明の第二の実
施例を示すブロック図である。
1・・・・・・テキストレジスタ、2・・・・・−記憶
装置、3・・・・・・出力テキストレジスタ、4・・・
・・・テキスト暗号化要素指定レジスタ、5・・・・・
・文字位置指定レジスタ、6.12・・・・・・1文字
用レジスタ、7・・・・・・演算用情報レジスタ、8・
・・・・・演算子用レジスタ、9・・・・・・文字位置
変更指定情報レジスタ、10・・・・・・演算器、ll
・・・・・・演算制御器b13・・・・・・ポインタテ
ーブルレジスタ、14・・・・・・指示情報指定レジス
タ。
猶1 回
峯3回
茅4′I¥]
Or:7FIG. 1 is a block diagram showing a first embodiment of the present invention, and FIG.
FIG. 3 is a diagram showing the configuration of a character encryption element, FIG. 3 is a diagram showing the configuration of a text encryption element, and FIG. 4 is a block diagram showing a second embodiment of the present invention. 1...Text register, 2...-Storage device, 3...Output text register, 4...
...Text encryption element specification register, 5...
・Character position specification register, 6.12...Register for one character, 7......Arithmetic information register, 8.
...... Operator register, 9... Character position change specification information register, 10... Arithmetic unit, ll
...... Arithmetic controller b13... Pointer table register, 14... Instruction information specification register. 1 Kaiho 3 Kai 4'I ¥] Or: 7
Claims (1)
用情報と演算子と文字位置変更指定情報とを組とする文
字暗号化要素を少なくとも前記送信すべきテキストの最
大長に対応した数だけ有するテキスト暗号化要素を設定
し、前記テキスト暗号化要素を複数個有する鍵テーブル
を備え、テキストの送信に際して前記鍵テーブル内の複
数個のテキスト暗号化要素の内の1個を選択し、前記送
信すべきテキストの各文字位置に対応して前記選択され
たテキスト暗号化要素の対応する文字暗号化要素を読出
すことによって前記送信すべきテキストを1文字毎に暗
号化し、前記文字位置指定情報によって指定された文字
位置変更を行って暗号化されたテキストを組立て、前記
複数個のテキスト暗号化要素を選択した情報を付加して
送信することを特徴とする暗号化方式。Corresponding to each character position in the text, a character encryption element consisting of a set of arithmetic information for encryption, an operator, and character position change designation information is provided that corresponds to at least the maximum length of the text to be transmitted. a key table having a plurality of text encryption elements, and selecting one of the plurality of text encryption elements in the key table when transmitting text; The text to be transmitted is encrypted character by character by reading the corresponding character encryption element of the selected text encryption element corresponding to each character position of the text to be transmitted, and the character position is specified. An encryption method characterized in that an encrypted text is assembled by changing the character position specified by the information, and information on selecting the plurality of text encryption elements is added and transmitted.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP59210721A JPS6189743A (en) | 1984-10-08 | 1984-10-08 | Ciphering system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP59210721A JPS6189743A (en) | 1984-10-08 | 1984-10-08 | Ciphering system |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS6189743A true JPS6189743A (en) | 1986-05-07 |
JPH0365701B2 JPH0365701B2 (en) | 1991-10-14 |
Family
ID=16593997
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP59210721A Granted JPS6189743A (en) | 1984-10-08 | 1984-10-08 | Ciphering system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6189743A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04101529A (en) * | 1990-08-21 | 1992-04-03 | Nitsuko Corp | Enciphered communication system |
-
1984
- 1984-10-08 JP JP59210721A patent/JPS6189743A/en active Granted
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04101529A (en) * | 1990-08-21 | 1992-04-03 | Nitsuko Corp | Enciphered communication system |
Also Published As
Publication number | Publication date |
---|---|
JPH0365701B2 (en) | 1991-10-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US3798359A (en) | Block cipher cryptographic system | |
US3798360A (en) | Step code ciphering system | |
US3796830A (en) | Recirculating block cipher cryptographic system | |
EP0002388B1 (en) | Data processing terminal | |
US4316055A (en) | Stream/block cipher crytographic system | |
EP0002578A1 (en) | Data communication method | |
JPS62283742A (en) | Data transmission | |
GB1351574A (en) | Data processing system | |
EP2183875A2 (en) | Method and system for encryption of data | |
CN106899607A (en) | The method and device that a kind of information encryption is sent and decryption is received | |
CN110704854B (en) | Stream type encryption method aiming at text data reserved format | |
CN111753318A (en) | Multi-party security calculation method, device and system for private data | |
CN109450881A (en) | A kind of data transmission system, method and device | |
CN102045159A (en) | Decryption processing method and device thereof | |
CN107248914B (en) | Novel symmetric encryption system and encryption method on iOS device | |
JPS6189743A (en) | Ciphering system | |
US20200213080A1 (en) | Method for sequentially encrypting and decrypting doubly linked lists based on double key stream ciphers | |
JPH10164028A (en) | Data communication method | |
JPS6189744A (en) | Ciphering system | |
JPS6154734A (en) | Enciphering system | |
Willett | Cryptography old and new | |
JPH0777933A (en) | Network data ciphering device | |
CN110519055B (en) | Method and device for image comparison encryption and decryption algorithm | |
US11811920B1 (en) | Secure computation and communication | |
JPS6145646A (en) | Ciphering system |