JPH096238A - Terminal device for cipher communication - Google Patents

Terminal device for cipher communication

Info

Publication number
JPH096238A
JPH096238A JP7156374A JP15637495A JPH096238A JP H096238 A JPH096238 A JP H096238A JP 7156374 A JP7156374 A JP 7156374A JP 15637495 A JP15637495 A JP 15637495A JP H096238 A JPH096238 A JP H096238A
Authority
JP
Japan
Prior art keywords
data
encryption
involution
encrypted
communication
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
JP7156374A
Other languages
Japanese (ja)
Inventor
Koichi Shibata
浩一 柴田
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.)
Kyocera Mita Industrial Co Ltd
Original Assignee
Mita Industrial 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 Mita Industrial Co Ltd filed Critical Mita Industrial Co Ltd
Priority to JP7156374A priority Critical patent/JPH096238A/en
Publication of JPH096238A publication Critical patent/JPH096238A/en
Pending legal-status Critical Current

Links

Landscapes

  • Facsimile Transmission Control (AREA)

Abstract

PURPOSE: To heighten the cipher intensity, and obtain the number of steps of deciphering involutions based on a random number so as to be different for each communication not to be known by third person by variably setting the number of steps of deciphering involution. CONSTITUTION: In an enciphering and deciphering device 6 of a facsimile device, encyphering and deciphering are performed by executing plural steps involutions. In the case of cypher transmission, encyphering involutions are executed by the number of steps corresponding to step number selection data P obtained based on a random number X so that encyphered data is transmitted. A NSS containing a parameter α required for obtaining the data P is transmitted prior to the encyphered data. In the case of a cypher reception, the data P is obtained from the parameter αcontained in the NSS, and reverse deciphering involutions to the encyphering involutions are executed by the number of steps corresponding to the data P so that normalized data is output.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、暗号通信のための端末
装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a terminal device for cryptographic communication.

【0002】[0002]

【従来の技術】従来から、通信分野において、通信デー
タの機密保持という観点から、通信データに所定の暗号
鍵を用いて暗号化処理を施すことにより暗号化データを
作成して送信する、いわゆる暗号通信が行われている。
暗号通信の1つの手法に、たとえばDES(Data Encry
ption Standard)型暗号装置を用いた公開アルゴリズム
方式がある。
2. Description of the Related Art Conventionally, in the field of communication, from the viewpoint of maintaining confidentiality of communication data, so-called encryption, in which encrypted data is created and transmitted by performing encryption processing on the communication data using a predetermined encryption key Communication is taking place.
One method of encrypted communication is, for example, DES (Data Encry
There is a public algorithm method using a ption standard type encryption device.

【0003】図7は、上記DES型暗号装置の電気的構
成を示すブロック図である。DES型暗号装置には、前
処理部B0、攪拌処理部B1、後処理部B2およびキー
スケジューリング部KSが備えられている。キースケジ
ューリング部KSは、暗号鍵Kを元に、複数の単位暗号
鍵ka ,k0 〜k7 ,kb を作成し、前処理部B0、攪
拌処理部B1および後処理部B2に与える。
FIG. 7 is a block diagram showing an electrical configuration of the DES type encryption device. The DES type encryption device includes a pre-processing unit B0, a stirring processing unit B1, a post-processing unit B2, and a key scheduling unit KS. Key scheduling section KS, based on the encryption key K, to create a plurality of unit cryptographic key k a, k 0 ~k 7, k b, the pre-processing unit B0, gives the stirring processing section B1 and the post-processing unit B2.

【0004】暗号化すべきデータDinは、前処理部B0
において、複数の単位暗号鍵のうちの1つであるka
の間の排他的論理和がゲートGinでとられた後二分割さ
れる。二分割されたデータのうちの一方のデータは、デ
ータL0 としてそのまま攪拌処理部B1に与えられる。
攪拌処理部B1にはさらに、二分割されたデータ相互間
で排他的論理和をとって得られるデータR0 がゲートG
p から与えられる。
The data D in to be encrypted is stored in the preprocessor B0.
, The exclusive OR between k a , which is one of the plurality of unit encryption keys, is taken by the gate G in and then divided into two. One of the two divided data is provided as it is to the agitation processing unit B1 as the data L 0 .
Further, in the agitation processing unit B1, data R 0 obtained by taking an exclusive OR between the two divided data is gate G.
given by p .

【0005】攪拌処理部B1には、キースケジューリン
グ部KSで作成された単位暗号鍵k 0 〜k7 がそれぞれ
与えられる演算部E1 〜E8 (以下総称するときは「演
算部E」という)、およびゲートG1 〜G8 (以下総称
するときは「ゲートG」という)が備えられている。攪
拌処理部B1では、1つの演算部EおよびゲートGにお
いて1段のインボリューションが実行される。そして、
このインボリューションが複数段繰り返し実行されるこ
とにより暗号化処理が達成される。
In the stirring processing section B1, the key schedulin
Unit encryption key k created by the KS section 0~ K7Is each
Given arithmetic unit E1~ E8(When collectively referred to below,
Arithmetic section E ") and gate G1~ G8(Hereinafter generically
"Gate G") is provided. Disturbance
In the agitation processing unit B1, one computing unit E and one gate G are provided.
Then, the involution of one step is executed. And
This involution can be repeated multiple times.
The encryption process is achieved by and.

【0006】上記インボリューションについてより詳述
する。演算部Eでは、データR0 〜R7 を一方の入力と
し、単位暗号鍵k0 〜k7 を他方の入力として、所定の
f関数による演算が実行される。一方、ゲートGでは、
データL0 〜L7 を一方の入力とし、上記演算部Eにお
ける演算結果を他方の入力として、データL0 〜L7
演算部Eの演算結果との排他的論理和がとられる。
The above involution will be described in more detail. In the arithmetic unit E, the data R 0 to R 7 is used as one input, and the unit encryption keys k 0 to k 7 are used as the other inputs, and the arithmetic operation by the predetermined f function is executed. On the other hand, at the gate G,
The data L 0 to L 7 are used as one input, and the calculation result in the calculation unit E is used as the other input, and the data L 0 to L 7 and the calculation result of the calculation unit E are exclusive ORed.

【0007】データR1 〜R7 は、前段のインボリュー
ションのためのゲートGにおける演算結果、すなわち入
力データL0 〜L6 と演算部E1 〜E7 の出力との排他
的論理和にそれぞれ対応する。また、データL1 〜L7
は、前段の演算部E1 〜E7への入力データR0 〜R6
とそれぞれ同一である。すなわち、攪拌処理部B1で
は、1段のインボリューションが終了すると、その処理
結果がデータ交換されて次段の演算部EおよびゲートG
に与えられ、次段の演算部EおよびゲートGにおいて前
段のインボリューションの処理結果に対してインボリュ
ーションが施される。これにより、攪拌処理部B1に与
えられる元のデータL0 ,R0 とは全く異なるデータL
8 ,R8 が作成される。これらのデータL8 ,R8 は後
処理部B2に与えられる。
The data R 1 to R 7 are respectively the exclusive OR of the operation result in the gate G for the involution of the preceding stage, that is, the input data L 0 to L 6 and the outputs of the operation units E 1 to E 7. Correspond. Also, the data L 1 to L 7
Is input data R 0 to R 6 to the arithmetic units E 1 to E 7 in the previous stage.
And are respectively the same. That is, in the agitation processing unit B1, when the involution of the first stage is completed, the processing result is exchanged, and the arithmetic unit E and the gate G of the next stage are exchanged.
Is given to the calculation unit E and the gate G in the next stage, and the result of the involution process in the previous stage is subjected to involution. As a result, the data L completely different from the original data L 0 and R 0 given to the agitation processing unit B1.
8 and R 8 are created. These data L 8 and R 8 are given to the post-processing unit B2.

【0008】後処理部B2では、ゲートGa において各
データL8 ,R8 の排他的論理和がとられる。これによ
り、ゲートGa の出力データと上記データL8 とは、結
合されて1つのデータにまとめられる。そして、このま
とめられたデータと単位暗号鍵kb との間の排他的論理
和がゲートGout でとられる。これにより、元のデータ
inとは全く異なる暗号化データDout が得られる。
In the post-processing unit B2, the gate G a takes the exclusive OR of the data L 8 and R 8 . As a result, the output data of the gate G a and the data L 8 are combined into one data. Then, an exclusive OR between the collected data and the unit encryption key k b is obtained at the gate G out . As a result, encrypted data D out that is completely different from the original data D in is obtained.

【0009】一方、受信された暗号化データから平文化
データを得る平文化処理は、暗号化処理において実行さ
れるデータ攪拌処理と反対の手順でデータ攪拌が実行さ
れることにより達成される。公開アルゴリズム方式で
は、f関数の内容およびインボリューションの段数を含
む暗号化アルゴリズムの内容が公開されている。暗号通
信を行う当事者は、予め秘密の暗号鍵を打ち合わせてお
く。そして、送信側および受信側の通信装置に共通の暗
号鍵Kを設定しておくことにより暗号通信が達成され
る。
On the other hand, the plain culture process for obtaining the plain culture data from the received encrypted data is achieved by performing the data shuffling in a procedure opposite to the data shuffling process executed in the encryption process. In the public algorithm method, the contents of the f-function and the contents of the encryption algorithm including the number of stages of involution are made public. The parties who carry out the cryptographic communication have a secret cryptographic key in advance. Then, by setting the common encryption key K in the communication device on the transmission side and the communication device on the reception side, the encrypted communication is achieved.

【0010】[0010]

【発明が解決しようとする課題】ところで、上記DES
型暗号装置では、上記インボリューションの段数は固定
されている。しかも、f関数の内容、ならびにインボリ
ューションおよびデータ交換を含む全体の処理の流れが
公開されている。したがって、上記DES型暗号装置で
は、暗号強度(暗号化の度合い)が必ずしも十分ではな
い場合もあり、暗号強度のさらなる向上が望まれること
も考えられる。
By the way, the above-mentioned DES
In the type encryption device, the number of stages of the involution is fixed. Moreover, the contents of the f-function and the overall processing flow including involution and data exchange are open to the public. Therefore, in the above-mentioned DES type encryption device, the encryption strength (degree of encryption) may not always be sufficient, and it is considered that further improvement of the encryption strength is desired.

【0011】そこで、本発明の目的は、上述の技術的課
題を解決し、暗号強度の向上を図ることができる暗号通
信のための端末装置を提供することである。
SUMMARY OF THE INVENTION An object of the present invention is to solve the above technical problems and to provide a terminal device for cipher communication capable of improving cipher strength.

【0012】[0012]

【課題を解決するための手段】上記目的を達成するため
の請求項1記載の端末装置は、所定の通信回線を介して
接続された被呼側端末装置に対して暗号化データを送信
するための端末装置であって、暗号化インボリューショ
ンの段数を可変設定することができ、設定された段数の
暗号化インボリューションを送信すべきデータに施すこ
とによって暗号化データを作成する暗号化手段と、乱数
を発生させる乱数発生手段と、この乱数発生手段が発生
した乱数に基づいて、上記暗号化手段において実行され
る暗号化インボリューションの段数を設定する段数設定
手段と、この段数設定手段によって設定された暗号化イ
ンボリューションの段数に対応する段数データ、および
上記暗号化手段で作成された暗号化データを上記所定の
通信回線に送出する送出手段とを含むことを特徴とす
る。
According to a first aspect of the present invention, there is provided a terminal device for transmitting encrypted data to a called side terminal device connected via a predetermined communication line. In the terminal device of, the number of stages of encryption involution can be variably set, and an encryption means that creates encrypted data by applying the set number of stages of encryption involution to the data to be transmitted, A random number generating means for generating a random number, a step number setting means for setting the step number of the encryption involution executed in the encryption means based on the random number generated by the random number generating means, and the step number setting means. The step number data corresponding to the step number of the encrypted involution and the encrypted data created by the encryption means are sent to the predetermined communication line. Characterized in that it comprises a sending unit.

【0013】また、請求項2記載の端末装置は、送信す
べきデータに乱数に基づいて設定された段数の暗号化イ
ンボリューションが施されることにより作成された暗号
化データ、および上記設定された暗号化インボリューシ
ョンの段数に対応した段数データを、接続された発呼側
端末装置から所定の通信回線を介して受信するための端
末装置であって、平文化インボリューションの段数を可
変設定することができ、設定された段数の平文化インボ
リューションを上記発呼側端末装置から上記所定の通信
回線を介して受信される暗号化データに施すことにより
平文化データを作成する平文化手段と、上記発呼側端末
装置から上記所定の通信回線を介して受信される段数デ
ータに基づいて、暗号化の際に実行された暗号化インボ
リューションの段数と等しい段数を上記平文化手段で実
行される平文化インボリューションの段数として上記平
文化手段に設定する段数設定手段とを含むことを特徴と
する。
In the terminal device according to the second aspect of the invention, the encrypted data created by subjecting the data to be transmitted to the encryption involution of the number of stages set based on the random number, and the above-mentioned set data. A terminal device for receiving the stage number data corresponding to the stage number of encrypted involution from a connected calling side terminal device through a predetermined communication line, and variably setting the stage number of the plain culture involution. And a flat culture means for creating the flat culture data by applying the set number of flat culture involutions to the encrypted data received from the calling terminal device via the predetermined communication line, and Based on the step number data received from the calling terminal device via the above-mentioned predetermined communication line, the step of the encryption involution executed at the time of encryption Characterized in that it comprises a stage number setting means for setting the equal number to the decryption means as decryption involution of stages to be executed by the decryption means.

【0014】[0014]

【作用】上記構成において、発呼側端末装置では、乱数
発生手段で発生された乱数に基づいて暗号化インボリュ
ーションの段数が設定され、この設定された段数の暗号
化インボリューションが送信すべきデータに施される。
これにより暗号化データが作成される。そして、設定さ
れた暗号化インボリューションの段数に対応する段数デ
ータと、暗号化データとが所定の通信回線に送出され
る。
In the above structure, the calling side terminal device sets the number of stages of the encrypted involution based on the random number generated by the random number generation means, and the data to be transmitted by the set number of encrypted involutions. Is applied to.
This creates encrypted data. Then, the stage number data corresponding to the set stage number of the encrypted involution and the encrypted data are sent to a predetermined communication line.

【0015】一方、被呼側端末装置では、受信された段
数データに基づいて、暗号化の際に実行された暗号化イ
ンボリューションの段数と等しい段数が平文化インボリ
ューションの段数として設定される。そして、この設定
されたの平文化インボリューションが受信された暗号化
データに施されることにより平文化データが得られる。
On the other hand, in the called terminal device, the number of stages equal to the number of stages of the encrypted involution executed at the time of encryption is set as the number of stages of the plain culture involution based on the received stage number data. Then, the plain culture data is obtained by applying the set plain culture involution to the received encrypted data.

【0016】このように、本発明によれば、暗号化デー
タの作成に際に実行される暗号化インボリューションの
段数が可変設定されるので、暗号強度の向上を図ること
ができる。また、上記暗号化インボリューションの段数
は乱数に基づいて求めているので、通信ごとに異なる。
したがって、第三者に暗号化インボリューションの段数
が知られることはない。
As described above, according to the present invention, since the number of stages of the encryption involution executed when creating the encrypted data is variably set, the encryption strength can be improved. Moreover, since the number of stages of the encrypted involution is obtained based on a random number, it differs for each communication.
Therefore, the number of encryption involution steps is not known to a third party.

【0017】[0017]

【実施例】以下では、本発明の実施例を、添付図面を参
照して詳細に説明する。図1は、本発明の一実施例のフ
ァクシミリ装置の電気的構成を示すブロック図である。
このファクシミリ装置は、送信すべき原稿をたとえば光
学的に読取り、原画データを出力する読取部1を備えて
いる。読取部1から出力される原画データには、画像処
理部2で所定の画像処理が施される。画像処理が施され
た原画データは、制御部3を介して符号化/復号化装置
4に与えられ、MH(Modified Huffman),MR(Modi
fied READ , READ:Relative Element Address Designat
e)等のファクシミリ通信に必要な圧縮符号化が施され
て送信符号に変換される。この送信符号は、通常のファ
クシミリ通信の場合には、直接、モデム5に与えられ
る。一方、暗号通信の場合には、上記送信符号は、暗号
化/平文化装置6に与えられて暗号化データに変換され
る。そして、この暗号化データがモデム5に与えられ
る。モデム5では、上記送信符号または暗号化データに
所定の変調処理が施されることにより送信信号が作成さ
れる。作成された送信信号は、網制御部(NCU)7を
介して公衆電話回線8に送出される。
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. FIG. 1 is a block diagram showing an electrical configuration of a facsimile apparatus according to one embodiment of the present invention.
This facsimile apparatus includes a reading unit 1 that optically reads a document to be transmitted and outputs original image data. The original image data output from the reading unit 1 is subjected to predetermined image processing by the image processing unit 2. The original image data that has been subjected to image processing is given to the encoding / decoding device 4 via the control unit 3, and the MH (Modified Huffman) and MR (Modi
fied READ, READ: Relative Element Address Designat
The compression coding necessary for facsimile communication such as e) is performed and converted into a transmission code. In the case of normal facsimile communication, this transmission code is directly given to the modem 5. On the other hand, in the case of encrypted communication, the transmission code is given to the encryption / plaintext device 6 and converted into encrypted data. Then, this encrypted data is given to the modem 5. In the modem 5, a transmission signal is created by subjecting the transmission code or the encrypted data to a predetermined modulation process. The created transmission signal is sent to the public telephone line 8 via the network control unit (NCU) 7.

【0018】一方、データが受信される場合、受信信号
は網制御部7を介してモデム5に与えられ、受信符号に
復調される。受信符号が暗号化されたものでない場合、
すなわち通常のファクシミリ通信の場合、受信符号は符
号化/復号化装置4で復号化(伸長化)され、原画デー
タに復元される。一方、受信符号が暗号化されたものの
場合、すなわち暗号通信の場合、受信符号は暗号化/平
文化装置6で平文化データに変換された後、符号化/復
号化装置4で復号化され、原画データに復元される。復
元された原画データは記録部9に与えられ、受信画像が
用紙上に記録される。
On the other hand, when data is received, the received signal is given to the modem 5 via the network controller 7 and demodulated into a received code. If the received code is not encrypted,
That is, in the case of normal facsimile communication, the received code is decoded (decompressed) by the encoding / decoding device 4 and restored to the original image data. On the other hand, when the received code is encrypted, that is, in the case of encrypted communication, the received code is converted into plain culture data by the encryption / plain culture device 6 and then decoded by the encoding / decoding device 4, It is restored to the original image data. The restored original image data is given to the recording unit 9, and the received image is recorded on the paper.

【0019】なお、送信機能部10は、送信時の回線接
続制御や送信プロトコル処理等を実行するためのもので
ある。また、受信機能部11は、受信時の回線接続制御
や受信プロトコル処理等を実行するためのものである。
このファクシミリ装置はまた、操作部12を備えてい
る。操作部12には、通信相手先のファクシミリ番号等
の数値データを入力するためのテンキー12a、ファク
シミリ通信の開始を指示するためのスタートキー12
b、暗号通信を指示するための暗号通信キー12cが配
列されている。操作部12における上述したキーの種類
等は一例であり、必要に応じて他の機能のためのキーを
追加したり、キーの配置を変更したりしてもよい。
The transmission function unit 10 is for executing line connection control and transmission protocol processing during transmission. The reception function unit 11 is for executing line connection control and reception protocol processing at the time of reception.
The facsimile machine also includes an operation unit 12. The operation unit 12 has a ten-key 12a for inputting numerical data such as a facsimile number of a communication partner, and a start key 12 for instructing the start of facsimile communication.
b, an encrypted communication key 12c for instructing encrypted communication is arranged. The above-described types of keys in the operation unit 12 are examples, and keys for other functions may be added or the arrangement of the keys may be changed as necessary.

【0020】このファクシミリ装置はさらに、乱数Xを
発生させる乱数発生部13を備えている。乱数発生部1
3で発生された乱数Xは制御部3に与えられる。制御部
3は、後述するように、乱数Xに基づいてインボリュー
ションの段数を設定するための段数選択データPを求
め、この求められた段数選択データPに対応する選択信
号SELが暗号化/平文化装置6に与える。
This facsimile apparatus further comprises a random number generator 13 for generating a random number X. Random number generator 1
The random number X generated in 3 is given to the control unit 3. As will be described later, the control unit 3 obtains stage number selection data P for setting the number of stages of involution based on the random number X, and the selection signal SEL corresponding to the obtained stage number selection data P is encrypted / flat. Give to the culture device 6.

【0021】ファクシミリ装置はさらにまた、DRAM
等で構成された画像メモリ14を備えている。この画像
メモリ14は、その記憶領域の一部が親展通信の際に用
いられる親展ボックスとして利用可能にされている。親
展通信では、送信側ファクシミリ装置から送信されたデ
ータはいったんメモリに格納され、予め定める暗証番号
(ID)等が入力されたことに応答してメモリからデー
タが読出され、この読出されたデータに基づいて受信画
像がプリントアウトされる。
The facsimile machine is further provided with a DRAM.
The image memory 14 is composed of the above. A part of the storage area of the image memory 14 can be used as a confidential box used during confidential communication. In the confidential communication, the data transmitted from the sending facsimile machine is temporarily stored in the memory, the data is read from the memory in response to the input of a predetermined personal identification number (ID), etc. Based on this, the received image is printed out.

【0022】上記画像メモリ14は、図1に示すよう
に、複数の親展ボックスBOX1 ,BOX2 ,・・・,
BOXn が利用可能にされている。親展ボックスBOX
には、互いに異なるボックス番号が付与されている。暗
号通信では、たとえば画像メモリ14内の親展ボックス
BOXに割り当てられた番号とは異なる架空の親展ボッ
クス番号が用いられてもよい。すなわち、暗号通信用親
展ボックス番号が通信相手ごとに予め定められており、
暗号通信用親展ボックス番号に対応する親展ボックスは
画像メモリ14内には存在しない。
The image memory 14 has a plurality of confidential boxes BOX 1 , BOX 2 , ..., As shown in FIG.
BOX n is made available. Confidential Box BOX
Are given different box numbers. In the cryptographic communication, for example, a fictitious confidential box number different from the number assigned to the confidential box BOX in the image memory 14 may be used. That is, the confidential box number for encrypted communication is predetermined for each communication partner,
The confidential box corresponding to the confidential box number for encrypted communication does not exist in the image memory 14.

【0023】なお、暗号通信用親展ボックス番号を画像
メモリ14内に存在する親展ボックスに対応付けておけ
ば、暗号通信を親展機能を利用して行える。ファクシミ
リ装置はさらに、EEPROM等で構成されたメモリ1
5を備えている。メモリ15には、暗号化/平文化処理
に必要な暗号鍵Kが暗号通信用親展ボックス番号に対応
付けて格納されている。暗号鍵Kは、第三者に漏洩しな
いように、暗号通信を行う当事者間において予め秘密に
打合せして取決められている。同時に、暗号通信用親展
ボックス番号も取決められる。取決められた暗号鍵K
は、たとえばテンキー12aからの入力操作によって、
取決められた暗号通信用親展ボックス番号に対応付けて
メモリ15に登録される。
By associating the confidential box number for encrypted communication with the confidential box existing in the image memory 14, encrypted communication can be performed using the confidential function. The facsimile device further includes a memory 1 including an EEPROM or the like.
5 is provided. The memory 15 stores an encryption key K required for encryption / plaintext processing in association with a confidential box number for encrypted communication. The cryptographic key K is negotiated in advance between parties performing cryptographic communication so that the cryptographic key K is not leaked to a third party. At the same time, the confidential box number for encrypted communication is also negotiated. Arranged encryption key K
Is, for example, by an input operation from the numeric keypad 12a,
It is registered in the memory 15 in association with the agreed confidential box number for encrypted communication.

【0024】符号化/復号化装置4は、暗号化/平文化
装置6に接続されたA端子と、モデム5に接続されたB
端子とを有する。制御部3は、通常のファクシミリ通信
を実行する場合、符号化/復号化装置4にB端子を選択
することを指示する制御信号を与える。このとき、制御
部3は、暗号化/平文化装置6にOFF信号を与え、そ
の動作を禁止する。その結果、符号化/復号化装置4か
ら出力される送信符号は、直接モデム5に与えられる。
また、モデム5から出力される受信符号は、符号化/復
号化装置4に与えられて原画データに復元される。
The encoding / decoding device 4 has an A terminal connected to the encryption / decryption device 6 and a B connected to the modem 5.
And a terminal. When executing normal facsimile communication, the control unit 3 gives the encoding / decoding device 4 a control signal for instructing to select the B terminal. At this time, the control unit 3 gives an OFF signal to the encryption / plaintext device 6 to prohibit its operation. As a result, the transmission code output from the encoding / decoding device 4 is directly given to the modem 5.
Further, the reception code output from the modem 5 is given to the encoding / decoding device 4 and restored to the original image data.

【0025】また、制御部3は、暗号通信を実行する場
合、符号化/復号化装置4にA端子を選択することを指
示する制御信号を与える。このとき、制御部3は、暗号
化/平文化装置6にメモリ15に格納されている暗号鍵
K、および乱数Xに基づいて求められた段数選択データ
Pに対応する選択信号SELを与えるとともに、ON信
号を与える。その結果、符号化/復号化装置4から出力
される送信符号は、暗号化/平文化装置6に与えられ、
暗号化データに変換される。そして、この暗号化データ
がモデム5に与えられる。また、モデム5から出力され
る受信符号は、暗号化/平文化装置6に与えられて平文
化データに変換される。そして、この平文化データが符
号化/復号化装置4に与えられ、原画データに復元され
る。
Further, the control section 3 gives a control signal for instructing the encoding / decoding apparatus 4 to select the A terminal when executing the encrypted communication. At this time, the control unit 3 gives the encryption / plaintext device 6 a selection signal SEL corresponding to the stage number selection data P obtained based on the encryption key K stored in the memory 15 and the random number X, and Give an ON signal. As a result, the transmission code output from the encoding / decoding device 4 is given to the encryption / plaintext device 6,
Converted to encrypted data. Then, this encrypted data is given to the modem 5. The received code output from the modem 5 is given to the encryption / plain culture device 6 and converted into plain culture data. Then, this plain culture data is given to the encoding / decoding device 4 and restored to the original image data.

【0026】図2は、上記暗号化/平文化装置6の電気
的構成を示すブロック図である。この暗号化/平文化装
置6には、原/暗号化データDinに暗号化/平文化処理
を施して暗号化/平文化データ候補を得るための暗号化
/平文化ブロック部61が備えられている。暗号化/平
文化ブロック部61は、対称暗号系の代表的な暗号化/
平文化手法であるDES(Data Encryption Standard)
に基づいて暗号化/平文化を実行するもので、ライン6
2a〜62eに5種類の暗号化/平文化データ候補を出
力し、セレクタ部63に与える。セレクタ部63は、制
御部3から与えられる段数選択データPに対応した選択
信号SELに基づいて、いずれか1つの暗号化/平文化
データ候補を暗号化/平文化データDout として出力す
る。
FIG. 2 is a block diagram showing the electrical configuration of the encryption / plaintext device 6. The encryption / plain culture device 6 is provided with an encryption / plain culture block unit 61 for performing encryption / plain culture processing on the original / encrypted data D in to obtain encryption / plain culture data candidates. ing. The encryption / plain culture block unit 61 is a typical encryption / symmetric encryption system.
DES (Data Encryption Standard), which is a flat culture method
Performs encryption / plain culture based on, line 6
Five types of encrypted / flat culture data candidates are output to 2a to 62e and given to the selector unit 63. The selector unit 63 outputs any one of the encrypted / plain culture data candidates as the encrypted / plain culture data D out based on the selection signal SEL corresponding to the stage number selection data P given from the control unit 3.

【0027】図3は、上記暗号化/平文化ブロック部6
1の電気的構成を示すブロック図である。暗号化/平文
化ブロック部61には、前処理部B0、攪拌処理部B
1、後処理部B2およびキースケジューリング部KSが
備えられている。キースケジューリング部KSは、暗号
鍵Kを元に、複数の単位暗号鍵ka ,k0 〜k7 ,kb
を作成し、前処理部B0、攪拌処理部B1および後処理
部B2に与える。
FIG. 3 shows the encryption / plain culture block section 6 described above.
2 is a block diagram showing an electrical configuration of 1. FIG. The encryption / flat culture block unit 61 includes a pre-processing unit B0 and a stirring processing unit B.
1, a post-processing unit B2 and a key scheduling unit KS are provided. Key scheduling section KS, based on the encryption key K, a plurality of unit cryptographic key k a, k 0 ~k 7, k b
Is prepared and given to the pretreatment unit B0, the stirring treatment unit B1, and the posttreatment unit B2.

【0028】暗号化すべき原データDinは、前処理部B
0において、複数の単位暗号鍵のうちの1つka との間
の排他的論理和がゲートGinでとられた後二分割され
る。二分割されたデータのうちの一方のデータは、デー
タL0 としてそのまま攪拌処理部B1に与えられる。攪
拌処理部B1にはさらに、二分割されたデータの排他的
論理和をとって得られるデータR0 がゲートGp から与
えられる。
The original data D in to be encrypted is stored in the preprocessing unit B.
At 0, an exclusive OR with one of the plurality of unit encryption keys k a is taken at the gate G in and then divided into two. One of the two divided data is provided as it is to the agitation processing unit B1 as the data L 0 . Further, the agitation processing unit B1 is further supplied with data R 0 obtained by taking the exclusive OR of the divided data from the gate G p .

【0029】攪拌処理部B1には、キースケジューリン
グ部KSで作成された単位暗号鍵k 0 〜k7 がそれぞれ
与えられる演算部E1 〜E8 (以下総称するときは「演
算部E」という)、およびゲートG1 〜G8 (以下総称
するときは「ゲートG」という)が備えられている。攪
拌処理部B1では、1つの演算部EおよびゲートGにお
いて1段のインボリューションが実行される。そして、
このインボリューションが複数段繰り返し実行されるこ
とにより暗号化処理が達成される。
In the agitation processing section B1, the key schedulin
Unit encryption key k created by the KS section 0~ K7Is each
Given arithmetic unit E1~ E8(When collectively referred to below,
Arithmetic section E ") and gate G1~ G8(Hereinafter generically
"Gate G") is provided. Disturbance
In the agitation processing unit B1, one computing unit E and one gate G are provided.
Then, the involution of one step is executed. And
This involution can be repeated multiple times.
The encryption process is achieved by and.

【0030】上記インボリューションについてより詳述
する。演算部Eでは、データR0 〜R7 を一方の入力と
し、単位暗号鍵k0 〜k7 を他方の入力として、所定の
f関数による演算が実行される。一方、ゲートGでは、
データL0 〜L7 を一方の入力とし、上記演算部Eにお
ける演算結果を他方の入力として、データL0 〜L7
演算部E1 〜E7 の演算結果との排他的論理和がとられ
る。
The above involution will be described in more detail. In the arithmetic unit E, the data R 0 to R 7 is used as one input, and the unit encryption keys k 0 to k 7 are used as the other inputs, and the arithmetic operation by the predetermined f function is executed. On the other hand, at the gate G,
With the data L 0 to L 7 as one input and the calculation result in the calculation unit E as the other input, the exclusive OR of the data L 0 to L 7 and the calculation result of the calculation units E 1 to E 7 is obtained. To be

【0031】データR1 〜R7 は、前段のインボリュー
ションのためのゲートGにおける演算結果、すなわち入
力データL0 〜L6 と演算部E1 〜E7 の出力との排他
的論理和にそれぞれ対応する。また、データL1 〜L7
は、前段の演算部E1 〜E7への入力データR0 〜R6
とそれぞれ同一である。すなわち、攪拌処理部B1で
は、1段のインボリューションが終了すると、その処理
結果がデータ交換されて次段の演算部EおよびゲートG
に与えられ、次段の演算部EおよびゲートGにおいて前
段のインボリューションの処理結果に対してインボリュ
ーションが施される。これにより、攪拌処理部B1に与
えられる元のデータL0 ,R0 を十分に攪拌することが
できる。
The data R 1 to R 7 are respectively the result of the operation in the gate G for the involution in the previous stage, that is, the exclusive OR of the input data L 0 to L 6 and the outputs of the operation units E 1 to E 7. Correspond. Also, the data L 1 to L 7
Is input data R 0 to R 6 to the arithmetic units E 1 to E 7 in the previous stage.
And are respectively the same. That is, in the agitation processing unit B1, when the involution of the first stage is completed, the processing result is exchanged, and the arithmetic unit E and the gate G of the next stage are exchanged.
Is given to the calculation unit E and the gate G in the next stage, and the result of the involution process in the previous stage is subjected to involution. As a result, the original data L 0 and R 0 given to the agitation processing unit B1 can be sufficiently agitated.

【0032】最終段の演算部E8 およびゲートG8 にお
けるインボリューションが終了すると、当該インボリュ
ーションの処理結果であるデータL8 ,R8 は後処理部
B2に与えられる。後処理部B2では、ゲートG1a
おいて各データL8 ,R8 の排他的論理和がとられる。
ゲートG1a の出力データと上記データL8 とは、結合
されて1つのデータにまとめられる。そして、このまと
められたデータと単位暗号鍵kb (64ビット)との間の
排他的論理和がゲートG1out でとられる。これによ
り、原データDinとは全く異なる暗号化データ候補D1
out が作成される。
When the involution in the final-stage arithmetic unit E 8 and the gate G 8 is completed, the data L 8 and R 8 as the processing result of the involution are given to the post-processing unit B2. The post-processing unit B2, the exclusive OR of the data L 8, R 8 is taken in the gate G1 a.
A gate G1 a of the output data and the data L 8 are combined into a single data are combined. Then, the exclusive OR between the collected data and the unit encryption key k b (64 bits) is obtained at the gate G1 out . As a result, the encrypted data candidate D1 that is completely different from the original data D in
out is created.

【0033】また、本実施例の後処理部B2では、第4
段目ないし第7段目の演算部E4 〜E7 およびゲートG
4 〜G7 におけるインボリューションの処理結果に対し
ても、上記と同様の後処理がそれぞれ施される。すなわ
ち、第4段目ないし第7段目のインボリューションの処
理結果に対して、上記と同様に、ゲートG2a 〜G5 a
およびゲートG2out 〜G5out において排他的論理和
がとられ、さらにデータ結合が実行されることにより、
暗号化データ候補D2out 〜D5out が作成される。
In the post-processing section B2 of this embodiment, the fourth processing unit
Arithmetic unit E in the third to seventh stagesFour~ E7And gate G
Four~ G7For the result of the involution in
However, the same post-processing as described above is performed. Sand
The process of involution from the 4th stage to the 7th stage
As a result, the gate G2a~ G5 a
And gate G2out~ G5outExclusive OR in
Is taken and further data combination is executed,
Encrypted data candidate D2out~ D5outIs created.

【0034】一方、受信された暗号化データDinから平
文化データ候補D1out 〜D5outを作成する平文化処
理は、上記単位暗号鍵k0 〜k8 ,ka ,kb を、演算
部E 1 〜E8 ,ゲートGin,ゲートG1out 〜G5out
に与える代わりに、それぞれ演算部E8 〜E1 ,ゲート
G1out 〜G5out ,ゲートGinに与えることにより達
成される。すなわち、暗号化処理において実行されるデ
ータ攪拌処理と反対の手順でデータ攪拌が実行されるこ
とにより平文化処理が達成される。
On the other hand, the received encrypted data DinKarahira
Cultural data candidate D1out~ D5outCreate a culture
The above is the unit encryption key k0~ K8, Ka, KbIs calculated
Part E 1~ E8, Gate Gin, Gate G1out~ G5out
Instead of giving8~ E1,Gate
G1out~ G5out, Gate GinReach by giving to
Is made. That is, the data executed in the encryption process
Data agitation is performed in the reverse order of data agitation processing.
And achieves the flat culture processing.

【0035】なお、図3中、平文化処理の時に演算部E
に与えられる単位暗号鍵k0 〜k8,ka ,kb をかっ
こ中に記す。図2に戻って、上記暗号化/平文化ブロッ
ク部61で作成された暗号化/平文化データ候補D1
out 〜D5out は、ライン62a〜62eにそれぞれ送
出される。したがって、ライン62a〜62eには、イ
ンボリューションの段数が互いに異なる暗号化/平文化
データ候補D1out 〜D5out がそれぞれ送出されるこ
とになる。
Incidentally, in FIG. 3, the arithmetic unit E is used during the flat culture process.
The unit encryption keys k 0 to k 8 , k a , and k b given to the above are written in parentheses. Returning to FIG. 2, the encryption / plain culture data candidate D1 created by the encryption / plain culture block unit 61 is generated.
out to D5 out are sent to the lines 62a to 62e, respectively. Therefore, the encrypted / plaintext data candidates D1 out to D5 out having different involution stages are transmitted to the lines 62a to 62e, respectively.

【0036】セレクタ部63は、段数選択データPに対
応する選択信号SELに応答して、上記ライン62a〜
62eのうちいずれかを選択する。その結果、選択され
たラインに送出されている暗号化/平文化データ候補が
暗号化/平文化データDoutとして抽出される。すなわ
ち、段数選択データPに応じた段数だけインボリューシ
ョンが実行された暗号化/平文化データDout が抽出さ
れる。
The selector section 63 responds to the selection signal SEL corresponding to the stage number selection data P, from the lines 62a.about.
Any one of 62e is selected. As a result, the encrypted / plaintext data candidate sent to the selected line is extracted as the encrypted / plaintext data D out . That is, the encrypted / flat culture data D out in which the involution has been executed by the number of stages corresponding to the stage number selection data P is extracted.

【0037】段数選択データPは、制御部3において、
下記(1) 式に示す演算によって求められる。 P=Pmin +α ‥‥(1) ここで、上記Pmin は、傍受されても解読されるおそれ
がない暗号化データを作成するために最低限必要なイン
ボリューションの段数である。本実施例では、Pmin
5に設定されている。
The step number selection data P is sent to the control section 3 by the control section 3.
It is obtained by the calculation shown in equation (1) below. P = P min + α (1) Here, P min is the minimum number of involution steps required to create encrypted data that is not likely to be decrypted even if intercepted. In this embodiment, P min =
5 is set.

【0038】また、上記パラメータαは、後述するよう
に、乱数発生部13で発生した乱数Xに基づいて求めら
れるものである。本実施例では、このパラメータαが段
数データに相当する。パラメータαの取り得る値は、暗
号化/平文化ブロック部61のインボリューションの最
大段数に基づいて定まる。本実施例では、暗号化/平文
化ブロック部61のインボリューションの最大段数は8
段なので、Pmin =5を考慮すると、パラメータαは、
0≦α<4に制限されている。すなわち、パラメータα
は、0,1,2,3の4種類の値を採ることができる。
なお、以下では、パラメータαが採り得る数値の個数を
「設定数n」という。
The parameter α is obtained on the basis of the random number X generated by the random number generator 13, as described later. In the present embodiment, this parameter α corresponds to the stage number data. The possible value of the parameter α is determined based on the maximum number of involution steps of the encryption / plain culture block unit 61. In this embodiment, the maximum number of involutions of the encryption / plain culture block unit 61 is eight.
Therefore, considering P min = 5, the parameter α is
It is limited to 0 ≦ α <4. That is, the parameter α
Can take four kinds of values of 0, 1, 2, and 3.
Note that, hereinafter, the number of numerical values that the parameter α can take is referred to as a “set number n”.

【0039】一般的には、暗号化/平文化ブロック部6
1のインボリューションの最大段数は、その処理速度に
基づいて定められればよい。インボリューションの段数
をあまり大きくすると、暗号化/平文化のための処理に
長時間を要するから、通信時間の長期化を招来するおそ
れがある。図4は、上記ファクシミリ装置における送信
動作を示すフローチャートである。ファクシミリ通信を
実行する場合、操作者は、まず、原稿をファクシミリ装
置にセットする。その後、受信側のファクシミリ番号を
操作部12に備えられているテンキー12aから入力
し、スタートキー12bを操作する。暗号通信を行うと
きには、スタートキー12bの操作に先立って、暗号通
信キー12cを操作し、さらに受信側ファクシミリ装置
で送信元を特定できるように、受信側と予め取決めてい
る暗号通信用親展ボックス番号をテンキー12aから入
力する。
Generally, the encryption / plain culture block section 6
The maximum number of involutions of 1 may be determined based on the processing speed. If the number of stages of involution is too large, it takes a long time to perform the processing for encryption / plain culture, which may lead to a longer communication time. FIG. 4 is a flow chart showing the transmission operation in the facsimile device. When executing facsimile communication, the operator first sets the original document on the facsimile device. After that, the facsimile number on the receiving side is input from the ten key 12a provided in the operation unit 12, and the start key 12b is operated. When performing encrypted communication, the encrypted communication key 12c is operated prior to the operation of the start key 12b, and the confidential box number for encrypted communication, which is pre-arranged with the receiving side so that the sender can be specified by the receiving facsimile machine. Is input from the ten keys 12a.

【0040】スタートキー12bの操作に引き続き、送
信機能部10により回線接続処理が行われる。受信側の
ファクシミリ装置との回線が接続すると、暗号通信キー
12cが操作されたか否かに基づいて暗号通信であるか
否かが判別される(ステップS1)。その結果、暗号通
信ではないと判別されると、通常のファクシミリ通信で
あると判断され、所定の送信制御処理が実行された後、
原画データに対応する送信信号が送信される(ステップ
S8)。
Subsequent to the operation of the start key 12b, the transmission function unit 10 performs the line connection processing. When the line with the facsimile machine on the receiving side is connected, it is determined whether or not the encrypted communication is performed based on whether or not the encrypted communication key 12c is operated (step S1). As a result, when it is determined that the communication is not encrypted communication, it is determined that the communication is normal facsimile communication, and after the predetermined transmission control process is executed,
A transmission signal corresponding to the original image data is transmitted (step S8).

【0041】上記送信制御処理は、NSS(Non-Standa
rd facilities Set-up;非標準機能設定信号)等の送信
制御信号の送信を含む前処理である。NSSには、特定
の複数ビットが暗号通信用親展ボックス番号を示す番号
データを書込むために割り当てられている。また、NS
Sには、特定の1ビットが暗号通信であるか否かを示す
フラグのために割り当てられている。通常のファクシミ
リ通信である場合には、上記番号データが書き込まれて
おらず、しかもフラグが立てられていないNSSが送信
される。
The transmission control process is based on NSS (Non-Standa).
rd facilities Set-up; non-standard function setting signal) is a pre-processing that includes transmission of transmission control signals. A plurality of specific bits are assigned to the NSS in order to write the number data indicating the confidential box number for encrypted communication. NS
S is assigned to S for a flag indicating whether or not a specific 1 bit is encrypted communication. In the case of normal facsimile communication, the NSS in which the number data is not written and the flag is not set is transmitted.

【0042】一方、暗号通信であると判別されると、ま
ず、次に説明する暗号送信制御処理が実行される(ステ
ップS2〜S4)。制御部3は、まず、乱数発生部13
に乱数Xの発生を命令する。これに応答して、乱数発生
部13では乱数Xが発生される(ステップS2)。具体
的には、乱数発生部13では、たとえば制御部3に備え
られているカレンダー機能付時計(図示せず)から乱数
Xの発生が命令された日時が読込まれる。そして、この
読込まれた日時のうち、月日を表す数字が月,日の順に
並べられて1つの数字が作成される。また、時分を表す
数字が時,分の順に並べられて1つの数字が作成され
る。そして、各数字を互いに加算した数字が乱数Xとし
て発生される。
On the other hand, if it is determined that the communication is cipher communication, first, the cipher transmission control process described below is executed (steps S2 to S4). The control unit 3 firstly determines the random number generation unit 13
To generate a random number X. In response to this, the random number generator 13 generates a random number X (step S2). Specifically, the random number generation unit 13 reads the date and time when the generation of the random number X is instructed from, for example, a calendar function clock (not shown) provided in the control unit 3. Then, among the read dates and times, the numbers representing the month and day are arranged in the order of month and day to create one number. Also, the numbers representing hours and minutes are arranged in the order of hours and minutes to create one number. Then, a number obtained by adding each number to each other is generated as a random number X.

【0043】たとえば乱数Xの発生が命令された日時が
「3月27日 15時24分」であれば、「327」お
よび「1524」がそれぞれ作成され、当該各数字が互
いに加算されて「1851」という数字が乱数Xとして
発生される。制御部3は、発生された乱数Xに基づいて
パラメータαを求める(ステップS3)。具体的には、
パラメータαは、下記(2) 式に示すように、乱数Xをパ
ラメータαの設定数nで割った余りとして求められる。
For example, if the date and time when the generation of the random number X is instructed is "March 27, 15:24", "327" and "1524" are respectively created, and the respective numbers are added to each other to "1851." Is generated as a random number X. The control unit 3 obtains the parameter α based on the generated random number X (step S3). In particular,
The parameter α is obtained as the remainder when the random number X is divided by the set number n of the parameter α, as shown in the equation (2) below.

【0044】 α=MOD(X/n) ‥‥(2) ただし、MOD( )は、( )内の除算による剰余を
表す。たとえば、X=1851の場合、本実施例では上
述のようにn=4なので、α=3となる。制御部3は、
パラメータαを求めると、この求められたパラメータα
を上記NSSにセットする(ステップS4)。本実施例
では、NSSには、パラメータαをセットするためのビ
ットが割り当てられている。本実施例の場合、この割り
当てられるビット数は、パラメータαの設定数nが4な
ので、2ビットとなる。そして、暗号通信用親展ボック
ス番号を示す番号データが書込まれるとともに、暗号通
信であるか否かを示すフラグが立てられたNSSが送信
される。
Α = MOD (X / n) (2) However, MOD () represents the remainder due to the division in (). For example, in the case of X = 1851, in this embodiment, since n = 4 as described above, α = 3. The control unit 3
When the parameter α is calculated, the calculated parameter α
Is set in the NSS (step S4). In this embodiment, the NSS is assigned a bit for setting the parameter α. In the case of the present embodiment, the number of bits to be assigned is 2 bits because the number n of setting the parameter α is 4. Then, the number data indicating the confidential box number for encrypted communication is written, and the NSS in which the flag indicating whether or not the encrypted communication is set is transmitted.

【0045】暗号送信制御処理が終了すると、制御部3
は、テンキー12aから入力された暗号通信用親展ボッ
クス番号に基づき、この暗号通信用親展ボックス番号に
対応付けて格納されている暗号鍵Kをメモリ15から読
出す(ステップS6)。読出された暗号鍵Kは暗号化/
平文化ブロック部61に与えられ、当該暗号化/平文化
ブロック部61において、原データDinに暗号化処理が
施され、暗号化データ候補D1out 〜D5out が作成さ
れる(ステップS7)。一方、制御部3は、上記求めら
れたパラメータαに基づいて、上記(1) 式に示す演算に
よって段数選択データPを求め、この求められた段数選
択データPをセレクタ部63に与える(ステップS
5)。
When the cipher transmission control process is completed, the control unit 3
Reads the encryption key K stored in the memory 15 in association with the confidential box number for encrypted communication based on the confidential box number for encrypted communication input from the ten key 12a (step S6). The read encryption key K is encrypted /
The original data D in is given to the plaintext block unit 61, and the original data D in is encrypted in the encryption / plaintext block unit 61 to create encrypted data candidates D1 out to D5 out (step S7). On the other hand, the control unit 3 obtains the stage number selection data P by the calculation shown in the equation (1) based on the obtained parameter α, and gives the obtained stage number selection data P to the selector unit 63 (step S
5).

【0046】その結果、セレクタ部63において、ライ
ン62a〜62eに送出されている暗号化データ候補D
out 〜D5out のうち、上記段数選択データPに対応
した段数だけインボリューションが実行された暗号化デ
ータ候補が暗号化データDou t として抽出される。そし
て、その抽出された暗号化データDout がモデム5で送
信信号に変換され、この送信信号が網制御部7を介して
公衆電話回線8に送出される(ステップS8)。
As a result, in the selector section 63, the encrypted data candidate D sent to the lines 62a to 62e is sent.
One of out D5 out, the number selected by involution stages corresponding to the data P is performed encrypted data candidate is extracted as the encrypted data D ou t. Then, the extracted encrypted data D out is converted into a transmission signal by the modem 5, and the transmission signal is sent to the public telephone line 8 via the network control unit 7 (step S8).

【0047】図5は、上記ファクシミリ装置における受
信動作を示すフローチャートである。ファクシミリ装置
では、送信側のファクシミリ装置との回線が接続する
と、まず、原画データに対応する信号に先立って受信さ
れるNSSが参照される。そして、このNSSの中の暗
号通信か否かを示すフラグが立っているか否かに基づい
て、暗号通信か否かが判別される(ステップT1)。こ
の判別の結果、通常のファクシミリ通信であると判断さ
れると、通常の受信処理が行われ、受信画像が用紙上に
記録される(ステップT6)。
FIG. 5 is a flow chart showing the receiving operation in the facsimile apparatus. In the facsimile machine, when the line with the transmitting facsimile machine is connected, first, the NSS received prior to the signal corresponding to the original image data is referred to. Then, based on whether or not the flag indicating whether or not the encrypted communication is in the NSS is set, it is determined whether or not the encrypted communication is performed (step T1). If the result of this determination is that it is normal facsimile communication, normal reception processing is performed and the received image is recorded on paper (step T6).

【0048】一方、暗号通信であると判断されると、さ
らにNSSを参照し、このNSSに含まれている番号デ
ータに基づいて暗号通信用親展ボックス番号を取得し、
この取得された暗号通信用親展ボックス番号に対応付け
られて格納されている暗号鍵Kがメモリ15から読出さ
れる(ステップT4)。暗号通信用親展ボックス番号は
通信相手先ごとに設定されているので、読出された暗号
鍵Kは送信側ファクシミリ装置に対応する。読出された
暗号鍵Kは暗号化/平文化ブロック部61に与えられ、
当該暗号化/平文化ブロック部61において暗号化デー
タDinにインボリューションが繰り返し施されて平文化
処理が行われ、平文化データ候補D1ou t 〜D5out
作成される(ステップT5)。
On the other hand, when it is determined that the encrypted communication is performed, the NSS is further referred to and the confidential box number for encrypted communication is acquired based on the number data included in the NSS.
The encryption key K stored in association with the acquired confidential box number for encrypted communication is read from the memory 15 (step T4). Since the confidential box number for encrypted communication is set for each communication partner, the read encryption key K corresponds to the sending facsimile machine. The read encryption key K is given to the encryption / plain culture block unit 61,
The encryption / encrypted data D in in decrypting the block portion 61 is repeatedly subjected to involution decryption processing is performed, decrypting data candidates D1 ou t ~D5 out is created (step T5).

【0049】一方、制御部3は、上記NSSを参照し、
当該NSSにセットされているパラメータαを復元する
(ステップT2)。そして、この復元されたパラメータ
αに基づいて、上記(1) 式に示す演算によって段数選択
データPを求める。これにより、送信側のファクシミリ
装置における段数選択データPと同じ段数選択データP
を取得できる。段数選択データPが求められると、当該
段数選択データPに対応する選択信号SELがセレクタ
部63に与えられる(ステップT3)。
On the other hand, the control unit 3 refers to the NSS,
The parameter α set in the NSS is restored (step T2). Then, based on the restored parameter α, the stage number selection data P is obtained by the calculation shown in the equation (1). As a result, the same step number selection data P as the step number selection data P in the facsimile apparatus on the transmission side is obtained.
Can be obtained. When the stage number selection data P is obtained, the selection signal SEL corresponding to the stage number selection data P is given to the selector section 63 (step T3).

【0050】その結果、セレクタ部63において、ライ
ン62a〜62eに送出されている平文化データ候補D
out 〜D5out のうち、上記段数選択データPに応じ
た段数だけインボリューションが実行された平文化デー
タ候補が、原データに相当する平文化データDout とし
て抽出される。そして、この抽出された平文化データD
out が符号化/復号化装置4に与えられて原画データが
復元される。この復元された原画データに基づいて記録
部9が印刷出力動作を行うことにより、原稿画像が再生
される(ステップT6)。
As a result, in the selector section 63, the plain culture data candidate D sent to the lines 62a to 62e.
Of 1 out to D5 out , the plain culture data candidates in which the number of stages corresponding to the stage number selection data P has been invoked are extracted as the plain culture data D out corresponding to the original data. And this extracted flat culture data D
Out is given to the encoding / decoding device 4 to restore the original image data. The recording unit 9 performs a printout operation based on the restored original image data to reproduce the original image (step T6).

【0051】図6は、送信側のファクシミリ装置と受信
側のファクシミリ装置との間の信号の送受を示す信号シ
ーケンスである。回線が接続されると、送信側のファク
シミリ装置からは非音声端末であることを示すCNG(C
alling tone)が送出される。受信側のファクシミリ装置
からは、CNGに応答してCED(Calling Station Ide
ntification)が送出され、さらにたとえば暗号通信機能
等の非標準機能を有するか否かを示す符号を含むNSF
(Non-Standard Facilities) 、および標準機能を有する
ことを示す符号を含むDIS(Digital Identification
Signal) が送出される。
FIG. 6 is a signal sequence showing transmission / reception of a signal between the transmission side facsimile apparatus and the reception side facsimile apparatus. When the line is connected, CNG (C
alling tone) is transmitted. From the facsimile machine on the receiving side, CED (Calling Station Ide) is sent in response to CNG.
NSF including a code indicating whether or not a nonstandard function such as a cryptographic communication function is provided.
DIS (Digital Identification) including (Non-Standard Facilities) and a code indicating that it has a standard function
Signal) is sent.

【0052】NSFおよびDISを受信した送信側のフ
ァクシミリ装置からは、NSS、およびDISで示され
ている標準機能の中から所定の機能を示す符号を含むD
CS(Digtal Command Signal) が送出される。NSS
は、ファクシミリ装置のメーカーが自由にその内容を設
定できるオプション信号である。本実施例では、NSS
には、上述のように、暗号通信用親展ボックス番号を示
す番号データ、暗号通信か否かを示すフラグ、およびパ
ラメータαが含まれている。
From the facsimile machine on the transmission side that receives NSF and DIS, a D including a code indicating a predetermined function from the standard functions shown by NSS and DIS.
CS (Digtal Command Signal) is transmitted. NSS
Is an optional signal for which the manufacturer of the facsimile device can freely set its contents. In this embodiment, NSS
As described above, includes the number data indicating the confidential box number for encrypted communication, the flag indicating whether or not encrypted communication, and the parameter α.

【0053】その後、送信側のファクシミリ装置から
は、受信側のファクシミリ装置のモデム5を調整するた
めのトレーニングが送出され、さらにその結果をチェッ
クするためのTCF(Training Check)が送出される。受
信準備が整うと、受信側のファクシミリ装置はCFR(C
onfirmation to Receive) を送出する。このCFRを受
信した送信側のファクシミリ装置は、トレーニングとと
もに暗号化データを送出し、すべての暗号化データを送
出し終わると、送出終了を示すEOP(End of Procedur
es) を送出する。このEOPを受信した受信側のファク
シミリ装置からは、受信確認を示すMCF(Message Con
firmation)が送出され、このMCFを受信した送信側の
ファクシミリ装置からは、回線切断を示すDCN(Disco
nnect)が送出されて、回線が切断される。
After that, the sending facsimile machine sends training for adjusting the modem 5 of the receiving facsimile machine, and further sends TCF (Training Check) for checking the result. When the preparation for reception is completed, the facsimile machine on the receiving side receives CFR (C
onfirmation to Receive) is sent. The facsimile machine on the transmission side that receives this CFR sends out the encrypted data together with the training, and when all the encrypted data has been sent out, an EOP (End of Procedure) indicating the end of sending is sent.
es) is sent. From the receiving facsimile machine that receives this EOP, the MCF (Message
firming) is transmitted and the facsimile machine on the transmitting side that receives this MCF sends DCN (Disco) indicating a line disconnection.
nnect) is sent and the line is disconnected.

【0054】以上のように本実施例のファクシミリ装置
によれば、通常の暗号鍵Kだけでなく、暗号化処理の処
理単位であるインボリューションの段数を可変設定可能
としているので、暗号強度の向上を図ることができる。
また、インボリューションの段数を決定するための段数
選択データPは乱数Xに基づいて作成されるので、イン
ボリューションの段数は通信ごとに異なる。したがっ
て、第三者にインボリューションの段数が知られること
はない。
As described above, according to the facsimile apparatus of this embodiment, not only the normal encryption key K but also the number of involution steps, which is a processing unit of encryption processing, can be variably set, so that the encryption strength is improved. Can be achieved.
Moreover, since the stage number selection data P for determining the number of stages of involution is created based on the random number X, the number of stages of involution differs for each communication. Therefore, the number of steps of involution is not known to a third party.

【0055】さらに、本実施例によれば、段数選択デー
タPを決定するためのパラメータαはオプション信号で
あるNSSに含ませて送信しているので、オプション信
号の形式や内容は非公開にされるのが通例であることを
鑑みると、インボリューションの段数の漏洩を特に効果
的に防止できる。そのため、通信内容の機密性の向上を
図ることができる。
Further, according to the present embodiment, the parameter α for determining the stage number selection data P is transmitted by being included in the NSS which is the option signal, so the format and contents of the option signal are not disclosed. Considering that it is customary to prevent the leakage of the number of stages of involution. Therefore, the confidentiality of communication contents can be improved.

【0056】本発明の実施例の説明は以上のとおりであ
るが、本発明は上述の実施例に限定されるものではな
い。たとえば上記実施例では、送信側のファクシミリ装
置で暗号化データを作成するときに設定された段数選択
データPを受信側のファクシミリ装置で取得させるた
め、乱数Xに基づいて求められたパラメータαを暗号化
データに先立って送信されるNSSにセットすることに
しているが、たとえば乱数Xまたは段数選択データPを
NSSにセットするようにしてもよい。
Although the embodiments of the present invention have been described above, the present invention is not limited to the above embodiments. For example, in the above embodiment, the parameter α determined based on the random number X is encrypted in order to allow the facsimile machine on the receiving side to obtain the step number selection data P set when the facsimile machine on the transmitting side creates encrypted data. Although it is set to the NSS transmitted prior to the encoded data, the random number X or the stage number selection data P may be set to the NSS, for example.

【0057】また、上記実施例では、暗号鍵Kを通信相
手先に応じて変化させているが、たとえば通信相手先に
かかわらず固定としてもよい。この構成によれば、暗号
鍵Kを通信相手先ごとに記憶させる必要はないので、メ
モリ15の容量に占める暗号通信のために必要な容量を
小さくできる。しかも、固定的とはいえ、充分大きな情
報量の暗号鍵Kを用いて暗号化/平文化処理が行われる
から、暗号強度が不足することもない。
In the above embodiment, the encryption key K is changed according to the communication partner, but it may be fixed regardless of the communication partner. According to this configuration, since it is not necessary to store the encryption key K for each communication partner, the capacity required for encrypted communication in the capacity of the memory 15 can be reduced. Moreover, even though it is fixed, the encryption / plaintext processing is performed using the encryption key K having a sufficiently large amount of information, so that the encryption strength does not become insufficient.

【0058】また、通信相手先と事前に打合せをする必
要がないので、暗号通信を簡単に行える。さらに、上記
実施例では、暗号化/平文化処理を専用の暗号化/平文
化装置6において実行しているが、たとえば暗号化/平
文化処理は制御部3にてソフトウエア処理によって実現
してもよい。具体的には、暗号化処理を実行する場合、
制御部3は、乱数発生部13から乱数Xを取込み、この
乱数Xに基づいてパラメータαを求める。この求められ
たパラメータαはNSSに含まれて送信される。制御部
3は、上記求められたパラメータαに基づいて段数選択
データPを求める。その後、メモリ15から暗号鍵Kを
読出す。そして、この読出された暗号鍵Kを用いて、上
記求められた段数選択データPに応じた段数だけインボ
リューションを原データに施すことによって、暗号化デ
ータを作成する。
Further, since it is not necessary to have a meeting with the communication partner in advance, the encrypted communication can be easily performed. Further, in the above-mentioned embodiment, the encryption / plain culture process is executed by the dedicated encryption / plain culture device 6, but, for example, the encryption / plain culture process is realized by the software processing in the control unit 3. Good. Specifically, when performing encryption processing,
The control unit 3 takes in the random number X from the random number generation unit 13 and obtains the parameter α based on this random number X. The obtained parameter α is included in NSS and transmitted. The control unit 3 obtains the stage number selection data P based on the obtained parameter α. After that, the encryption key K is read from the memory 15. Then, using the read encryption key K, involution is applied to the original data by the number of stages corresponding to the obtained stage number selection data P to create encrypted data.

【0059】一方、平文化処理を実行する場合、制御部
3は、NSSに含まれているパラメータαに基づいて段
数選択データPを求める。その後、メモリ15から暗号
鍵Kを読出す。そして、この読出された暗号鍵Kを用い
て、上記求められた段数選択データPに応じた段数だけ
送信側とは逆のインボリューションを暗号化データに施
すことによって、平文化データを得る。
On the other hand, when executing the flat culture process, the control unit 3 obtains the stage number selection data P based on the parameter α included in the NSS. After that, the encryption key K is read from the memory 15. Then, by using the read encryption key K, the encryption data is subjected to the inversion opposite to that on the transmitting side by the number of stages corresponding to the obtained stage number selection data P, thereby obtaining plain culture data.

【0060】さらにまた、上記実施例では、送信側ファ
クシミリ装置に対応する暗号鍵Kを読出すための構成と
して、暗号鍵Kを通信相手先ごとに備えられた暗号通信
用親展ボックス番号に対応付けてメモリ15に格納して
おき、送信側ファクシミリ装置から送信されるNSSに
含まれている番号データに基づいて暗号通信用親展ボッ
クス番号を取得し、この暗号通信用親展ボックス番号に
対応する暗号鍵Kを読出すようにしているが、たとえば
暗号鍵Kを通信相手先ファクシミリ番号に対応付けて格
納しておき、送信側ファクシミリ装置から暗号化データ
に先立って送信されるTSI(Transmitting Subscriber
Identification)に含まれているファクシミリ番号に基
づいて、このファクシミリ番号に対応する暗号鍵Kを読
出すようにしてもよい。
Furthermore, in the above-described embodiment, the encryption key K is associated with the confidential box number for encrypted communication provided for each communication partner as a configuration for reading the encryption key K corresponding to the transmitting side facsimile apparatus. Stored in the memory 15 to obtain the confidential box number for encrypted communication based on the number data included in the NSS transmitted from the transmitting side facsimile device, and the encryption key corresponding to the confidential box number for encrypted communication. Although K is read, for example, the encryption key K is stored in association with the facsimile number of the communication destination, and the TSI (Transmitting Subscriber) transmitted from the transmitting facsimile machine prior to the encrypted data.
The encryption key K corresponding to the facsimile number may be read based on the facsimile number included in the (Identification).

【0061】さらに、上記実施例では、端末装置として
ファクシミリ装置を例にとって説明しているが、本発明
は、たとえばパーソナルコンピュータやワードプロセッ
サなど他の端末装置にも適用でき、さらに暗号通信を行
うことができる他の様々な端末装置についても、広く適
用することができる。さらにまた、上記実施例では、伝
送するデータとして原画データを例にとって説明してい
るが、本発明は、原画データ以外のデータを伝送する際
にも適用できる。
Further, in the above-mentioned embodiment, the facsimile device is described as an example of the terminal device, but the present invention can be applied to other terminal devices such as a personal computer and a word processor, and further, encrypted communication can be performed. The present invention can be widely applied to various other terminal devices that can be used. Furthermore, in the above embodiment, the original image data is described as an example of the data to be transmitted, but the present invention can be applied to the case of transmitting data other than the original image data.

【0062】その他特許請求の範囲に記載された範囲で
種々の設計変更を施すことは可能である。
Other various design changes can be made within the scope of the claims.

【0063】[0063]

【発明の効果】以上のように本発明によれば、暗号化デ
ータの作成の際に実行される暗号化インボリューション
の段数を可変設定可能にしているので、暗号化インボリ
ューションの段数が固定されていた従来技術に比べて、
暗号強度の向上を図ることができる。
As described above, according to the present invention, since it is possible to variably set the number of steps of the encryption involution executed when creating the encrypted data, the number of steps of the encryption involution is fixed. Compared with conventional technology,
The encryption strength can be improved.

【0064】しかも、暗号化インボリューションの段数
は、乱数発生手段で発生された乱数に基づいて設定され
るので、暗号通信のたびに異なる。したがって、第三者
に暗号化インボリューションの段数が知られることはな
い。そのため、通信内容の機密性の向上を図ることがで
きる。
Moreover, since the number of stages of the encryption involution is set based on the random number generated by the random number generating means, it is different for each encrypted communication. Therefore, the number of encryption involution steps is not known to a third party. Therefore, the confidentiality of communication contents can be improved.

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

【図1】本発明の一実施例のファクシミリ装置の電気的
構成を示すブロック図である。
FIG. 1 is a block diagram showing an electrical configuration of a facsimile apparatus according to an embodiment of the present invention.

【図2】上記ファクシミリ装置の一部を構成する暗号化
/平文化装置の電気的構成を示すブロック図である。
FIG. 2 is a block diagram showing an electrical configuration of an encryption / plain culture device forming a part of the facsimile device.

【図3】上記暗号化/平文化装置の一部を構成する暗号
化/平文化ブロック部の電気的構成を示すブロック図で
ある。
FIG. 3 is a block diagram showing an electrical configuration of an encryption / plain culture block unit forming a part of the encryption / plain culture device.

【図4】上記ファクシミリ装置における送信動作を示す
フローチャートである。
FIG. 4 is a flowchart showing a transmission operation in the facsimile device.

【図5】上記ファクシミリ装置における受信動作を示す
フローチャートである。
FIG. 5 is a flowchart showing a receiving operation in the facsimile device.

【図6】送信側のファクシミリ装置と受信側のファクシ
ミリ装置との間の信号の送受を示す信号シーケンスであ
る。
FIG. 6 is a signal sequence showing transmission / reception of a signal between a transmission side facsimile apparatus and a reception side facsimile apparatus.

【図7】従来のDES型暗号装置の電気的構成を示すブ
ロック図である。
FIG. 7 is a block diagram showing an electrical configuration of a conventional DES type encryption device.

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

3 制御部 6 暗号化/平文化装置 61 暗号化/平文化ブロック部 62 ライン 63 セレクタ部 13 乱数発生部 P 段数選択データ SEL 選択信号 3 Control unit 6 Encryption / plain culture device 61 Encryption / plain culture block unit 62 Line 63 Selector unit 13 Random number generator P Stage number selection data SEL selection signal

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】所定の通信回線を介して接続された被呼側
端末装置に対して暗号化データを送信するための端末装
置であって、 暗号化インボリューションの段数を可変設定することが
でき、設定された段数の暗号化インボリューションを送
信すべきデータに施すことによって暗号化データを作成
する暗号化手段と、 乱数を発生させる乱数発生手段と、 この乱数発生手段が発生した乱数に基づいて、上記暗号
化手段において実行される暗号化インボリューションの
段数を設定する段数設定手段と、 この段数設定手段によって設定された暗号化インボリュ
ーションの段数に対応する段数データ、および上記暗号
化手段で作成された暗号化データを上記所定の通信回線
に送出する送出手段とを含むことを特徴とする端末装
置。
1. A terminal device for transmitting encrypted data to a called terminal device connected via a predetermined communication line, wherein the number of stages of encrypted involution can be variably set. , An encryption means that creates encrypted data by applying a set number of encrypted involutions to the data to be transmitted, a random number generation means that generates a random number, and a random number generated by this random number generation means. , A step number setting means for setting the step number of the encryption involution executed in the encryption means, step number data corresponding to the step number of the encryption involution set by the step number setting means, and created by the encryption means A terminal device, comprising: a sending unit that sends the encrypted data to the predetermined communication line.
【請求項2】送信すべきデータに乱数に基づいて設定さ
れた段数の暗号化インボリューションが施されることに
より作成された暗号化データ、および上記設定された暗
号化インボリューションの段数に対応した段数データ
を、接続された発呼側端末装置から所定の通信回線を介
して受信するための端末装置であって、 平文化インボリューションの段数を可変設定することが
でき、設定された段数の平文化インボリューションを上
記発呼側端末装置から上記所定の通信回線を介して受信
される暗号化データに施すことにより平文化データを作
成する平文化手段と、 上記発呼側端末装置から上記所定の通信回線を介して受
信される段数データに基づいて、暗号化の際に実行され
た暗号化インボリューションの段数と等しい段数を上記
平文化手段で実行される平文化インボリューションの段
数として上記平文化手段に設定する段数設定手段とを含
むことを特徴とする端末装置。
2. Corresponding to the encrypted data created by subjecting the data to be transmitted to the encryption involution of the number of stages set based on a random number, and the number of stages of the encryption involution set above. It is a terminal device for receiving the stage number data from the connected calling side terminal device via a predetermined communication line, and the number of stages of the flat culture involution can be variably set, and the number of stages of the set stage number can be changed. Plain culture means for creating plain culture data by applying a culture involution to the encrypted data received from the calling side terminal device via the predetermined communication line; and the predetermined side from the calling side terminal device. Based on the step number data received through the communication line, the step number equal to the step number of the encryption involution executed at the time of the encryption is set to the above-mentioned plaintext means. Terminal apparatus characterized by a decrypting involution of stages to be executed and a number setting means for setting to said decryption means.
JP7156374A 1995-06-22 1995-06-22 Terminal device for cipher communication Pending JPH096238A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7156374A JPH096238A (en) 1995-06-22 1995-06-22 Terminal device for cipher communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7156374A JPH096238A (en) 1995-06-22 1995-06-22 Terminal device for cipher communication

Publications (1)

Publication Number Publication Date
JPH096238A true JPH096238A (en) 1997-01-10

Family

ID=15626363

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7156374A Pending JPH096238A (en) 1995-06-22 1995-06-22 Terminal device for cipher communication

Country Status (1)

Country Link
JP (1) JPH096238A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013097332A (en) * 2011-11-04 2013-05-20 Fujitsu Ltd Conversion program, conversion device, conversion method, and conversion system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013097332A (en) * 2011-11-04 2013-05-20 Fujitsu Ltd Conversion program, conversion device, conversion method, and conversion system

Similar Documents

Publication Publication Date Title
JPH07298065A (en) Communication equipment
JPH07288514A (en) Communication equipment
JPH07162692A (en) Cipher communication method and terminal equipment for cipher communication
JPH07250251A (en) Terminal equipment for cipher communication
JPH096238A (en) Terminal device for cipher communication
JP3848002B2 (en) Image data transmission device
JPH096235A (en) Encphering device and deciphering device
JPH0983508A (en) Cipher device
US6728377B1 (en) Coding apparatus and an information processing apparatus provided with the coding apparatus
JP3300375B2 (en) Transmission device having encryption function
JPH096234A (en) Enciphering device and deciphering device
JPH099075A (en) Cipher image communication equipment
JPH06339036A (en) Ciphering device and method for facsimile equipment
JP3121981B2 (en) Terminal device for encrypted communication
JPH07250249A (en) Communication equipment
JPH10303879A (en) Enciphering method
JP3114590B2 (en) Color facsimile machine
JPH0937083A (en) Cipher communication equipment
JP3153222B2 (en) Facsimile machine
JPH07250250A (en) Terminal equipment for cipher communication
JPH0879236A (en) Communication equipment
JPH0637749A (en) Ciphering device
JPH066615A (en) Facsimile equipment
JPH07303102A (en) Communication equipment
JPH07288520A (en) Communication equipment