JPH096235A - Encphering device and deciphering device - Google Patents

Encphering device and deciphering device

Info

Publication number
JPH096235A
JPH096235A JP15637595A JP15637595A JPH096235A JP H096235 A JPH096235 A JP H096235A JP 15637595 A JP15637595 A JP 15637595A JP 15637595 A JP15637595 A JP 15637595A JP H096235 A JPH096235 A JP H096235A
Authority
JP
Japan
Prior art keywords
data
encryption
involution
encrypted
count value
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
JP15637595A
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 JP15637595A priority Critical patent/JPH096235A/en
Publication of JPH096235A publication Critical patent/JPH096235A/en
Pending legal-status Critical Current

Links

Landscapes

  • Facsimile Transmission Control (AREA)

Abstract

PURPOSE: To make it possible to enhance secrecy of communication contents, to enhance the cipher intensity without sending out the number of involution steps onto a communication channel, by setting variably a number of involution steps in addition to use of a usual cipher key. CONSTITUTION: In the enciphering/deciphering device 6 for facsimile device, when a cipher is transmitted or a cipher is received, involution is applied, which uses a cipher key and is reciprocally reverse to that of an opposite party, to original data or enciphered data by a number of steps corresponding to a counted value of a counter provided for every communicating party. Enciphering and deciphering are thereby accomplished. A counted value of the counter is incremented by '+1' once every enciphering or deciphering. Accordingly, a receiving partly can apply reverse involution to enciphered data by the same number of steps as number of involution steps established by a transmitting party.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、原データに複数段の暗
号化インボリューションを施すことによって暗号化デー
タを得るための暗号化装置、および暗号化データに複数
段の平文化インボリューションを施すことによって原デ
ータに相当する平文化データを得るための平文化装置に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an encryption device for obtaining encrypted data by subjecting original data to multiple stages of encrypted involution, and to multiple stages of plain culture involution to encrypted data. By this, it relates to a plain culture device for obtaining plain culture data corresponding to original data.

【0002】[0002]

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

【0003】図6は、上記DES型暗号装置の電気的構
成を示すブロック図である。DES型暗号装置には、前
処理部B0、攪拌処理部B1、後処理部B2およびキー
スケジューリング部KSが備えられている。キースケジ
ューリング部KSは、暗号鍵Kを元に、複数の単位暗号
鍵ka ,k0 〜k7 ,kb を作成し、前処理部B0、攪
拌処理部B1および後処理部B2に与える。
FIG. 6 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】そこで、本発明の第1の目的は、上述の技
術的課題を解決し、暗号鍵に代えて、または暗号鍵とと
もに、暗号鍵以外の情報を使用することにより、暗号強
度の向上を図ることができる暗号化装置を提供すること
である。また、本発明の第2の目的は、暗号鍵以外の情
報を使用して作成された暗号化データを平文化して、原
データに相当する平文化データを得ることができる平文
化装置を提供することである。
Therefore, a first object of the present invention is to solve the above-mentioned technical problem and to improve the encryption strength by using information other than the encryption key instead of or together with the encryption key. An object of the present invention is to provide an encryption device that can be achieved. A second object of the present invention is to provide a flat culture device capable of obtaining plain culture data corresponding to original data by performing plain culture on encrypted data created using information other than an encryption key. It is to be.

【0012】[0012]

【課題を解決するための手段】上記目的を達成するため
の請求項1記載の暗号化装置は、原データに複数段の暗
号化インボリューションを施すことによって、暗号化デ
ータを得るための装置であって、任意の識別情報を入力
することができる入力手段と、暗号化インボリューショ
ンの段数を可変設定することができ、設定された段数の
暗号化インボリューションを原データに施し、それによ
り得られる暗号化データを出力する暗号化手段と、複数
の識別情報にそれぞれ対応したカウント値を保有してい
るとともに、上記入力手段から識別情報が入力され、か
つ上記暗号化手段によって原データが暗号化されること
を条件に、所定の規則に従って上記入力された識別情報
に対応するカウント値を更新するカウンタ手段と、この
カウンタ手段のカウント値に基づいて、上記暗号化手段
において実行される暗号化インボリューションの段数を
設定するための段数設定手段とを含むことを特徴とす
る。
According to a first aspect of the present invention, there is provided an encryption device for obtaining encrypted data by subjecting original data to a plurality of stages of encryption involution. Therefore, the input means that can input arbitrary identification information and the number of stages of encrypted involution can be variably set, and the encrypted involution of the set number of stages is applied to the original data, which is obtained The encryption means for outputting the encrypted data and the count value corresponding to each of the plurality of identification information are held, the identification information is input from the input means, and the original data is encrypted by the encryption means. On the condition that the counter value updates the count value corresponding to the input identification information according to a predetermined rule, and the counter means of the counter means. Based on the cement value, characterized in that it comprises a stage number setting means for setting the number of stages of encryption involution performed in the encryption means.

【0013】また、請求項2記載の平文化装置は、原デ
ータに複数段の暗号化インボリューションを施すことに
よって得られた暗号化データに対して、暗号化インボリ
ューションとは逆の平文化インボリューションを施すこ
とにより、暗号化データを平文化して、原データに相当
する平文化データを得るための装置であって、任意の識
別情報を入力することができる入力手段と、平文化イン
ボリューションの段数を可変設定することができ、設定
された段数の平文化インボリューションを暗号化データ
に施し、それにより得られる平文化データを出力する平
文化手段と、複数の識別情報にそれぞれ対応したカウン
ト値を保有しているとともに、上記入力手段から識別情
報が入力され、かつ上記平文化手段によって暗号化デー
タが平文化されることを条件に、所定の規則に従って上
記入力された識別情報に対応するカウント値を更新する
カウンタ手段と、このカウンタ手段のカウント値に基づ
いて、上記平文化手段において実行される平文化インボ
リューションの段数を設定するための段数設定手段とを
含むことを特徴とする。
Further, the plain culture device according to the second aspect of the invention has a plain culture inversion opposite to the encryption involution for the encrypted data obtained by subjecting the original data to a plurality of stages of encryption involution. This is a device for performing plain culture on encrypted data to obtain plain culture data equivalent to the original data by applying a volition, and an input means for inputting arbitrary identification information and a plain culture involution. It is possible to variably set the number of rounds, and the plain culture involution of the set number of rounds is applied to the encrypted data, and the plain culture means for outputting the obtained flat culture data and the count corresponding to each of the plurality of identification information While holding the value, the identification information is input from the input means, and the encrypted data is encrypted by the encryption method. Under the condition, and a counter means for updating the count value corresponding to the input identification information according to a predetermined rule, and based on the count value of the counter means, the flat culture involution executed in the flat culture means. And a step number setting means for setting the step number.

【0014】[0014]

【作用】上記請求項1記載の構成では、入力手段から識
別情報が入力される一方、段数設定手段により設定され
た段数の暗号化インボリューションが原データに施さ
れ、これにより暗号化データが作成される。上記暗号化
インボリューションの段数は、上記入力された識別情報
に対応するカウンタ手段のカウント値に基づいて設定さ
れる。カウンタ手段のカウント値は、所定の規則に従っ
て更新される。すなわち、暗号化インボリューションの
段数は可変設定される。そのため、暗号化インボリュー
ションの段数が固定されていた従来技術に比べて、暗号
強度の向上を図ることができる。
In the structure according to the above-mentioned claim 1, while the identification information is input from the input means, the encrypted involution of the number of steps set by the step number setting means is applied to the original data, thereby creating the encrypted data. To be done. The number of stages of the encrypted involution is set based on the count value of the counter means corresponding to the input identification information. The count value of the counter means is updated according to a predetermined rule. That is, the number of encryption involution steps is variably set. Therefore, the encryption strength can be improved as compared with the conventional technique in which the number of encryption involution stages is fixed.

【0015】しかも、固定的な暗号鍵を用いて暗号化イ
ンボリューションを実行する場合であっても、充分に情
報量の多い暗号鍵を用いれば、充分な暗号強度が得られ
る。この請求項1記載の暗号化装置で作成された暗号化
データは、請求項2記載の平文化装置によって平文化す
ることができる。すなわち、請求項2記載の平文化装置
は、カウンタ手段における入力識別情報に対応したカウ
ント値に基づいて平文化インボリューションの段数を設
定する段数設定手段と、この段数設定手段で設定された
段数の平文化インボリューションを暗号化データに施す
ことにより平文化データを得る平文化手段とを備えてい
る。
Moreover, even when the encryption involution is executed using a fixed encryption key, a sufficient encryption strength can be obtained by using an encryption key having a sufficiently large amount of information. The encrypted data created by the encryption device according to the first aspect can be plainly written by the flat culture device according to the second aspect. That is, the flat culture device according to claim 2 includes a stage number setting means for setting the number of stages of the plain culture involution based on the count value corresponding to the input identification information in the counter means, and the stage number set by the stage number setting means. A plain culture means for obtaining the plain culture data by applying the plain culture involution to the encrypted data is provided.

【0016】カウンタ手段は、所定の規則に従ってカウ
ント値を更新するので、請求項1記載の暗号化装置にお
けるカウント値と同じ規則でカウント値が更新されるよ
うにしておけば、暗号化の際と等しい段数の平文化イン
ボリューションが暗号化データに施されることになる。
これにより、請求項1記載の暗号化装置によって作成さ
れた暗号化データを平文化できる。
Since the counter means updates the count value according to a predetermined rule, if the count value is updated according to the same rule as the count value in the encrypting apparatus according to claim 1, it is possible to perform the encryption. An equal number of flat culture involutions will be applied to the encrypted data.
As a result, the encrypted data created by the encryption device according to the first aspect can be plainly written.

【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、ファクシミリ通信の開始を指示するための
スタートキー12b、暗号通信を指示するための暗号通
信キー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 apparatus also includes an operation unit 12 that functions as an input unit when the apparatus serves as a calling side device for encrypted communication. The operation unit 12 includes a numeric keypad 12a for inputting numerical data such as a facsimile number of a communication partner, a start key 12b for instructing the start of facsimile communication, and an encrypted communication key 12c for instructing encrypted communication. Has been done. 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】なお、装置が被呼側装置となるときには、
符号化/復号化装置4および暗号化/平文化装置5など
が入力手段として把握される。ファクシミリ装置はさら
に、DRAM等で構成された画像メモリ13を備えてい
る。この画像メモリ13は、その記憶領域の一部が親展
通信の際に用いられる親展ボックスとして利用可能にさ
れている。親展通信では、送信側ファクシミリ装置から
送信されたデータはいったんメモリに格納され、予め定
める暗証番号(ID)等が入力されたことに応答してメ
モリからデータが読出され、この読出されたデータに基
づいて受信画像がプリントアウトされる。
When the device is the called device,
The encoding / decoding device 4 and the encryption / plaintext device 5 are grasped as input means. The facsimile machine further includes an image memory 13 composed of a DRAM or the like. A part of the storage area of the image memory 13 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.

【0021】上記画像メモリ13は、図1に示すよう
に、複数の親展ボックスBOX1 ,BOX2 ,・・・,
BOXn が利用可能にされている。親展ボックスBOX
には、互いに異なるボックス番号が付与されている。暗
号通信では、たとえば画像メモリ13内の親展ボックス
BOXに割り当てられた番号とは異なる架空の親展ボッ
クス番号が用いられてもよい。すなわち、暗号通信用親
展ボックス番号が通信相手ごとに予め定められており、
暗号通信用親展ボックス番号に対応する親展ボックスは
画像メモリ13内には存在しない。
As shown in FIG. 1, the image memory 13 has a plurality of confidential boxes BOX 1 , BOX 2 ,.
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 13 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 13.

【0022】なお、暗号通信用親展ボックス番号を画像
メモリ13内に存在する親展ボックスに対応付けておけ
ば、暗号通信を親展機能を利用して行える。上記制御部
3には、予め定める規則に従って計数動作を行うカウン
タCNT1,CNT2 ,・・・,CNTn (以下総称す
るときは「カウンタCNT」という)が暗号通信用親展
ボックス番号に対応付けてそれぞれ備えられている。本
実施例では、暗号通信用親展ボックス番号が識別情報に
相当する。カウンタCNTは、制御部3が備えるメモリ
の記憶領域の一部をカウンタ用としておき、制御部3が
プログラム処理によってカウンタ用領域の記憶値を変更
することにより実現されるソフトウエアカウンタであっ
てもよい。制御部3は、暗号化/平文化処理を実行する
場合、後述するように、通信相手先に対応する暗号通信
用親展ボックス番号に応じたカウンタCNTのカウント
値Cに基づいて通信相手先に対応する暗号通信用親展ボ
ックス番号に応じた段数選択データPを求め、この求め
られた段数選択データPに対応する選択信号SELを暗
号化/平文化装置6に与える。
By associating the confidential box number for encrypted communication with the confidential box existing in the image memory 13, encrypted communication can be performed using the confidential function. In the control unit 3, counters CNT 1 , CNT 2 , ..., CNT n (hereinafter collectively referred to as “counter CNT”) that perform counting operation according to a predetermined rule are associated with a confidential box number for encrypted communication. Are provided for each. In this embodiment, the confidential box number for encrypted communication corresponds to the identification information. The counter CNT may be a software counter realized by setting a part of the memory area of the memory included in the control unit 3 as a counter and changing the stored value of the counter area by the program processing by the control unit 3. Good. When executing the encryption / plain-text processing, the control unit 3 corresponds to the communication partner based on the count value C of the counter CNT corresponding to the encrypted communication confidential box number corresponding to the communication partner, as described later. Step number selection data P corresponding to the confidential box number for encrypted communication is obtained, and a selection signal SEL corresponding to the obtained step number selection data P is given to the encryption / plaintext device 6.

【0023】ファクシミリ装置はまた、EEPROM等
で構成されたメモリ14を備えている。メモリ14に
は、暗号化/平文化処理に必要な暗号鍵Kが暗号通信用
親展ボックス番号と対応付けて格納されている。暗号鍵
Kは、第三者に漏洩しないように、暗号通信を行う当事
者間において予め秘密に打合せして取決められたもので
ある。取決められた暗号鍵Kは、たとえばテンキー12
aからの入力操作によって、取決められた暗号通信用親
展ボックス番号に対応付けてメモリ14に登録される。
The facsimile machine also includes a memory 14 composed of an EEPROM or the like. The memory 14 stores an encryption key K required for encryption / plaintext processing in association with a confidential box number for encrypted communication. The encryption key K is a secretly negotiated agreement between parties involved in encrypted communication so as not to be leaked to a third party. The negotiated encryption key K is, for example, the ten key 12
By an input operation from a, it is registered in the memory 14 in association with the determined encrypted communication confidential box number.

【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にメモリ14に格納されている暗号鍵
K、および通信相手先に対応する暗号通信用親展ボック
ス番号に応じたカウンタCNTのカウント値Cに基づい
て求められた段数選択データPに対応する選択信号SE
Lを与えるとともに、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 sets the encryption key K stored in the memory 14 of the encryption / plaintext device 6 and the count value C of the counter CNT corresponding to the confidential box number for encrypted communication corresponding to the communication partner. Selection signal SE corresponding to the stage number selection data P obtained based on
While giving L, it gives an ON signal. As a result, the transmission code output from the encoding / decoding device 4 is given to the encryption / plain culture device 6 and converted into 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 encoded / decoded by the encoding / decoding device 4
And is 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】また、上記パラメータαは、カウンタCN
Tのカウント値Cに所定の演算を施すことにより求めら
れる。本実施例では、下記(2) 式に示すように、カウン
ト値Cがそのままパラメータαとされる。 α=C ‥‥(2) 上記カウンタCNTは、当該カウンタCNTに対応した
通信相手と暗号通信をするたびに、そのカウント値Cが
インクリメントされるものである。このカウンタCNT
においてインクリメントすべきカウント幅は、適宜設定
されればよいが、本実施例では「+1」に設定されてい
る。
The parameter α is the counter CN
It is obtained by performing a predetermined calculation on the count value C of T. In this embodiment, the count value C is directly used as the parameter α as shown in the following equation (2). α = C (2) The counter CNT is such that the count value C is incremented each time encrypted communication is performed with the communication partner corresponding to the counter CNT. This counter CNT
The count width to be incremented in 1 may be set appropriately, but is set to "+1" in this embodiment.

【0039】このカウンタCNTのカウント値Cは、暗
号化/平文化ブロック部61のインボリューションの最
大段数に等しい所定値CTHに達するとクリアされる。本
実施例では、暗号化/平文化ブロック部61のインボリ
ューションの最大段数は8段なので、0≦α<4になる
ように、CTH=3に設定されている。暗号化/平文化ブ
ロック部61のインボリューションの最大段数は、一般
的には、その処理速度に基づいて定められればよい。イ
ンボリューションの段数をあまり大きくすると、暗号化
/平文化のための処理に長時間を要するから、通信時間
の長期化を招来するおそれがある。
The count value C of the counter CNT is cleared when it reaches a predetermined value C TH which is equal to the maximum number of involution steps of the encryption / plain culture block section 61. In the present embodiment, the maximum number of involutions of the encryption / plain culture block unit 61 is 8, so C TH = 3 is set so that 0 ≦ α <4. Generally, the maximum number of involution steps of the encryption / plaintext block unit 61 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.

【0040】図4は、上記ファクシミリ装置における送
信動作を示すフローチャートである。ファクシミリ通信
を実行する場合、操作者は、まず、原稿をファクシミリ
装置にセットする。その後、受信側のファクシミリ番号
を操作部12に備えられているテンキー12aから入力
し、スタートキー12bを操作する。暗号通信を行うと
きには、スタートキー12bの操作に先立って、暗号通
信キー12cを操作し、さらに受信側ファクシミリ装置
で送信元を特定できるように、受信側と予め取決めてい
る暗号通信用親展ボックス番号をテンキー12aから入
力する。
FIG. 4 is a flow chart showing the transmission operation in the facsimile apparatus. 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.

【0041】スタートキー12bの操作に引き続き、送
信機能部10により回線接続処理が行われる。受信側の
ファクシミリ装置との回線が接続すると、暗号通信キー
12cが操作されたか否かに基づいて暗号通信であるか
否かが判別される(ステップS1)。その結果、暗号通
信ではないと判別されると、通常のファクシミリ通信で
あると判断され、送信制御処理が実行された後、原画デ
ータに対応する送信信号が送信される(ステップS1
0)。一方、暗号通信であると判別されると、送信制御
処理が実行された後、暗号送信処理が実行される(ステ
ップS2〜S10)。
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, the transmission control process is executed, and then the transmission signal corresponding to the original image data is transmitted (step S1).
0). On the other hand, if it is determined that the communication is cipher communication, the cipher transmission process is executed after the transmission control process is executed (steps S2 to S10).

【0042】上記送信制御処理は、NSS(Non-Standar
d facilities Set-up)等の送信制御信号の送信を含む前
処理に相当する。NSSには、特定の複数ビットが暗号
通信用親展ボックス番号を示す番号データを書込むため
に割り当てられている。また、NSSには、特定の1ビ
ットが暗号通信であるか否かを示すフラグのために予め
割り当てられている。通常のファクシミリ通信である場
合、上記番号データは書き込まれておらず、しかもフラ
グが立てられていないNSSが送信される。暗号通信で
ある場合には、上記番号データが書き込まれ、しかもフ
ラグを立てられたNSSが送信される。
The above transmission control processing is performed by NSS (Non-Standar).
This corresponds to pre-processing including transmission of transmission control signals such as d facilities Set-up). 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. Further, the NSS is assigned in advance 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. In the case of encrypted communication, the number data is written and the flagged NSS is transmitted.

【0043】暗号送信処理において、制御部3は、ま
ず、テンキー12aから入力された暗号通信用親展ボッ
クス番号に基づき、この暗号通信用親展ボックス番号に
対応付けて格納されている暗号鍵Kをメモリ14から読
出す(ステップS4)。暗号通信用親展ボックス番号は
通信相手先ごとに設定されているので、読出された暗号
鍵Kは受信側ファクシミリ装置に対応するものである。
読出された暗号鍵Kは暗号化/平文化ブロック部61に
与えられ、当該暗号化/平文化ブロック部61におい
て、原データDinに暗号化処理が施され、暗号化データ
候補D1out 〜D5 out が作成される(ステップS
5)。
In the cipher transmission process, the control section 3
First, the confidential box for encrypted communication entered from the numeric keypad 12a
The secret box number for encrypted communication based on the
Read the associated encryption key K from the memory 14
Put out (step S4). The confidential box number for encrypted communication is
Since it is set for each communication destination, the read encryption
The key K corresponds to the facsimile machine on the receiving side.
The read encryption key K is stored in the encryption / plain culture block unit 61.
Given to the encryption / plain culture block section 61
Original data DinIs encrypted and the encrypted data is
Candidate D1out~ D5 outIs created (step S
5).

【0044】一方、制御部3は、テンキー12aから入
力された暗号通信用親展ボックス番号に基づき、この暗
号通信用親展ボックス番号に対応するカウンタCNTか
らカウント値Cを読込み(ステップS2)、この読込ま
れたカウント値Cに基づいて、上記(2) 式に示すよう
に、パラメータαを求める(ステップS3)。そして、
この求められたパラメータαに基づいて、上記(1) 式に
示すように、段数選択データPを求める。その後、この
求められた段数選択データPに対応する選択信号SEL
をセレクタ部63に与える。
On the other hand, the control unit 3 reads the count value C from the counter CNT corresponding to the confidential box number for encrypted communication based on the confidential box number for encrypted communication input from the ten-key 12a (step S2), and reads it. Based on the count value C thus obtained, the parameter α is obtained as shown in the above equation (2) (step S3). And
Based on the obtained parameter α, the stage number selection data P is obtained as shown in the equation (1). After that, the selection signal SEL corresponding to the obtained stage number selection data P is selected.
To the selector unit 63.

【0045】その結果、セレクタ部63において、ライ
ン62a〜62eに送出されている暗号化データ候補D
out 〜D5out のうち、上記段数選択データPに対応
した段数だけインボリューションが実行された暗号化デ
ータ候補が暗号化データDou t として抽出される。そし
て、この抽出された暗号化データDout がモデム5で送
信信号に変換され、この送信信号が網制御部7を介して
公衆電話回線8に送出される(ステップS10)。
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 S10).

【0046】上記段数選択データPを求める際に必要な
カウンタCNTのカウント値Cは、上記暗号化処理が実
行されると、カウント幅である定数「+1」だけインク
リメントされる(ステップS6)。その後、0≦α<4
の条件を満足させるため、所定値CTHに達したか否かが
判別される(ステップS7)。その結果、カウント値C
が所定値CTH未満であれば、カウント値Cはそのまま保
持される(ステップS9)。一方、カウント値Cが所定
値CTHに達していれば、カウント値Cはクリアされる
(ステップS8)。
When the encryption processing is executed, the count value C of the counter CNT required for obtaining the stage number selection data P is incremented by a constant "+1" which is the count width (step S6). After that, 0 ≦ α <4
In order to satisfy the condition of, it is judged whether or not the predetermined value C TH has been reached (step S7). As a result, the count value C
If is less than the predetermined value C TH , the count value C is held as it is (step S9). On the other hand, if the count value C has reached the predetermined value C TH , the count value C is cleared (step S8).

【0047】図5は、上記ファクシミリ装置における受
信動作を示すフローチャートである。ファクシミリ装置
では、送信側のファクシミリ装置との回線が接続する
と、まず、原画データに対応する信号に先立って受信さ
れるNSSが参照される。そして、このNSSの中の暗
号通信か否かを示すフラグが立っているか否かに基づい
て、暗号通信か否かが判別される(ステップT1)。こ
の判別の結果、通常のファクシミリ通信であると判断さ
れると、通常の受信処理が行われ、受信画像が用紙上に
記録される(ステップT10)。
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 T10).

【0048】一方、暗号通信であると判断されると、さ
らにNSSを参照し、このNSSに含まれている番号デ
ータに基づいて暗号通信用親展ボックス番号を取得し、
この取得された暗号通信用親展ボックス番号に対応付け
られて格納されている暗号鍵Kがメモリ14から読出さ
れる(ステップT4)。暗号通信用親展ボックス番号は
通信相手先ごとに設定されているので、読出された暗号
鍵Kは送信側ファクシミリ装置に対応するものである。
読出された暗号鍵Kは暗号化/平文化ブロック部61に
与えられ、当該暗号化/平文化ブロック部61におい
て、暗号化データDinにインボリューションが繰り返し
施されて平文化処理が行われ、平文化データ候補D1
out 〜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 14 (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, and the encryption / plain culture block unit 61 repeatedly performs involution on the encrypted data D in to perform the plain culture process, Plain culture data candidate D1
out to D5 out are created (step T5).

【0049】一方、制御部3は、上記暗号通信用親展ボ
ックス暗号に対応するカウンタCNTのカウント値Cを
読込み(ステップT2)、この読込まれたカウント値C
に基づいて、上記(2) 式に従って、パラメータαを求め
る(ステップT3)。そして、このパラメータαに基づ
いて、上記(1) 式に示すように、段数選択データPを求
める。その後、その段数選択データPに対応する選択信
号SELをセレクタ部63に与える。
On the other hand, the control unit 3 reads the count value C of the counter CNT corresponding to the confidential box cipher for encrypted communication (step T2), and the read count value C.
Based on the above, the parameter α is obtained according to the above equation (2) (step T3). Then, based on the parameter α, the stage number selection data P is obtained as shown in the equation (1). Thereafter, the selection signal SEL corresponding to the stage number selection data P is given to the selector section 63.

【0050】その結果、セレクタ部63において、ライ
ン62a〜62eに送出されているい平文化データ候補
D1out 〜D5out のうち、上記段数選択データPに応
じた段数だけインボリューションが実行された平文化デ
ータ候補が、原データに相当する平文化データDout
して抽出される。そして、この抽出された平文化データ
out が符号化/復号化装置4に与えられて原画データ
が復元される。この復元された原画データに基づいて記
録部9が印刷出力動作を行うことにより、原稿画像が再
生される。
As a result, in the selector section 63, the plain culture in which the number of stages corresponding to the stage number selection data P among the plain culture data candidates D1 out to D5 out transmitted to the lines 62a to 62e has been executed. The data candidates are extracted as the plain culture data D out corresponding to the original data. Then, the extracted plain 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.

【0051】受信側のファクシミリ装置のカウンタCN
Tのカウント値Cは、上記平文化処理が実行されると、
カウント幅である定数「+1」だけインクメントされる
(ステップT6)。すなわち、受信側のファクシミリ装
置のカウンタCNTは、送信側のファクシミリ装置のカ
ウンタCNTと全く同様に動作する。したがって、送信
側および受信側のファクシミリ装置の各カウンタCNT
のカウント値Cは等しくなっている。そのため、受信側
のファクシミリ装置では、送信側のファクシミリ装置と
同じ段数だけ送信側のファクシミリ装置と反対のインボ
リューションが実行される。その結果、原画データを忠
実に復元できる。そのため、元の原稿を正確に再現でき
る。
Counter CN of the facsimile machine on the receiving side
The count value C of T is
The constant "+1" which is the count width is incremented (step T6). That is, the counter CNT of the facsimile machine on the receiving side operates exactly like the counter CNT of the facsimile machine on the transmitting side. Therefore, the counters CNT of the sending side and receiving side facsimile machines
The count values C are equal. Therefore, the receiving side facsimile apparatus performs the same number of involutions as the transmitting side facsimile apparatus and the opposite number of revolutions as the transmitting side facsimile apparatus. As a result, the original image data can be faithfully restored. Therefore, the original document can be accurately reproduced.

【0052】制御部3は、カウント値Cの更新後、0≦
α<4の条件を満足させるため、カウント値Cが所定値
TH(=3)に達したか否かを判別する(ステップT
7)。その結果、所定値CTH未満であれば、カウント値
Cはそのまま保持され(ステップS9)、所定値CTH
達していれば、カウント値Cはクリアされる(ステップ
S8)。
After updating the count value C, the control unit 3 sets 0 ≦
In order to satisfy the condition of α <4, it is determined whether or not the count value C has reached a predetermined value C TH (= 3) (step T
7). As a result, if it is less than the predetermined value C TH , the count value C is held as it is (step S9), and if it has reached the predetermined value C TH , the count value C is cleared (step S8).

【0053】以上のように本実施例のファクシミリ装置
によれば、通常の暗号鍵Kだけでなく、暗号化処理の処
理単位であるインボリューションの段数が可変設定され
るので、暗号強度の向上を図ることができる。また、イ
ンボリューションの段数は、送信側および受信側のファ
クシミリ装置にそれぞれ備えられているカウンタCNT
のカウント値Cでそれぞれ決定される。換言すれば、イ
ンボリューションの段数は公衆通信回線8に送出されな
い。したがって、第三者にインボリューションの段数が
知られることない。
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, is variably set, so that the encryption strength is improved. Can be planned. Further, the number of involution steps is the counter CNT provided in each of the facsimile machines on the transmitting side and the receiving side.
Is determined by the count value C. In other words, the number of stages of involution is not transmitted to the public communication line 8. Therefore, the number of steps of involution is not known to a third party.

【0054】そのため、通信内容の機密性の向上を図る
ことができる。本発明の実施例の説明は以上のとおりで
あるが、本発明は上述の実施例に限定されるものではな
い。たとえば上記実施例では、図4および図5に示す送
信/受信動作において、カウント値Cのインクリメント
は、暗号化/平文化処理が実行された後に行われている
が、たとえば暗号通信であると判別された直後に行うよ
うにしてもよい。すなわち、図4のステップS1とステ
ップS2との間、および図5のステップT1とステップ
T2との間に、カウント値Cのインクリメントを実行す
る処理を挿入してもよい。また、上記実施例では、カウ
ンタCNTにおいてインクリメントすべきカウント幅は
定数「+1」に設定されているが、他の定数、たとえば
定数「+2」,「+3」,「−1」,「−2」,「−
3」をカウント幅として設定してもよい。
Therefore, the confidentiality of the communication contents can be improved. The description of the embodiment of the present invention is as described above, but the present invention is not limited to the above-described embodiment. For example, in the above-described embodiment, in the transmission / reception operation shown in FIGS. 4 and 5, the count value C is incremented after the encryption / plain culture processing is executed, but it is determined that the communication is encrypted communication, for example. It may be performed immediately after being performed. That is, you may insert the process which performs the increment of the count value C between step S1 and step S2 of FIG. 4, and between step T1 and step T2 of FIG. Further, in the above embodiment, the count width to be incremented in the counter CNT is set to the constant "+1", but other constants such as the constants "+2", "+3", "-1", "-2" are set. ,-
3 "may be set as the count width.

【0055】また、たとえば通信相手先のファクシミリ
番号の予め定める桁の数字をカウント幅としてもよい。
さらに、暗号通信を実行するときの月または日をカウン
ト幅としてもよい。たとえば、暗号通信を2月にする場
合は、カウント幅を「+2」としてもよい。また、暗号
通信を24日にする場合には、カウント幅を「+24」
としてもよい。
Further, for example, the number of predetermined digits of the facsimile number of the communication partner may be used as the count width.
Further, the count width may be a month or a day when executing encrypted communication. For example, when the encrypted communication is in February, the count width may be "+2". In addition, when the encrypted communication is set on the 24th, the count width is "+24".
It may be.

【0056】さらにまた、予め定める定数、あるいは暗
号通信を実行するときの月または日をカウント値Cに乗
除算するようにして新たなカウント値を求めてもよい。
ただし、この場合、カウント値Cの初期値C0 はC0
0の条件を満足する必要がある。また、パラメータα
は、カウント値Cに基づいて所定の演算式により求めれ
ばよいが、カウント値Cとパラメータαとの対応関係を
示すテーブルをメモリ13に格納しておき、当該テーブ
ルを参照してパラメータαを求めるようにしてもよい。
Furthermore, a new count value may be obtained by multiplying or dividing the count value C by a predetermined constant, or the month or day when executing encrypted communication.
However, in this case, the initial value C 0 of the count value C is C 0
It is necessary to satisfy the condition of 0. Also, the parameter α
Can be obtained by a predetermined arithmetic expression based on the count value C, but a table showing the correspondence between the count value C and the parameter α is stored in the memory 13 and the parameter α is obtained by referring to the table. You may do it.

【0057】また、上記実施例では、暗号鍵Kを通信相
手先に応じて変化させているが、たとえば通信相手先に
かかわらず固定としてもよい。この構成によれば、メモ
リ13の容量に占める暗号通信のために必要な容量を小
さくできる。具体的には、暗号鍵Kは、通常、64ビッ
トまたは128ビットで表現されるのに対して、インボ
リューションの段数を設定するためのカウンタCNTの
カウント値Cは、たとえば2ビット(0,1,2,3が
表現可能)で表現可能であるから、通信相手先が多けれ
ば多いほど、暗号通信のために必要な容量を小さくでき
る。
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. With this configuration, the capacity required for encrypted communication in the capacity of the memory 13 can be reduced. Specifically, the encryption key K is usually represented by 64 bits or 128 bits, whereas the count value C of the counter CNT for setting the number of stages of involution is, for example, 2 bits (0, 1). , 2, 3 can be expressed), the larger the number of communication destinations, the smaller the capacity required for encrypted communication.

【0058】このように、暗号鍵Kを固定しておけば、
通信相手先と暗号情報についての通謀を行うことなく、
暗号通信が実現できる。しかも、一定の値とはいえ、充
分大きな情報量を持つ暗号鍵Kを用いて暗号化が行われ
るから、暗号強度も充分に高い。また、上記実施例で
は、暗号化処理および平文化処理を専用の暗号化/平文
化装置6において実行しているが、たとえば暗号化/平
文化処理は制御部3にてソフトウエア処理によって実現
してもよい。
If the encryption key K is fixed in this way,
Without conspiring with the correspondent about cryptographic information,
Cryptographic communication can be realized. Moreover, the encryption strength is sufficiently high because the encryption is performed using the encryption key K having a sufficiently large amount of information, although the value is constant. Further, in the above embodiment, the encryption processing and the plain culture processing are executed in the dedicated encryption / plain culture apparatus 6, but the encryption / plain culture processing is realized by the software processing in the control unit 3, for example. May be.

【0059】具体的には、制御部3は、暗号化処理を実
行する場合、通信相手先ファクシミリ番号に応じたカウ
ンタCNTからカウント値Cを読込み、この読込まれた
カウント値Cに基づいてパラメータαを求める。次い
で、このパラメータαに基づいて段数選択データPを求
める。また、メモリ13から通信相手先ファクシミリ番
号に応じた暗号鍵Kを読出す。そして、原データに対し
てインボリューションを上記求められた段数選択データ
Pに応じた段数だけ施すことにより、暗号化データが作
成される。なお、平文化処理を実行する場合も同様であ
る。
Specifically, when executing the encryption process, the control unit 3 reads the count value C from the counter CNT corresponding to the facsimile number of the communication destination, and the parameter α based on the read count value C. Ask for. Next, the stage number selection data P is obtained based on this parameter α. Further, the encryption key K corresponding to the facsimile number of the communication partner is read from the memory 13. Then, the encrypted data is created by performing the involution on the original data by the number of stages corresponding to the obtained stage number selection data P. The same applies when executing the flat culture process.

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

【0061】さらにまた、上記実施例では、ファクシミ
リ装置を例にとって説明しているが、本発明は、たとえ
ばパーソナルコンピュータやワードプロセッサなど、デ
ータを扱うことができる装置について、広く適用するこ
とができる。たとえば、パーソナルコンピュータにおい
て、データを外部記憶媒体であるハードディスクに保存
する場合、第三者へのデータ漏洩を防止するため、デー
タを暗号化して保存する、というときに本発明を適用し
てもよい。
Furthermore, although the above embodiment has been described by taking a facsimile device as an example, the present invention can be widely applied to devices capable of handling data, such as a personal computer and a word processor. For example, in a personal computer, when data is stored in a hard disk which is an external storage medium, the present invention may be applied when data is encrypted and stored in order to prevent data leakage to a third party. .

【0062】より具体的に説明すると、たとえば識別情
報としてのユーザIDを入力した上で、データを暗号化
して記憶媒体に格納することが考えられる。すなわち、
ユーザIDごとにデータ書込用のカウンタを用意してお
き、入力されたユーザIDに対応するデータ書込用カウ
ンタのカウント値をインクリメントするようにする。そ
して、このカウンタのカウント値に基づいて暗号化イン
ボリューションの段数が設定され、この設定された段数
の暗号化インボリューションが保存すべきデータに施さ
れて暗号化データが作成されるようにすればよい。
More specifically, for example, it is conceivable to input a user ID as identification information and then encrypt the data and store it in a storage medium. That is,
A data writing counter is prepared for each user ID, and the count value of the data writing counter corresponding to the input user ID is incremented. Then, the number of stages of the encrypted involution is set based on the count value of this counter, and the encrypted involution of the set number of stages is applied to the data to be saved to create the encrypted data. Good.

【0063】一方、保存されている暗号化データを読出
す場合にも、ユーザIDを入力するようにする。そし
て、ユーザIDごとにデータ読出用のカウンタを用意し
ておき、入力されたユーザIDに対応するデータ読出用
カウンタのカウント値をインクリメントするようにして
おく。このようにすれば、データ読出用カウンタのカウ
ント値は、暗号化データが作成されたときのデータ書込
用カウンタのカウント値に等しくなる。したがって、こ
のデータ読出用カウンタのカウント値に基づいて平文化
インボリューションの段数が設定され、この設定された
段数の平文化インボリューションが保存されている暗号
化データに施されるようにすればよい。その結果、保存
する前のデータを復元できる。
On the other hand, when reading out the stored encrypted data, the user ID is input. Then, a data reading counter is prepared for each user ID, and the count value of the data reading counter corresponding to the input user ID is incremented. By doing so, the count value of the data read counter becomes equal to the count value of the data write counter when the encrypted data was created. Therefore, the number of steps of the plain culture involution may be set based on the count value of the data reading counter, and the set number of steps of the plain culture involution may be applied to the stored encrypted data. . As a result, the data before saving can be restored.

【0064】なお、このユーザIDを使用してデータの
暗号化/平文化を実行する場合、データ書込用カウンタ
およびデータ読出用カウンタにおけるカウント値の更新
規則を各ユーザIDごとに変えるようにしてもよい。さ
らに、上記実施例では、伝送するデータとして原画デー
タを例にとって説明しているが、本発明は、原画データ
以外のデータを伝送する際にも適用できる。
When data encryption / plain culture is performed using this user ID, the update rule of the count value in the data writing counter and the data reading counter is changed for each user ID. Good. Further, 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 when transmitting data other than the original image data.

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

【0066】[0066]

【発明の効果】以上のように請求項1記載の暗号化装置
によれば、暗号化データのために実行される暗号化イン
ボリューションの段数は可変設定されるので、暗号化イ
ンボリューションの段数が固定されていた従来技術に比
べて、暗号強度の向上を図ることができる。
As described above, according to the encryption device of the first aspect, since the number of stages of the encryption involution executed for the encrypted data is variably set, the number of stages of the encryption involution is It is possible to improve the encryption strength as compared with the fixed conventional technique.

【0067】しかも、暗号化インボリューションの段数
は、予め定める規則に従って更新されるカウンタ手段の
カウント値に基づいて設定されるので、対応する識別情
報が入力されるたびに異なる。したがって、第三者に暗
号化インボリューションの段数が知られることがない。
そのため、たとえば本発明の暗号化装置を暗合通信に利
用する場合、通信内容の機密性の向上を図ることができ
る。
Moreover, since the number of stages of the encrypted involution is set based on the count value of the counter means updated according to a predetermined rule, it changes every time the corresponding identification information is input. Therefore, the number of encryption involution steps is not known to a third party.
Therefore, for example, when the encryption device of the present invention is used for encrypted communication, the confidentiality of communication contents can be improved.

【0068】また、固定的な暗号鍵を用いて暗号化イン
ボリューションを実行する場合には、暗号鍵に代えて他
の情報を用いるという目的を達成できる。この場合、充
分に情報量の多い暗号鍵を用いれば、充分な暗号強度が
得られる。また、請求項2記載の平文化装置によれば、
上記請求項1記載の暗号化装置で暗号化データを作成す
るときに入力される識別情報に対応する識別情報が入力
されることにより、上記請求項1記載の暗号化装置で作
成された暗号化データを平文化することができる。
Further, in the case of executing the encryption involution using the fixed encryption key, the purpose of using other information in place of the encryption key can be achieved. In this case, if an encryption key having a sufficiently large amount of information is used, sufficient encryption strength can be obtained. According to the flat culture device of claim 2,
The encryption created by the encryption device according to claim 1 by inputting identification information corresponding to the identification information input when creating encrypted data by the encryption device according to claim 1. Data can be written in plain text.

【図面の簡単な説明】[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】従来のDES型暗号装置の電気的構成を示すブ
ロック図である。
FIG. 6 is a block diagram showing an electrical configuration of a conventional DES type encryption device.

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

3 制御部 6 暗号化/平文化装置 61 暗号化/平文化ブロック部 62 ライン 63 セレクタ部 CNT カウンタ P 段数選択データ SEL 選択信号 3 control unit 6 encryption / plain culture device 61 encryption / plain culture block unit 62 line 63 selector unit CNT counter P stage number selection data SEL selection signal

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】原データに複数段の暗号化インボリューシ
ョンを施すことによって、暗号化データを得るための装
置であって、 任意の識別情報を入力することができる入力手段と、 暗号化インボリューションの段数を可変設定することが
でき、設定された段数の暗号化インボリューションを原
データに施し、それにより得られる暗号化データを出力
する暗号化手段と、 複数の識別情報にそれぞれ対応したカウント値を保有し
ているとともに、上記入力手段から識別情報が入力さ
れ、かつ上記暗号化手段によって原データが暗号化され
ることを条件に、所定の規則に従って上記入力された識
別情報に対応するカウント値を更新するカウンタ手段
と、 このカウンタ手段のカウント値に基づいて、上記暗号化
手段において実行される暗号化インボリューションの段
数を設定するための段数設定手段とを含むことを特徴と
する暗号化装置。
Claim: What is claimed is: 1. An apparatus for obtaining encrypted data by subjecting original data to a plurality of stages of encrypted involution, the input means being capable of inputting arbitrary identification information, and the encrypted involution. It is possible to variably set the number of steps of the, the encryption involution of the set number of steps is applied to the original data, the encryption means that outputs the encrypted data obtained by it, and the count value corresponding to each of the multiple identification information. The count value corresponding to the input identification information in accordance with a predetermined rule, provided that the identification information is input from the input means and the original data is encrypted by the encryption means. And a encryption means executed by the encryption means based on the count value of the counter means. An encryption device, comprising: a step number setting means for setting the step number of the solution.
【請求項2】原データに複数段の暗号化インボリューシ
ョンを施すことによって得られた暗号化データに対し
て、暗号化インボリューションとは逆の平文化インボリ
ューションを施すことにより、暗号化データを平文化し
て、原データに相当する平文化データを得るための装置
であって、 任意の識別情報を入力することができる入力手段と、 平文化インボリューションの段数を可変設定することが
でき、設定された段数の平文化インボリューションを暗
号化データに施し、それにより得られる平文化データを
出力する平文化手段と、 複数の識別情報にそれぞれ対応したカウント値を保有し
ているとともに、上記入力手段から識別情報が入力さ
れ、かつ上記平文化手段によって暗号化データが平文化
されることを条件に、所定の規則に従って上記入力され
た識別情報に対応するカウント値を更新するカウンタ手
段と、 このカウンタ手段のカウント値に基づいて、上記平文化
手段において実行される平文化インボリューションの段
数を設定するための段数設定手段とを含むことを特徴と
する平文化装置。
2. The encrypted data is obtained by subjecting the encrypted data obtained by subjecting the original data to a plurality of stages of encrypted involution, to a plain culture involution opposite to the encrypted involution. It is an apparatus for performing plain culture and obtaining plain culture data equivalent to the original data, and an input means capable of inputting arbitrary identification information, and the number of stages of the plain culture involution can be variably set, The plain culture means that applies the set number of plain culture involutions to the encrypted data and outputs the plain culture data obtained by that, and the count value corresponding to each of multiple identification information are held, and the above input In accordance with the prescribed rules, provided that the identification information is input from the means and the encrypted data is encrypted by the above described encryption method. Counter means for updating the count value corresponding to the inputted identification information, and a step number setting means for setting the step number of the flat culture involution executed in the flat culture means based on the count value of the counter means. A flat culture device characterized by including and.
JP15637595A 1995-06-22 1995-06-22 Encphering device and deciphering device Pending JPH096235A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15637595A JPH096235A (en) 1995-06-22 1995-06-22 Encphering device and deciphering device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15637595A JPH096235A (en) 1995-06-22 1995-06-22 Encphering device and deciphering device

Publications (1)

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

Family

ID=15626385

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15637595A Pending JPH096235A (en) 1995-06-22 1995-06-22 Encphering device and deciphering device

Country Status (1)

Country Link
JP (1) JPH096235A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008109205A (en) * 2006-10-23 2008-05-08 Tokai Rika Co Ltd Cipher communication apparatus
JP2015174329A (en) * 2014-03-14 2015-10-05 キヤノン株式会社 Image forming device, control method thereof, and program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008109205A (en) * 2006-10-23 2008-05-08 Tokai Rika Co Ltd Cipher communication apparatus
JP2015174329A (en) * 2014-03-14 2015-10-05 キヤノン株式会社 Image forming device, control method thereof, and program
US10110766B2 (en) 2014-03-14 2018-10-23 Canon Kabushiki Kaisha Method of controlling a printing apparatus that scrambles identification information of an authenticated user and causes a printer to print characters obtained by scrambling the identification information, and related printing method, and non-transitory computer readable medium

Similar Documents

Publication Publication Date Title
EP0793366B1 (en) Method and apparatus for encrypting data
JPH096235A (en) Encphering device and deciphering device
JPH07250251A (en) Terminal equipment for cipher communication
KR970005596B1 (en) Method for encrypting and decryting digital information
JPH096234A (en) Enciphering device and deciphering device
JPS60198968A (en) Facsimile privacy communication system
JPH096238A (en) Terminal device for cipher communication
JPH0983508A (en) Cipher device
JPH0983814A (en) Terminal equipment for ciphering communication
JPH06339036A (en) Ciphering device and method for facsimile equipment
JP2541307B2 (en) Cryptographic key communication method and apparatus thereof
JPH06152587A (en) Method and device for digital communication
JPH0937083A (en) Cipher communication equipment
JPH07303102A (en) Communication equipment
JPH10303879A (en) Enciphering method
JPH04237264A (en) Facsimile equipment having cipher function
JP3114590B2 (en) Color facsimile machine
JPH07288520A (en) Communication equipment
JPH07250249A (en) Communication equipment
JP3121981B2 (en) Terminal device for encrypted communication
JPH0879236A (en) Communication equipment
JPH07250250A (en) Terminal equipment for cipher communication
JPH05244153A (en) Digital communication equipment
JPH10303883A (en) Enciphering method
JPH0879237A (en) Communication equipment