JPH08107409A - Communication equipment - Google Patents

Communication equipment

Info

Publication number
JPH08107409A
JPH08107409A JP6239854A JP23985494A JPH08107409A JP H08107409 A JPH08107409 A JP H08107409A JP 6239854 A JP6239854 A JP 6239854A JP 23985494 A JP23985494 A JP 23985494A JP H08107409 A JPH08107409 A JP H08107409A
Authority
JP
Japan
Prior art keywords
data
communication
random number
value
read
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
JP6239854A
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 JP6239854A priority Critical patent/JPH08107409A/en
Publication of JPH08107409A publication Critical patent/JPH08107409A/en
Pending legal-status Critical Current

Links

Landscapes

  • Facsimile Transmission Control (AREA)

Abstract

PURPOSE: To provide a communication equipment for reinforcing cipher strength in the communication equipment consisting of a communication system to perform cipher communication. CONSTITUTION: Inside a control part 1, a data table for diffusion incommmon for the transmission side and reception side is provided, a random number R is generated at every time of communication, communication data are diffused by reading a value from this table corresponding to that value R, transmitting data are transmitted, and the random number R is added to an NSS signal and transmitted. At the time of reception, the diffusion of communication data is canceled by using the value of the random number R added to the NSS signal, and data are outputted from a recording part 15.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、暗号通信機能を有する
通信装置、特に電話回線を用いたファクシミリ等に好適
な通信装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication device having a cryptographic communication function, and more particularly to a communication device suitable for a facsimile or the like using a telephone line.

【0002】[0002]

【従来の技術】ファクシミリ通信では同一メーカのファ
クシミリ同士の通信では、付加機能として種々の特殊通
信を行うことができる。そのような特殊通信の一つに暗
号通信がある。
2. Description of the Related Art In facsimile communication, various special communication can be performed as an additional function in communication between facsimiles of the same manufacturer. Cryptographic communication is one of such special communications.

【0003】図5はそのようなファクシミリ通信装置の
一般的な暗号通信の手順を示している。図5のパス
(A)において91〜94は送信側の信号処理の手順で
ある。送信しようとする原稿は、まず、スキャナ91に
よって読み取られ、読み取られた原稿の画像データは、
92においてMH(モディファイド・ホフマン)或いは
MR(モディファイド・リード)等のアルゴリズムによ
ってデータ圧縮、即ち符号化処理される。次いで、この
圧縮された画像データに対して秘密通信とすべく、93
において暗号鍵を用いて暗号化処理され、その暗号化デ
ータが送信側モデム94としてのファクシミリ通信装置
から電話回線に送出される。
FIG. 5 shows a general cryptographic communication procedure of such a facsimile communication apparatus. In the path (A) of FIG. 5, 91 to 94 are signal processing procedures on the transmission side. The original to be transmitted is first read by the scanner 91, and the image data of the read original is
At 92, data compression, that is, encoding processing is performed by an algorithm such as MH (Modified Hoffman) or MR (Modified Read). Next, in order to perform secret communication on this compressed image data, 93
In FIG. 5, encryption processing is performed using the encryption key, and the encrypted data is sent from the facsimile communication device as the transmission side modem 94 to the telephone line.

【0004】このように従来においては、ファクシミリ
通信装置を用いて暗号通信を行う際には、スキャナ91
で読み取った画像データを、何等加工することなく、ス
キャナ91で読み取った順序そのままに暗号化送信して
いた。
As described above, in the conventional case, when performing the encrypted communication using the facsimile communication device, the scanner 91 is used.
The image data read in step 1 was encrypted and transmitted in the same order as it was read by the scanner 91 without any processing.

【0005】図5のパス(B)に示す95〜98のブロ
ックは、受信側の信号処理手順である。受信側モデム9
5としてのファクシミリ通信装置で電話回線から受信さ
れた原稿の暗号受信データは、96で送信側と同一の暗
号鍵を用いて平文化処理(暗号文の解読)がなされる。
平文化された画像データは、97においてデータ伸張、
即ち復号化され、元の画像データに復元されてプリンタ
98により印刷される。これら一連の処理によって、受
信側で原稿が取り出される。ここで、暗号鍵とは、一種
の数値データである。
Blocks 95 to 98 shown in the path (B) of FIG. 5 are signal processing procedures on the receiving side. Receiving modem 9
The encrypted encrypted data of the original received by the facsimile communication apparatus 5 as the telephone from the telephone line is subjected to plain culture processing (decryption of ciphertext) at 96 using the same encryption key as the sender.
The image data which has been flat-cultured is decompressed in 97,
That is, it is decrypted, restored to the original image data, and printed by the printer 98. Through this series of processes, the document is taken out on the receiving side. Here, the encryption key is a kind of numerical data.

【0006】図6は典型的な送信原稿の一例である。図
示の原稿は、CCITT(国際電信電話諮問委員会)の
定める標準原稿である。この原稿Mから明らかなよう
に、通常の送信原稿は、殆どの部分が”白”、即ち文字
や図柄の書き込まれていない白地の部分で占められてい
る。
FIG. 6 shows an example of a typical transmission original. The illustrated manuscript is a standard manuscript defined by CCITT (International Telegraph and Telephone Consultative Committee). As is clear from the manuscript M, most of the normal transmission manuscript is occupied by "white", that is, a white background portion in which characters and patterns are not written.

【0007】いま、従来のファクシミリ通信装置におい
て、スキャナ91により最初にスキャンされる部分、言
い替えれば通信データの最初の部分または、最初に暗号
化される部分について考えると、原稿Mで最初にスキャ
ンされるのは、その先頭部分Hである。通常、この先頭
部分Hは全白であることが多い。このような理由により
従来のファクシミリ通信装置で何らかの原稿を送出しよ
うとすると、その送出データの最初の部分は全白に対す
るデータに対応する可能性が非常に高いといえる。
Now, in the conventional facsimile communication apparatus, considering the portion first scanned by the scanner 91, in other words, the first portion of the communication data or the first encrypted portion, the manuscript M is first scanned. It is the leading portion H that is present. Usually, this head portion H is often entirely white. For this reason, if a conventional facsimile communication apparatus tries to send out some original, it can be said that the first part of the sent data is very likely to correspond to data for all white.

【0008】図7はファクシミリ通信装置における一般
的な暗号化処理部の代表的な一例として、図7の(A)
には、ECB(Electric CodeBook)モードを用いた例
を、また図7の(B)には、CBC(Cipher Blook Cha
ining)モードを用いた例を示す。図7の(A)と
(B)の両者ともに、通常は上述のように平文Pに対し
て暗号鍵Kを用いて暗号文Cを出力するものである。
FIG. 7 shows a typical example of a general encryption processing unit in a facsimile communication apparatus, which is shown in FIG.
An example using an ECB (Electric CodeBook) mode is shown in FIG. 7, and a CBC (Cipher Blook Cha) is shown in FIG. 7B.
ining) mode is used. Both (A) and (B) of FIG. 7 normally output the ciphertext C using the cipher key K for the plaintext P as described above.

【0009】ECBモードでは、図7の(A)に示すよ
うに、暗号を掛けようとする画像データと暗号が1対1
に対応する。一方、CBCモードでは図7の(B)に示
すように、例えばn番目の平文Pnを暗号化する際、そ
の1回前の暗号文Cn-1と平文Pnとの間のEOR(排他
的論理和)を取り、その結果を暗号化する。なお、この
場合、1番目の画像データは暗号文が存在していないた
め、予め秘密に設定された初期値IVを用い、この初期
値IVと平文P1とのEORを取るものである。
In the ECB mode, as shown in FIG. 7A, the image data to be encrypted and the encryption are one-to-one.
Corresponding to. On the other hand, as in the CBC mode shown in FIG. 7 (B), for example, n-th when encrypting plaintext P n, EOR between ciphertext C n-1 and the plaintext P n of one time before the ( Exclusive-or) and encrypt the result. In this case, since the ciphertext does not exist in the first image data, the initial value IV secretly set in advance is used, and the initial value IV and the plaintext P 1 are EORed.

【0010】以上のように、暗号通信を行う場合、通
常、人目に触れるのは、暗号文Cのみであり、その暗号
文Cが解読される可能性はかなり低くなるというもので
ある。
As described above, when performing cipher communication, only the ciphertext C is usually exposed to the public, and the possibility that the ciphertext C is deciphered is considerably low.

【0011】[0011]

【発明が解決しようとする課題】しかしながら、送信デ
ータのうち最初にスキャンされる部分は、上述のよう
に”全白”に対応するデータであることが多いことか
ら、画像データと暗号が1対1に対応するECBモード
では、スキャナ91で原稿Mを読み取らせるとき、受信
された暗号化データの最初の部分は、”白”に相当する
画像データを暗号化したものであることが容易に判明し
てしまい、暗号化アルゴリズムの強度に欠けるという問
題点がある。
However, since the first scanned portion of the transmission data is often data corresponding to "all white" as described above, there is a pair of image data and encryption. In the ECB mode corresponding to 1, when the document M is read by the scanner 91, it is easily found that the first part of the received encrypted data is the encrypted image data corresponding to "white". However, there is a problem that the strength of the encryption algorithm is insufficient.

【0012】また、CBCモードにおいては、初期値I
Vが既知でないため、1番目の画像データが”白”であ
っても、この”白”を表す平文P1にもスクランブルが
掛けられているため、ECBモードの場合よりも暗号化
アルゴリズムの強度は高いといえるが、送出データの最
初の部分が”白”である点はECBモードと同じであ
る。従って、両モードにおいて平文P(全白のデータ)
と、それに対応する暗号文Cが事実上公開されているよ
うなものであるという問題点がある。
In the CBC mode, the initial value I
Since V is not known, the intensity of the first even image data is "white", for scrambling to the plaintext P 1 representing the "white" is trained, encryption algorithm than in the ECB mode Is high, but is the same as the ECB mode in that the first part of the transmitted data is "white". Therefore, in both modes, plaintext P (all white data)
However, there is a problem in that the ciphertext C corresponding to it is virtually open to the public.

【0013】即ち、以上のように従来の通信装置では、
特定の平文とそれに対する暗号文が既知になるので、そ
の暗号の強度はかなり低下するという問題点がある。
That is, as described above, in the conventional communication device,
Since the specific plaintext and the ciphertext corresponding thereto become known, there is a problem that the strength of the cipher decreases considerably.

【0014】本発明は、上記問題点に鑑み成されたもの
であり、暗号通信を行う通信システムを構成する通信装
置において、暗号強度を強化する通信装置を提供するこ
とを目的とする。
The present invention has been made in view of the above problems, and it is an object of the present invention to provide a communication device which strengthens the encryption strength in a communication device which constitutes a communication system for performing encrypted communication.

【0015】[0015]

【課題を解決するための手段】上記目的を達成するため
に、本発明の通信装置は、請求項1のように、通信デー
タを暗号化する機能を有し、かつ複数の値が記録された
表を有する送受信可能な通信装置において、通信相手に
対応して割り当てられた複数の計数手段と、この係数手
段の出力に応じて上記表からいずれかの値を選択的に読
み出す読出手段と、この読出手段の出力値を基に上記通
信データを拡散して送信する送信手段と、上記通信相手
と通信を行う毎に上記割り当てられた計数手段の計数値
を所定値だけ変化させる手段とを備えるものである。
In order to achieve the above object, the communication device of the present invention has a function of encrypting communication data as described in claim 1, and a plurality of values are recorded. In a transmission / reception-capable communication device having a table, a plurality of counting means assigned corresponding to a communication partner, a reading means for selectively reading one of the values from the table according to the output of the coefficient means, A transmission means for diffusing and transmitting the communication data based on the output value of the reading means; and means for changing the count value of the assigned counting means by a predetermined value every time communication with the communication partner is performed. Is.

【0016】また、請求項2のように、通信データを暗
号化する機能と通信の手順を示す手順情報を予め送受信
する機能を有し、かつ複数の値が記録された表を有する
送受信可能な通信装置において、所定の規則に従った乱
数を発生する乱数発生手段と、この乱数に応じて上記表
からいずれかの値を選択的に読み出す読出手段と、この
値を基に上記通信データを拡散する拡散手段と、この拡
散手段の出力とともに上記乱数の値を上記手順情報に載
せて送信する送信手段とを備えるものである。
Further, as in claim 2, it has a function of encrypting communication data and a function of previously transmitting and receiving procedure information indicating a communication procedure, and has a table in which a plurality of values are recorded. In the communication device, a random number generating means for generating a random number in accordance with a predetermined rule, a reading means for selectively reading one of the values from the above table according to the random number, and the communication data spreading based on this value. And a transmission means for transmitting the output of the diffusion means together with the value of the random number on the procedure information.

【0017】[0017]

【作用】請求項1に記載の構成によると、通信相手に応
じて設けた計数手段の出力を元に拡散データを読出手段
において表から読みだし、通信手段において通信データ
を拡散して送受信し、この計数手段の値を通信毎にイン
クリメントすることにより、暗号強度が強化されること
となる。
According to the structure of claim 1, the spread data is read from the table by the read means based on the output of the counting means provided according to the communication partner, and the communication data is spread and transmitted / received by the communication means. The encryption strength is strengthened by incrementing the value of the counting means for each communication.

【0018】また、請求項2に記載の構成によると、乱
数発生手段で発生した乱数を元に拡散データを読出手段
において表から読みだし、通信手段において通信データ
を拡散し、かつこの乱数を手順情報に載せて送信するこ
とにより、暗号強度が強化されることとなる。
According to the second aspect of the invention, based on the random number generated by the random number generating means, the reading means reads the spread data from the table, the communication means spreads the communication data, and the random number is used as a procedure. The encryption strength is strengthened by transmitting the information on the information.

【0019】[0019]

【実施例】以下、本発明の通信装置を、CBCモードに
よる暗号通信を行うファクシミリ通信装置に適用した例
につき図面を参照しながら説明する。図1は、本発明の
通信装置における第1の実施例に係るファクシミリ通信
装置の全体構成を示すブロック図である。同図におい
て、1はマイクロコンピュータ等から成る制御部であっ
て、全体の制御を司る。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An example in which the communication device of the present invention is applied to a facsimile communication device for performing encrypted communication in the CBC mode will be described below with reference to the drawings. FIG. 1 is a block diagram showing the overall configuration of a facsimile communication apparatus according to the first embodiment of the communication apparatus of the present invention. In the figure, reference numeral 1 is a control unit composed of a microcomputer or the like, and controls the entire control.

【0020】なお、この制御部1は、図2に示すように
中央処理装置(以下「CPU」と略す)2、プログラム
読出専用記憶素子(以下「ROM」と略す)3、ランダ
ム・アクセス・メモリ(以下「RAM」と略す)4から
構成されている。また、RAM4は、図2に示すよう
に、CBCモードにおける初期値(IV)記憶領域、記
憶領域の一つの形態としてのワーク領域、暗号鍵Kの記
憶領域、拡散用データテーブルやカウンタ等として利用
される。
As shown in FIG. 2, the control unit 1 includes a central processing unit (hereinafter abbreviated as "CPU") 2, a program read-only storage element (hereinafter abbreviated as "ROM") 3, and a random access memory. (Hereinafter abbreviated as “RAM”) 4. As shown in FIG. 2, the RAM 4 is used as an initial value (IV) storage area in the CBC mode, a work area as one form of the storage area, a storage area for the encryption key K, a diffusion data table, a counter, and the like. To be done.

【0021】図1に戻って、5は操作部であり、ユーザ
が操作するキー・アレイを有する。6は符号化/復号化
回路であり、前述のように圧縮/伸張等を行う回路であ
る。7は暗号化/平文化回路であり、当該ファクシミリ
通信装置が送信側として動作するときにはCBCモード
による暗号化を行い、受信側として動作するときには平
文化を行う。8は変復調部モデム、9はNCU(網制御
装置)、10は電話回線である。
Returning to FIG. 1, reference numeral 5 denotes an operation unit having a key array operated by the user. Reference numeral 6 is an encoding / decoding circuit, which is a circuit for performing compression / expansion and the like as described above. Reference numeral 7 denotes an encryption / plain culture circuit, which performs encryption in the CBC mode when the facsimile communication device operates as a transmitting side, and performs plain culture when it operates as a receiving side. Reference numeral 8 is a modem unit, 9 is an NCU (network control unit), and 10 is a telephone line.

【0022】11は原稿を読み取るスキャナ11aを有
する読み取り部である。12は読み取った画像データに
シェーディング補正等の処理を施す画像処理部である。
13は送信機能部、14は受信機能部、15はプリント
部15a等を有する記録部、16はリアルタイム・クロ
ック(RTC)である。上述した操作部5、変復調部モ
デム8、NCU9、スキャナ11a、プリント部15a
とCPU2は、図2に示すように、データバス17を介
して接続されている。
A reading unit 11 has a scanner 11a for reading a document. An image processing unit 12 performs processing such as shading correction on the read image data.
Reference numeral 13 is a transmission function unit, 14 is a reception function unit, 15 is a recording unit having a printing unit 15a and the like, and 16 is a real time clock (RTC). The operation unit 5, the modem unit 8, the NCU 9, the scanner 11a, and the printing unit 15a described above.
The CPU 2 and the CPU 2 are connected via a data bus 17, as shown in FIG.

【0023】さて、図3は、本実施例の動作を表すフロ
ーチャートである。同図に則り、以上のように構成され
た本実施例の動作を説明する。まず、送信側の動作を先
に説明する。図3の(a)はこの送信側の主要な動作を
表している。
FIG. 3 is a flow chart showing the operation of this embodiment. The operation of this embodiment configured as described above will be described with reference to FIG. First, the operation of the transmitting side will be described first. FIG. 3A shows the main operation on the transmitting side.

【0024】まず、ユーザが読み取り部11に原稿をセ
ットし、操作部5から相手先の電話番号を入力すると、
ステップ301において、NCU9を介して送信相手に
電話を掛ける等の送信動作を開始し、スキャナ11aに
よって原稿を読み込み、ステップ302において符号化
回路6でMH、MR等の符号化しつつ、RAM4のワー
ク領域に蓄えていく。
First, when the user sets an original on the reading unit 11 and inputs the telephone number of the other party from the operation unit 5,
In step 301, the transmission operation such as making a call to the transmission partner via the NCU 9 is started, the original is read by the scanner 11a, and in step 302, the encoding circuit 6 encodes MH, MR, etc., while the work area of the RAM 4 is processed. Accumulate in.

【0025】次いで、ステップ303において、RAM
4のワーク領域から送信先Bに対するカウンタ値CB
読み込み、ステップ304においてこのカウンタ値CB
に対する2バイト構成の拡散データDをRAM4の拡散
データDのテーブルから読み込んでくる。ここで、この
値CBは、ある特定の受信者に対して行った、通信回数
を示すものであり、また拡散データDのテーブルは、次
表1のような内容となっており、受信側と共有してい
る。
Then, in step 303, the RAM
4 work area reads the counter value C B for destination B, the counter value C B in step 304
The spread data D of 2 bytes is read from the spread data D table of the RAM 4. Here, this value C B indicates the number of times communication has been performed with a specific receiver, and the table of the spread data D has the contents shown in Table 1 below. Shared with.

【0026】[0026]

【表1】 [Table 1]

【0027】さて、ステップ305において、符号化後
のデータの先頭2バイトをRAM4のワーク領域から読
みだし、カウンタ値CBをインデックスとして上表1か
ら読み込んだ2バイトの拡散データDとのEORをと
り、符号化後のデータを拡散する。
In step 305, the first 2 bytes of the coded data are read from the work area of the RAM 4, and the EOR with the 2-byte spread data D read from Table 1 above is used as the counter value C B as an index. Then, the encoded data is spread.

【0028】この後、ステップ306において、カウン
タ値CBを1だけインクリメントし、もしカウンタ値CB
が10以上となるか否かをステップ307で判別し、も
し10以下であればステップ309を実行し、逆に10
以上であればステップ308においてカウンタ値CB
ら10だけ引いて新たにカウンタ値CBとする。このよ
うなステップ307〜309の処理の後、ステップ30
9においてこのカウンタ値CBを再びRAM4に格納す
る。
Thereafter, in step 306, the counter value C B is incremented by 1, and if the counter value C B
Is determined to be 10 or more in step 307, and if 10 or less, step 309 is executed and vice versa.
If it is above, at step 308, 10 is subtracted from the counter value C B to obtain a new counter value C B. After such processing of steps 307 to 309, step 30
In 9, the counter value C B is stored in the RAM 4 again.

【0029】ステップ310において、暗号鍵KをRA
M4の暗号鍵記憶領域から読みだし、拡散の終わった符
号化後のデータを暗号化し、ステップ311において変
復調部モデム8とNCU9を介して電話回線10に送信
する。これにより、一連の送信動作を完了する。
In step 310, the encryption key K is RA
The encoded data, which is read from the encryption key storage area of M4 and which has been diffused, is encrypted and transmitted to the telephone line 10 via the modem 8 and the NCU 9 in step 311. This completes a series of transmission operations.

【0030】さて、次に受信側の動作に付いて説明す
る。図3の(b)はこの受信側の主要な動作を表してい
る。まずステップ351において、外部からの送信デー
タが受信され、相手の電話番号等が判明すると、画像デ
ータを読み込み、RAM4のワーク領域に蓄える。次い
でステップ352において、RAM4の暗号鍵記憶領域
から暗号鍵Kを読みだし、この画像データを平文化す
る。
Now, the operation of the receiving side will be described. FIG. 3B shows the main operation on the receiving side. First, in step 351, when the transmission data from the outside is received and the telephone number of the other party is known, the image data is read and stored in the work area of the RAM 4. Next, at step 352, the encryption key K is read out from the encryption key storage area of the RAM 4 and the image data is plain-printed.

【0031】ステップ353において、送信相手Aに対
応するカウンタ値CAをRAM4から読み込み、ステッ
プ354において、このカウンタ値CAに対する拡散デ
ータDをRAM4の拡散データDのテーブルから読み込
んでくる。この拡散データDのテーブルは、前述のよう
に送信側と共有している。
At step 353, the counter value C A corresponding to the transmission partner A is read from the RAM 4, and at step 354, the spread data D for this counter value C A is read from the table of the spread data D of the RAM 4. The table of the spread data D is shared with the transmitting side as described above.

【0032】ステップ355において、平文化後のデー
タの先頭2バイトをRAM4のワーク領域から読みだ
し、周知のように2回EORの演算を行った結果は元の
値と同じであるから、カウンタ値CAをインデックスと
して上表1から読み込んだ2バイトの拡散データDとの
EORをとり、拡散を解いて元の符号化後のデータに戻
す。
In step 355, the first 2 bytes of the data after the plain culture are read from the work area of the RAM 4, and the result of performing the EOR operation twice as is well known is the same as the original value. C a taken EOR of the diffusion data D 2 bytes read from Table 1 above as an index back to the data after original coding by solving the diffusion.

【0033】この後、ステップ356において、カウン
タ値CAを1だけインクリメントし、ステップ357〜
359の処理を行う。これらステップ357〜358の
処理は送信側のステップ307〜309の処理と同一で
あり、説明を省略する。
Thereafter, in step 356, the counter value C A is incremented by 1, and steps 357-
The processing of 359 is performed. The processing of these steps 357 to 358 is the same as the processing of steps 307 to 309 on the transmitting side, and the description thereof is omitted.

【0034】ステップ360において、拡散を解かれた
符号化後のデータを復号化回路6において復号し、ステ
ップ361において記録部15のプリント部15aから
出力する。これにより、一連の受信動作を完了する。
In step 360, the encoded data that has been despread is decoded in the decoding circuit 6, and is output from the printing section 15a of the recording section 15 in step 361. This completes a series of receiving operations.

【0035】なお、本実施例では、カウンタ値CBは1
だけインクリメントしたが、任意の値をインクリメント
しても良い。このときはカウンタ値CAも同様にインク
リメントすればよい。また、カウンタ値CA及びCBは、
所定値だけデクリメントしても全く同様の動作が可能で
ある。
In this embodiment, the counter value C B is 1
However, any value may be incremented. At this time, the counter value C A may be similarly incremented. Also, the counter values C A and C B are
The same operation is possible even if the value is decremented by a predetermined value.

【0036】また、カウンタ値CAとCBは、例えば4ビ
ット長として、拡散データDのテーブルの数を16個と
し、0〜15のうちのいずれかの値を取るようにしてス
テップ307と308を省略しても良い。この場合、ス
テップ307と308のような例外処理を施さなくと
も、通常のマイクロコンピュータ等の演算では15に1
を足してオーバーフローしても、カウンタの値は再び0
の値に戻るものが一般的である。従って、特殊な処理を
施すことなくても、上記のようなカウンタを自然かつ容
易に実現できる。またデクリメントのときには、カウン
タ値CA及びCBは、例えば15から1づつ減らしてゆ
き、0になったら次には15に戻すというような動作を
させればよい。
Further, the counter values C A and C B are, for example, 4 bits long, the number of tables of the spread data D is 16, and any one of the values 0 to 15 is set to the step 307. 308 may be omitted. In this case, even if the exceptional processing such as steps 307 and 308 is not performed, it is 1 to 15 in the operation of a normal microcomputer or the like.
Even if you add and overflow, the value of the counter becomes 0 again.
It is common to return to the value of. Therefore, the counter as described above can be naturally and easily realized without performing special processing. Further, at the time of decrementing, the counter values C A and C B may be decremented from 15 by 1, for example, and when it becomes 0, the counter values may be returned to 15.

【0037】以上のように本実施例によれば、ステップ
303〜305のように通信するデータを拡散して送信
し、ステップ306において通信相手に応じてカウンタ
値CBを通信毎にインクリメントして変化させているの
で、平文と暗号文のペアが既知とならないので、同じ原
稿を繰り返し送信しても、先頭の画像データは常に異な
り、かつCBCモードを使用しているので先頭だけでな
く全てのデータが異なり、暗号の強度が低下することが
ないという効果が得られる。
As described above, according to the present embodiment, the data to be communicated is spread and transmitted as in steps 303 to 305, and the counter value C B is incremented for each communication in step 306 according to the communication partner. Since the plaintext and ciphertext pairs are not known because they are changed, even if the same original is repeatedly sent, the image data at the beginning is always different and the CBC mode is used, so not only the beginning but also all The effect is obtained that the data is different and the encryption strength does not decrease.

【0038】また、符号化後にデータ拡散を行っている
ので、送信データの量に変化はなく、拡散するデータも
暗号化されるので、そのデータ自体も解読されることが
稀になるという効果が得られる。
Since the data is diffused after encoding, the amount of transmitted data does not change, and the data to be diffused is also encrypted, so that the data itself is rarely decrypted. can get.

【0039】さて、図4は本発明の第2の実施例におけ
る通信装置の動作を表すフローチャートである。ハード
ウェアの構成は、第1の実施例と同一であり、説明は省
略する。はじめに、送信側の動作について説明する。図
4の(a)は、送信側の主な動作を表すフローチャート
である。同図において、ステップ401と402は、第
1の実施例におけるステップ301と302と同一であ
り、説明を省略する。
FIG. 4 is a flow chart showing the operation of the communication device in the second embodiment of the present invention. The hardware configuration is the same as that of the first embodiment, and the description is omitted. First, the operation on the transmitting side will be described. FIG. 4A is a flowchart showing the main operation on the transmitting side. In the figure, steps 401 and 402 are the same as steps 301 and 302 in the first embodiment, and a description thereof will be omitted.

【0040】ステップ403において、乱数発生ルーチ
ンを呼び出して、値が0〜10となる平均値が5の乱数
Rを作る。この乱数Rの発生の方法としては、一様乱数
や正規乱数となる擬乱数で良い。また、その乱数の核と
してはRTC16から読みだした日付・時間等を用いれ
ば良い。
In step 403, a random number generation routine is called to create a random number R having an average value of 5 and a value of 0-10. As a method of generating the random number R, a uniform random number or a pseudo random number that becomes a normal random number may be used. The date / time read from the RTC 16 may be used as the core of the random number.

【0041】ステップ404において、この乱数Rをイ
ンデックスとして上表1から拡散データをRAM4の拡
散データDのテーブルから読み込み、ステップ405に
おいて、先に符号化しておいたデータとの間のEORを
取り、拡散する。
In step 404, the random number R is used as an index to read the spread data from the table 1 of the spread data D in the RAM 4, and in step 405, the EOR with the previously encoded data is calculated, Spread.

【0042】この後、ステップ406において、この乱
数Rを通信の前手順として送る”NSS”信号(CCI
TTの勧告T.30における非標準機能設定を与える信
号)に付加する。次いで、ステップ407において、暗
号鍵KをRAM4の暗号鍵記憶領域から読みだし、拡散
の終わった符号化後のデータを暗号化し、ステップ40
8においてこのデータとともに”NSS”信号を変復調
部モデム8とNCU9を介して電話回線10に送信す
る。これにより、一連の送信動作を完了する。
Thereafter, at step 406, the "NSS" signal (CCI) for sending this random number R as a pre-procedure for communication.
TT Recommendation T. Signal which gives the non-standard function setting at 30). Next, in step 407, the encryption key K is read from the encryption key storage area of the RAM 4, and the encoded data that has been diffused is encrypted, and step 40
In step 8, the "NSS" signal is transmitted together with this data to the telephone line 10 via the modem 8 and the NCU 9. This completes a series of transmission operations.

【0043】さて、次に受信側の動作に付いて説明す
る。図4の(b)はこの受信側の主要な動作を表してい
る。まずステップ451において、外部からの送信デー
タが受信され、相手の電話番号等が判明すると、”NS
S”信号を読み込み、送信側で使用した乱数Rを読み取
る。次のステップ452と453の動作は、第1の実施
例におけるステップ351と352と同一であり、説明
を省略する。
Now, the operation of the receiving side will be described. FIG. 4B shows the main operation on the receiving side. First, in step 451, when the transmission data from the outside is received and the telephone number of the other party is known, "NS
The S "signal is read and the random number R used on the transmitting side is read. The operations of the following steps 452 and 453 are the same as the steps 351 and 352 in the first embodiment, and the description thereof will be omitted.

【0044】ステップ454において、乱数Rをインデ
ックスとしてRAM4の拡散用データテーブルから拡散
データDを読み込む。これ以降の処理ステップ455〜
457は第1の実施例におけるステップ355と360
〜361の処理と同一であり、説明を省略する。これに
より、一連の受信動作を完了する。
In step 454, the diffusion data D is read from the diffusion data table of the RAM 4 using the random number R as an index. Subsequent processing steps 455-
457 is steps 355 and 360 in the first embodiment.
The processing is the same as that of steps 361 to 361 and will not be described. This completes a series of receiving operations.

【0045】以上のように本実施例によれば、ステップ
403で通信毎に乱数Rを発生させ、ステップ404〜
405でデータを拡散して送信しているので、平文と暗
号文のペアが既知とならないので、同じ原稿を繰り返し
送信しても、先頭の画像データは常に異なり、かつCB
Cモードを使用しているので先頭だけでなく全てのデー
タが異なり、暗号の強度が低下することがないという効
果が得られる。
As described above, according to this embodiment, the random number R is generated for each communication in step 403, and steps 404-
Since the data is diffused and transmitted at 405, the pair of plaintext and ciphertext is not known, so even if the same document is repeatedly transmitted, the first image data is always different and CB
Since the C mode is used, not only the beginning but also all the data are different, so that there is an effect that the encryption strength is not lowered.

【0046】また、符号化後にデータ拡散を行っている
ので、送信データの量に変化はなく、拡散するデータも
暗号化されるので、そのデータ自体も解読されることが
稀になるという効果が得られる。
Further, since the data is diffused after encoding, the amount of transmitted data does not change, and the diffused data is also encrypted, so that the data itself is rarely decrypted. can get.

【0047】なお、以上の実施例では、拡散データD
は、RAM4に格納しておいたが、ROM3に予め設定
しておいてもよい。また、製造時に固定しても良いし、
使用者によって設定可能としても良い。またその数値及
びデータ長も任意でよい。
In the above embodiment, the diffused data D
Has been stored in the RAM 4, but may be preset in the ROM 3. Also, it may be fixed at the time of manufacture,
It may be settable by the user. The numerical value and the data length may be arbitrary.

【0048】また、符号化後のデータを拡散したが、原
稿読み取り直後の画像データや暗号化後の通信データに
ついて拡散しても良く、また、これらを拡散用データを
異ならせて複数回行ってもよいし、各処理の過程で拡散
しても良い。その他、本発明は種々変形実施可能であ
る。
Further, although the encoded data is diffused, the image data immediately after reading the original document or the encrypted communication data may be diffused, and these are performed a plurality of times with different diffusion data. Alternatively, it may be diffused during each process. Besides, the present invention can be variously modified.

【0049】[0049]

【発明の効果】以上のように本発明の通信装置は、請求
項1の構成によれば、読出手段によって表から読みだし
た値で通信するデータを拡散して送信手段によって送信
し、計数手段で通信相手に応じて計数値を通信毎にイン
クリメントして変化させているので、平文と暗号文のペ
アが既知とならないので、同じ原稿を繰り返し送信して
も、先頭の画像データは常に異なり、暗号の強度が低下
することがないという効果が得られる。
As described above, in the communication device of the present invention, according to the structure of claim 1, the data to be communicated is spread with the value read from the table by the reading means, and is transmitted by the transmitting means, and the counting means. Since the count value is incremented and changed for each communication depending on the communication partner, the pair of plaintext and ciphertext is not known, so even if the same original is repeatedly sent, the first image data will always be different, It is possible to obtain the effect that the strength of encryption does not decrease.

【0050】また、請求項2の構成によれば、乱数発生
手段で通信毎に乱数を発生させ、この乱数に応じて読出
手段によって表から読みだした値でデータを拡散して送
信手段によって送信しているので、平文と暗号文のペア
が既知とならないので、同じ原稿を繰り返し送信して
も、先頭の画像データは常に異なり、暗号の強度が低下
することがないという効果が得られる。
According to the second aspect of the present invention, the random number generating means generates a random number for each communication, the reading means responds to the random number to spread the data with the value read from the table, and the transmitting means transmits the data. Therefore, the pair of plaintext and ciphertext is not known, so that even if the same original is repeatedly transmitted, the image data at the beginning is always different, and the strength of encryption does not decrease.

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

【図1】 本発明の通信装置における第1の実施例に係
るファクシミリ通信装置の全体構成を示すブロック図で
ある。
FIG. 1 is a block diagram showing an overall configuration of a facsimile communication apparatus according to a first embodiment of a communication apparatus of the present invention.

【図2】 同実施例における制御部の具体的構成とその
他の周辺構成部分を示すブロック図である。
FIG. 2 is a block diagram showing a specific configuration of a control unit and other peripheral components in the embodiment.

【図3】 同実施例における送受信の動作を表すフロー
チャートである。
FIG. 3 is a flowchart showing an operation of transmission / reception in the embodiment.

【図4】 本発明の第2の実施例における通信装置の送
受信動作を表すフローチャートである。
FIG. 4 is a flowchart showing a transmitting / receiving operation of a communication device according to a second embodiment of the present invention.

【図5】 一般的なファクシミリ通信装置における通常
の暗号送受信の手順を示すブロック図である。
FIG. 5 is a block diagram showing a procedure of normal cipher transmission / reception in a general facsimile communication apparatus.

【図6】 送信原稿の一例を示す図である。FIG. 6 is a diagram showing an example of a transmission document.

【図7】 一般的なファクシミリ通信装置における暗号
化処理部の一例を示すブロック図である。
FIG. 7 is a block diagram showing an example of an encryption processing unit in a general facsimile communication apparatus.

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

1 制御部 5 操作部 6 符号化/復号化回路 7 暗号化/平文化回路 8 変復調部モデム 9 NCU 10 電話回線 11 読み取り部 12 画像処理部 13 送信機能部 14 受信機能部 15 記録部 16 RTC 1 Control Section 5 Operation Section 6 Encoding / Decoding Circuit 7 Encryption / Plain Culture Circuit 8 Modulation / Demodulation Section Modem 9 NCU 10 Telephone Line 11 Reading Section 12 Image Processing Section 13 Transmission Function Section 14 Reception Function Section 15 Recording Section 16 RTC

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 H04N 1/44 ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI Technical indication H04N 1/44

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 通信データを暗号化する機能を有し、か
つ複数の値が記録された表を有する送受信可能な通信装
置において、 通信相手に対応して割り当てられた複数の計数手段と、 この係数手段の出力に応じて上記表からいずれかの値を
選択的に読み出す読出手段と、 この読出手段の出力値を基に上記通信データを拡散して
送信する送信手段と、 上記通信相手と通信を行う毎に上記割り当てられた計数
手段の計数値を所定値だけ変化させる手段と、を備える
通信装置。
1. A communication device having a function of encrypting communication data and having a table in which a plurality of values are recorded, capable of transmission and reception, and a plurality of counting means assigned corresponding to a communication partner, Reading means for selectively reading one of the values from the table according to the output of the coefficient means, transmitting means for diffusing and transmitting the communication data based on the output value of the reading means, and communication with the communication partner. And a means for changing the count value of the allocated counting means by a predetermined value each time.
【請求項2】 通信データを暗号化する機能と通信の手
順を示す手順情報を予め送受信する機能を有し、かつ複
数の値が記録された表を有する送受信可能な通信装置に
おいて、 所定の規則に従った乱数を発生する乱数発生手段と、 この乱数に応じて上記表からいずれかの値を選択的に読
み出す読出手段と、 この値を基に上記通信データを拡散する拡散手段と、 この拡散手段の出力とともに上記乱数の値を上記手順情
報に載せて送信する送信手段と、を備える通信装置。
2. A communication device which has a function of encrypting communication data and a function of transmitting and receiving procedure information indicating a communication procedure in advance, and which has a table in which a plurality of values are recorded. A random number generating means for generating a random number according to the above, a reading means for selectively reading one of the values from the table according to the random number, a diffusing means for diffusing the communication data based on this value, and a diffusing means for diffusing the communication data. And a transmission means for transmitting the value of the random number on the procedure information together with the output of the means.
JP6239854A 1994-10-04 1994-10-04 Communication equipment Pending JPH08107409A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6239854A JPH08107409A (en) 1994-10-04 1994-10-04 Communication equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6239854A JPH08107409A (en) 1994-10-04 1994-10-04 Communication equipment

Publications (1)

Publication Number Publication Date
JPH08107409A true JPH08107409A (en) 1996-04-23

Family

ID=17050871

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6239854A Pending JPH08107409A (en) 1994-10-04 1994-10-04 Communication equipment

Country Status (1)

Country Link
JP (1) JPH08107409A (en)

Similar Documents

Publication Publication Date Title
US5613005A (en) Cipher communication method and device
US5535277A (en) Encryption communication apparatus
CN100426828C (en) Image forming apparatus and confidential data transmitting method
JPH07288514A (en) Communication equipment
US5233653A (en) Apparatus and method for enciphered facsimile transmission and reception
JP5033243B2 (en) Safe facsimile transmission method and apparatus
JPH10200519A (en) Communication terminal device
JPH08107409A (en) Communication equipment
JPH07303102A (en) Communication equipment
JPH06339036A (en) Ciphering device and method for facsimile equipment
JP3300375B2 (en) Transmission device having encryption function
JPH08107410A (en) Communication equipment
JPH07250249A (en) Communication equipment
JPH0879235A (en) Communication equipment
JPH0937083A (en) Cipher communication equipment
JPH0869250A (en) Input device for coding key or decoding key and communication device
JPH08107411A (en) Communication equipment
JPH07250057A (en) Communication equipment
JPH0879237A (en) Communication equipment
JPH07288520A (en) Communication equipment
JP3153222B2 (en) Facsimile machine
JP3121981B2 (en) Terminal device for encrypted communication
JPH0884261A (en) Communication equipment
JPH0879236A (en) Communication equipment
JP4098077B2 (en) Facsimile machine