JPH096232A - Encryption system, decryption system, information confidential processing system and information confidential communication system - Google Patents

Encryption system, decryption system, information confidential processing system and information confidential communication system

Info

Publication number
JPH096232A
JPH096232A JP7154513A JP15451395A JPH096232A JP H096232 A JPH096232 A JP H096232A JP 7154513 A JP7154513 A JP 7154513A JP 15451395 A JP15451395 A JP 15451395A JP H096232 A JPH096232 A JP H096232A
Authority
JP
Japan
Prior art keywords
program
encryption
decryption
key
encrypted
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
JP7154513A
Other languages
Japanese (ja)
Inventor
Yasuhiko Saka
康彦 坂
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.)
Ricoh Elemex Corp
Ricoh Co Ltd
Original Assignee
Ricoh Elemex Corp
Ricoh 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 Ricoh Elemex Corp, Ricoh Co Ltd filed Critical Ricoh Elemex Corp
Priority to JP7154513A priority Critical patent/JPH096232A/en
Publication of JPH096232A publication Critical patent/JPH096232A/en
Pending legal-status Critical Current

Links

Abstract

(57)【要約】 【目的】 フ゜ロク゛ラムが改竄されることなく暗号化・復号
化を効率的に行うことができるシステムを提供すること。 【構成】 イニシャルフ゜ロク゛ラムIPにより、ハ゜スワート゛が合致する
と情報処理装置からICカート゛へ暗号化された暗/復号化処
理フ゜ロク゛ラムPr1,Pr2,…が送信され、ICカート゛はこのフ゜ロク゛ラム
を正当使用者の復号化鍵にて復号化し送り返す。情報処
理装置はこのフ゜ロク゛ラムを作業メモリ領域PAに配置して起動し
テ゛ータの暗/復号化処理を行う。従って通常、フ゜ロク゛ラムは
暗号化されているので第三者により解析されず改竄もで
きない。正当使用者がテ゛ータの処理を完了した後はその平
文のフ゜ロク゛ラムは消去されるため、処理後も平文のフ゜ロク゛ラム
は残っていず、フ゜ロク゛ラムの安全性が確保される。このた
め暗号化/復号化処理毎にフ゜ロク゛ラムの記憶媒体を保管場
所から取り出して情報処理装置にセットする作業をしなく
ても良く効率的に暗号化作業ができる。
(57) [Abstract] [Purpose] To provide a system capable of efficiently performing encryption / decryption without tampering with the program. [Structure] When the password matches with the initial program IP, the encrypted dark / decryption processing program Pr1, Pr2, ... Is transmitted from the information processing device to the IC card, and the IC program decrypts this program by a legitimate user. Decrypt with key and send back. The information processing apparatus arranges this program in the work memory area PA and activates it to perform data encryption / decryption processing. Therefore, the program is usually encrypted and cannot be tampered with without being analyzed by a third party. Since the plaintext program is erased after the legitimate user completes the processing of the data, the plaintext program remains after the processing, and the security of the program is secured. Therefore, it is not necessary to take out the storage medium of the program from the storage location and set it in the information processing apparatus for each encryption / decryption process, and the encryption work can be performed efficiently.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、プログラムに基づく暗
号化処理によりデータを暗号化する暗号化システム、プ
ログラムに基づく復号化処理により暗号化データを復号
化する復号化システム、更にこれらの機能を有する情報
秘匿処理システムおよび情報秘匿通信システムに関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an encryption system for encrypting data by a program-based encryption process, a decryption system for decrypting encrypted data by a program-based decryption process, and further these functions. The present invention relates to an information security processing system and an information security communication system.

【0002】[0002]

【従来の技術】従来、情報(「データ」とも言う。)内
容を秘匿するための手法として、暗号化鍵を用いて秘匿
したい情報を暗号化する処理が知られている。情報が一
旦暗号化されると、同一の暗号化鍵あるいは特定の復号
化鍵を用いないと人間が解読できる状態に戻すことはで
きないため、そのような暗号化鍵や復号化鍵を有してい
ない他人にとってはその情報の内容を秘密にすることが
できる。
2. Description of the Related Art Conventionally, as a method for concealing the content of information (also referred to as "data"), a process of encrypting information to be concealed using an encryption key is known. Once the information is encrypted, it cannot be returned to a human-readable state without the same encryption key or a specific decryption key. The contents of the information can be kept secret to others who do not.

【0003】しかし、暗号化鍵や復号化鍵(以下、「暗
/復号化鍵」として表す。)が漏洩すれば、たちまち他
人に情報が解読されてしまうことから、この暗/復号化
鍵に対しても、別の暗号化鍵にて暗号化して保管するこ
とにより安全性を高めるファイルセキュリティシステム
が提案されている(特開平6−102822号公報)。
However, if an encryption key or a decryption key (hereinafter, referred to as "encryption / decryption key") leaks, the information will be immediately decrypted by another person. On the other hand, there has been proposed a file security system that enhances safety by encrypting with another encryption key and storing it (JP-A-6-102822).

【0004】[0004]

【発明が解決しようとする課題】しかし、このようなシ
ステムにおいても、次のような問題が存在した。すなわ
ち、情報の暗号化処理あるいは情報解読のための復号化
処理は、一般的には、コンピュータシステムを用いた情
報処理装置にて、暗号化プログラムあるいは復号化プロ
グラム(以下、「暗号化・復号化プログラム」として表
す)によりなされるのが普通である。
However, even in such a system, there are the following problems. That is, the information encryption process or the decryption process for decrypting the information is generally performed by an information processing device that uses a computer system by using an encryption program or a decryption program (hereinafter, “encryption / decryption”). "Represented as a program").

【0005】この暗号化・復号化プログラムにより、情
報が暗号化され、更に安全性を高めるために、その暗/
復号化鍵まで暗号化した場合、一見、その情報自体は極
めて安全であるように考えられる。ところが、この暗号
化・復号化を行う暗号化・復号化プログラム自体は、情
報自体よりも無防備であることが多い。もし、この暗号
化・復号化プログラムのアルゴリズムが第三者により解
析されると、暗号化された情報の解読に利用される恐れ
がある。
Information is encrypted by this encryption / decryption program, and in order to further enhance security,
When the decryption key is encrypted, the information itself seems to be extremely safe at first glance. However, the encryption / decryption program itself that performs this encryption / decryption is often more vulnerable than the information itself. If the algorithm of this encryption / decryption program is analyzed by a third party, it may be used to decrypt the encrypted information.

【0006】また、第三者が、その暗号化・復号化プロ
グラム自体を、正当な使用者に解らないように改竄し、
第三者が知っている暗号化鍵にて暗号化する機能を付加
することにより、その後、暗号化された情報をすべて第
三者が解読してしまう恐れもある。更に、暗号化・復号
化プログラム内に、暗号化する前の平文状態(暗号化さ
れていない状態を言う。)の情報を第三者が管理する領
域にもコピーしてしまう機能を付加する恐れもあった。
Further, a third party falsifies the encryption / decryption program itself so as not to be understood by a legitimate user,
By adding the function of encrypting with the encryption key known to the third party, there is a possibility that the third party may subsequently decrypt all the encrypted information. Furthermore, there is a risk that the encryption / decryption program will have a function to copy the plaintext information (that is, not encrypted) before encryption to an area managed by a third party. There was also.

【0007】勿論、暗号化・復号化プログラムを使用し
ない場合には、暗号化・復号化プログラムを厳重に保管
することも考えられるが、使用毎に、フロッピー等を保
管場所から取り出して、情報処理装置にセットして暗号
化・復号化プログラムをロードする処理を行わなくては
ならず、暗号化・復号化処理が効率的に行うことができ
ない。
Of course, if the encryption / decryption program is not used, it may be possible to store the encryption / decryption program strictly, but each time it is used, a floppy disk or the like is taken out from the storage location to process information. It is necessary to set the device and load the encryption / decryption program, and the encryption / decryption process cannot be performed efficiently.

【0008】本発明は、第三者に改竄されることなく、
かつ暗号化・復号化を効率的に行うことができる暗号化
システム、復号化システム、情報秘匿処理システムおよ
び情報秘匿通信システムを提供することを目的とする。
The present invention, without being tampered with by a third party,
Moreover, it is an object of the present invention to provide an encryption system, a decryption system, an information concealment processing system, and an information concealment communication system that can efficiently perform encryption / decryption.

【0009】[0009]

【課題を解決するための手段】請求項1記載の発明は、
プログラムに基づく暗号化処理によりデータを暗号化す
る暗号化システムにおいて、前記プログラムを、使用者
に対応する第1暗号化鍵により暗号化した状態で記憶す
るプログラム暗号化記憶手段と、前記プログラム暗号化
記憶手段内から、使用者に対応する第1暗号化鍵にて暗
号化された前記プログラムを読み出すプログラム読出手
段と、前記プログラム読出手段により読み出された前記
プログラムを、使用者に対応する復号化鍵により復号化
するプログラム復号化手段と、前記プログラム復号化手
段により復号化されたプログラムを起動させることによ
り、暗号化対象データを第2暗号化鍵にて暗号化させて
暗号化データとするプログラム起動手段と、前記プログ
ラム起動手段にて暗号化対象データの暗号化が完了する
と、復号されて起動対象となった前記プログラムを消去
するプログラム消去手段と、を備えたことを特徴とする
暗号化システムである。
According to the first aspect of the present invention,
In an encryption system for encrypting data by a program-based encryption process, program encryption storage means for storing the program in a state encrypted by a first encryption key corresponding to a user, and the program encryption Program reading means for reading the program encrypted by the first encryption key corresponding to the user from the storage means, and decrypting the program read by the program reading means for the user A program for enciphering data to be enciphered by the second enciphering key into enciphered data by activating a program deciphering means for enciphering with a key and a program deciphered by the program deciphering means When the encryption of the data to be encrypted is completed by the activation means and the program activation means, it is decrypted and started. Program deleting means for deleting the program as the object, an encryption system, comprising the.

【0010】請求項2記載の発明は、更に、前記第2暗
号化鍵を、第3暗号化鍵にて暗号化する鍵暗号化手段
と、前記鍵暗号化手段にて暗号化された前記第2暗号化
鍵を、前記暗号化データに付加する鍵付加手段と、を備
えた請求項1記載の暗号化システムである。
According to a second aspect of the invention, there is further provided a key encryption means for encrypting the second encryption key with a third encryption key and the first encryption means encrypted with the key encryption means. The encryption system according to claim 1, further comprising: a key addition unit that adds a two-encryption key to the encrypted data.

【0011】請求項3記載の発明は、前記鍵付加手段
が、前記プログラムの機能として実現されている請求項
2記載の暗号化システムである。請求項4記載の発明
は、前記プログラムが、第2暗号化鍵を演算にて求める
請求項1〜3のいずれかに記載の暗号化システムであ
る。
The invention according to claim 3 is the encryption system according to claim 2, wherein the key addition means is realized as a function of the program. The invention according to claim 4 is the encryption system according to any one of claims 1 to 3, wherein the program obtains the second encryption key by calculation.

【0012】請求項5記載の発明は、本体装置と、この
本体装置とは別体に構成され前記本体装置に対して信号
的に任意に接続したり切断したりすることが可能な付属
装置とからなり、前記本体装置が、前記プログラム暗号
化記憶手段、前記プログラム読出手段、前記プログラム
起動手段、および前記プログラム消去手段を備え、前記
付属装置が、前記使用者に対応する復号化鍵を記憶する
とともに、前記プログラム復号化手段を備える請求項1
記載の暗号化システムである。
According to a fifth aspect of the present invention, there is provided a main body device and an accessory device which is formed separately from the main body device and which can be arbitrarily connected to or disconnected from the main body device in a signal manner. The main body device includes the program encryption storage means, the program reading means, the program starting means, and the program erasing means, and the auxiliary device stores a decryption key corresponding to the user. Along with, the program decoding means is provided.
It is the described encryption system.

【0013】請求項6記載の発明は、本体装置と、この
本体装置とは別体に構成され前記本体装置に対して信号
的に任意に接続したり切断したりすることが可能な付属
装置とからなり、前記本体装置が、前記プログラム暗号
化記憶手段、前記プログラム読出手段、前記プログラム
復号化手段、前記プログラム起動手段、および前記プロ
グラム消去手段を備え、前記付属装置が、前記第3暗号
化鍵を記憶するとともに、前記鍵暗号化手段を備える請
求項3記載の暗号化システムである。
According to a sixth aspect of the present invention, there is provided a main body device and an accessory device which is formed separately from the main body device and which can be arbitrarily connected to or disconnected from the main body device in a signal manner. The main device comprises the program encryption storage device, the program reading device, the program decrypting device, the program starting device, and the program erasing device, and the auxiliary device comprises the third encryption key. The encryption system according to claim 3, further comprising:

【0014】請求項7記載の発明は、本体装置と、この
本体装置とは別体に構成され前記本体装置に対して信号
的に任意に接続したり切断したりすることが可能な付属
装置とからなり、前記本体装置が、前記プログラム暗号
化記憶手段、前記プログラム読出手段、前記プログラム
起動手段、および前記プログラム消去手段を備え、前記
付属装置が、前記使用者に対応する復号化鍵および前記
第3暗号化鍵を記憶するとともに、前記プログラム復号
化手段および前記鍵暗号化手段を備える請求項3記載の
暗号化システムである。
According to a seventh aspect of the present invention, there is provided a main body device and an auxiliary device which is formed separately from the main body device and which can be arbitrarily connected or disconnected in signal with respect to the main body device. The main body device comprises the program encryption storage means, the program reading means, the program starting means, and the program erasing means, and the auxiliary device comprises a decryption key corresponding to the user and the first program. 4. The encryption system according to claim 3, wherein the encryption system stores three encryption keys, and further comprises the program decryption means and the key encryption means.

【0015】請求項8記載の発明は、前記付属装置が、
前記第3暗号化鍵を、復号化を許可する者の管理コード
と対応したリストとして記憶する請求項6または7記載
の暗号化システムである。請求項9記載の発明は、前記
付属装置が、前記復号化鍵または前記第3暗号化鍵を直
接記憶せず、前記復号化鍵または前記第3暗号化鍵が必
要とされた場合に、対応する管理コードを用いた演算に
て、前記復号化鍵または前記第3暗号化鍵を生成する請
求項5〜7のいずれかに記載の暗号化システムである。
In the invention according to claim 8, the accessory device is
8. The encryption system according to claim 6, wherein the third encryption key is stored as a list corresponding to a management code of a person who permits decryption. The invention according to claim 9 corresponds to a case where the auxiliary device does not directly store the decryption key or the third encryption key and the decryption key or the third encryption key is required. The encryption system according to any one of claims 5 to 7, wherein the decryption key or the third encryption key is generated by an operation using a management code.

【0016】請求項10記載の発明は、前記プログラム
が、所定時間以内に使用者により次の入力操作が行われ
ない場合に、自己の処理を中止して、前記プログラム消
去手段の処理を実行させる機能を有する請求項1〜9記
載の暗号化システムである。
According to a tenth aspect of the present invention, when the program does not carry out the next input operation by the user within a predetermined time, the program terminates its own processing and causes the program erasing means to execute the processing. It is an encryption system of Claims 1-9 which has a function.

【0017】請求項11記載の発明は、プログラムに基
づく復号化処理により暗号化データを復号化する復号化
システムにおいて、前記プログラムを、使用者に対応す
る第1暗号化鍵により暗号化した状態で記憶するプログ
ラム暗号化記憶手段と、前記プログラム暗号化記憶手段
内から、使用者に対応する第1暗号化鍵にて暗号化され
た前記プログラムを読み出すプログラム読出手段と、前
記プログラム読出手段により読み出された前記プログラ
ムを、使用者に対応する復号化鍵により復号化するプロ
グラム復号化手段と、前記プログラム復号化手段により
復号化された前記プログラムを起動させることにより、
暗号化データを第2復号化鍵にて復号化させて復号化デ
ータとするプログラム起動手段と、前記プログラム起動
手段にて暗号化データの復号化が完了すると、復号化さ
れて起動対象となった前記プログラムを消去するプログ
ラム消去手段と、を備えたことを特徴とする復号化シス
テムである。
According to an eleventh aspect of the present invention, in a decryption system for decrypting encrypted data by a decryption process based on a program, the program is encrypted with a first encryption key corresponding to a user. Program encryption storage means for storing, program read means for reading the program encrypted from the program encryption storage means with a first encryption key corresponding to the user, and read by the program read means By activating the program decrypted by the decryption key corresponding to the user, and the program decrypted by the program decryption means,
Program activation means for decrypting the encrypted data with the second decryption key to obtain decrypted data, and when the decryption of the encrypted data by the program activation means is completed, it is decrypted and becomes the activation target. And a program erasing means for erasing the program.

【0018】請求項12記載の発明は、更に、前記暗号
化データに含まれる暗号化された第2復号化鍵を、使用
者に対応する復号化鍵にて復号化する鍵復号化手段を備
えた請求項11記載の復号化システムである。
The invention according to claim 12 further comprises key decryption means for decrypting the encrypted second decryption key contained in the encrypted data with the decryption key corresponding to the user. The decoding system according to claim 11.

【0019】請求項13記載の発明は、本体装置と、こ
の本体装置とは別体に構成され前記本体装置に対して信
号的に任意に接続したり切断したりすることが可能な付
属装置とからなり、前記本体装置が、前記プログラム暗
号化記憶手段、前記プログラム読出手段、前記プログラ
ム起動手段、および前記プログラム消去手段を備え、前
記付属装置が、前記使用者に対応する復号化鍵を記憶す
るとともに、前記プログラム復号化手段を備える請求項
11記載の復号化システムである。
According to a thirteenth aspect of the present invention, there is provided a main body device and an accessory device which is formed separately from the main body device and which can be arbitrarily connected to or disconnected from the main body device in a signal manner. The main body device includes the program encryption storage means, the program reading means, the program starting means, and the program erasing means, and the auxiliary device stores a decryption key corresponding to the user. The decoding system according to claim 11, further comprising the program decoding means.

【0020】請求項14記載の発明は、本体装置と、こ
の本体装置とは別体に構成され前記本体装置に対して信
号的に任意に接続したり切断したりすることが可能な付
属装置とからなり、前記本体装置が、前記プログラム暗
号化記憶手段、前記プログラム読出手段、前記プログラ
ム復号化手段、前記プログラム起動手段、および前記プ
ログラム消去手段を備え、前記付属装置が、前記使用者
に対応する復号化鍵を記憶するとともに、前記鍵復号化
手段を備える請求項12記載の復号化システムである。
According to a fourteenth aspect of the present invention, there is provided a main body device and an auxiliary device which is formed separately from the main body device and which can be arbitrarily connected to or disconnected from the main body device in a signal manner. And the main device includes the program encryption storage device, the program reading device, the program decrypting device, the program starting device, and the program erasing device, and the auxiliary device corresponds to the user. 13. The decryption system according to claim 12, wherein the decryption key is stored and the key decryption means is provided.

【0021】請求項15記載の発明は、本体装置と、こ
の本体装置とは別体に構成され前記本体装置に対して信
号的に任意に接続したり切断したりすることが可能な付
属装置とからなり、前記本体装置が、前記プログラム暗
号化記憶手段、前記プログラム読出手段、前記プログラ
ム起動手段、および前記プログラム消去手段を備え、前
記付属装置が、前記使用者に対応する復号化鍵を記憶す
るとともに、前記プログラム復号化手段および前記鍵復
号化手段を備える請求項12記載の復号化システムであ
る。
According to a fifteenth aspect of the present invention, there is provided a main body device and an accessory device which is formed separately from the main body device and which can be arbitrarily connected to or disconnected from the main body device in a signal manner. The main body device includes the program encryption storage means, the program reading means, the program starting means, and the program erasing means, and the auxiliary device stores a decryption key corresponding to the user. The decryption system according to claim 12, further comprising the program decryption means and the key decryption means.

【0022】請求項16記載の発明は、前記付属装置
が、前記復号化鍵を直接記憶せず、前記復号化鍵が必要
とされた場合に、対応する管理コードを用いた演算に
て、前記復号化鍵を生成する請求項13〜15のいずれ
かに記載の復号化システムである。
According to a sixteenth aspect of the present invention, the auxiliary device does not directly store the decryption key, and when the decryption key is required, the auxiliary device calculates by using the corresponding management code. The decryption system according to any one of claims 13 to 15, which generates a decryption key.

【0023】請求項17記載の発明は、前記プログラム
が、所定時間以内に使用者により次の入力操作が行われ
ない場合に、自己の処理を中止して、前記プログラム消
去手段の処理を実行させる機能を有する請求項11〜1
6記載の復号化システムである。
In a seventeenth aspect of the present invention, the program stops its own processing and causes the program erasing means to execute the processing when the user does not perform the next input operation within a predetermined time. Claims 11 to 1 having a function
6 is a decoding system described in 6.

【0024】請求項18記載の発明は、請求項1〜10
のいずれか記載の暗号化システムと請求項11〜17記
載の復号化システムとが組合わされてなる情報秘匿処理
システムである。請求項19記載の発明は、前記暗号化
データを通信回線を介して相手方に送信する送信手段を
備える請求項1〜10のいずれか記載の暗号化システム
である。
The invention according to claim 18 is the invention according to claims 1 to 10.
An information confidential processing system in which the encryption system according to any one of claims 1 to 13 and the decryption system according to claims 11 to 17 are combined. The invention according to claim 19 is the encryption system according to any one of claims 1 to 10, further comprising a transmitting means for transmitting the encrypted data to the other party via a communication line.

【0025】請求項20記載の発明は、前記暗号化デー
タを通信回線を介して受信する受信手段を備える請求項
11〜17のいずれか記載の復号化システムである。請
求項21記載の発明は、請求項19記載の暗号化システ
ムと請求項20記載の復号化システムとが組合わされて
なる情報秘匿通信システムである。
The twentieth aspect of the present invention is the decryption system according to any one of the eleventh to seventeenth aspects, further comprising receiving means for receiving the encrypted data via a communication line. The invention according to claim 21 is an information confidential communication system in which the encryption system according to claim 19 and the decryption system according to claim 20 are combined.

【0026】[0026]

【作用及び発明の効果】請求項1の暗号化システムは、
プログラム暗号化記憶手段、プログラム読出手段、プロ
グラム復号化手段、プログラム起動手段およびプログラ
ム消去手段を備え、プログラム暗号化記憶手段は、暗号
化処理用のプログラムを、使用者に対応する第1暗号化
鍵により暗号化した状態で記憶する。プログラム読出手
段は、前記プログラム暗号化記憶手段内から、使用者に
対応する第1暗号化鍵にて暗号化された前記プログラム
を読み出す。プログラム復号化手段は、前記プログラム
読出手段により読み出された前記プログラムを、使用者
に対応する復号化鍵により復号化する。プログラム起動
手段は、前記プログラム復号化手段により復号化された
プログラムを起動させることにより、暗号化対象データ
を第2暗号化鍵にて暗号化させて暗号化データとする。
プログラム消去手段は、前記プログラム起動手段にて暗
号化対象データの暗号化が完了すると、復号されて起動
対象となった前記プログラムを消去する。
The operation and effect of the invention are as follows.
A program encryption storage means, a program reading means, a program decryption means, a program starting means, and a program erasing means are provided, and the program encryption storage means stores a program for encryption processing in a first encryption key corresponding to a user. It is stored in an encrypted state by. The program reading means reads the program encrypted with the first encryption key corresponding to the user from the program encryption storage means. The program decrypting means decrypts the program read by the program reading means with a decryption key corresponding to a user. The program activation means activates the program decrypted by the program decryption means to encrypt the data to be encrypted with the second encryption key to obtain encrypted data.
When the program activating means completes the encryption of the data to be encrypted, the program erasing means erases the program that has been decrypted and is to be activated.

【0027】このように、本発明の暗号化システムにて
起動する暗号化処理用のプログラムは、暗号化処理に用
いられていない場合には、プログラム暗号化記憶手段に
より暗号化された状態で記憶されている。したがって、
暗号化されたままでは、第三者により、解析されること
はなく、また解析できないので改竄もできない。また、
復号化鍵は使用者が所持することにより、第三者にプロ
グラム復号化手段が判明しても暗号化処理用のプログラ
ムを復号化することはできない。
As described above, the program for encryption processing activated by the encryption system of the present invention is stored in the encrypted state by the program encryption storage means when it is not used for the encryption processing. Has been done. Therefore,
If it remains encrypted, it cannot be parsed by a third party and cannot be tampered with because it cannot be parsed. Also,
Since the user possesses the decryption key, the program for encryption cannot be decrypted even if the program decryption means is known to a third party.

【0028】正当な使用者がデータを暗号化する場合に
は、プログラム読出手段が、プログラム暗号化記憶手段
内から、使用者に対応する第1暗号化鍵にて暗号化され
た前記プログラムを読み出し、プログラム復号化手段
が、そのプログラムを、使用者に対応する復号化鍵によ
り復号化し、プログラム起動手段が、その復号化された
プログラムを起動させる。この起動された前記プログラ
ムの機能により、暗号化対象データが第2暗号化鍵にて
暗号化されて暗号化データとなる。
When the authorized user encrypts the data, the program reading means reads the program encrypted by the first encryption key corresponding to the user from the program encryption storage means. The program decryption means decrypts the program with the decryption key corresponding to the user, and the program activation means activates the decrypted program. By the function of the program that has been started, the data to be encrypted is encrypted with the second encryption key and becomes encrypted data.

【0029】しかも、データの暗号化が完了した後は、
プログラム消去手段が、その起動された平文状態のプロ
グラムを消去する。このため、暗号化処理をした後も、
平文状態の暗号化用のプログラムが残っていることがな
く、暗号化用のプログラムの安全性が確保され、結果と
して、暗号化されたデータの安全性も確保される。した
がって、暗号化処理毎に、暗号化処理用のプログラムを
記憶している記憶媒体を保管場所から取り出してコンピ
ュータにセットしてロードする作業をしなくても良く、
効率的に暗号化作業ができる。
Moreover, after the data encryption is completed,
The program erasing means erases the activated plaintext program. Therefore, even after encryption processing,
The plaintext encryption program does not remain, the security of the encryption program is secured, and as a result, the security of the encrypted data is also secured. Therefore, it is not necessary to take out the storage medium storing the encryption processing program from the storage location, set it in the computer, and load it for each encryption processing.
Efficient encryption work can be performed.

【0030】上記構成に更に、鍵暗号化手段および鍵付
加手段を加えても良い。この鍵暗号化手段は、前記第2
暗号化鍵を、第3暗号化鍵にて暗号化する。そして、鍵
付加手段は、前記鍵暗号化手段にて暗号化された前記第
2暗号化鍵を、前記暗号化データに付加する。
In addition to the above construction, a key encryption means and a key addition means may be added. This key encryption means is the second
The encryption key is encrypted with the third encryption key. Then, the key addition means adds the second encryption key encrypted by the key encryption means to the encrypted data.

【0031】このように、データを暗号化するための第
2暗号化鍵を、更に第3暗号化鍵にて暗号化しているの
で、鍵付加手段にて、暗号化データに第2暗号化鍵を付
加しておいても安全は確保できる。また、暗号化データ
に第2暗号化鍵が付加されるので、その記憶媒体のまま
持ち運んだり、あるいはその暗号化データを通信により
相手方に送信しても、持ち運び先あるいは通信相手先に
て、第3暗号化鍵さえ保管されていれば、暗号化データ
を復号化することができる。すなわち、暗号化データに
付加されている暗号化された第2暗号化鍵を第3暗号化
鍵にて復号化し、次に復号化された第2暗号化鍵にて、
暗号化データを復号化することができる。尚、鍵付加手
段は、前記暗号化用のプログラムの機能として実現され
ていても良い。
As described above, since the second encryption key for encrypting the data is further encrypted by the third encryption key, the key addition means adds the second encryption key to the encrypted data. The safety can be secured by adding. In addition, since the second encryption key is added to the encrypted data, even if the storage medium is carried as it is or the encrypted data is transmitted to the other party by communication, 3 If only the encryption key is stored, the encrypted data can be decrypted. That is, the encrypted second encryption key added to the encrypted data is decrypted by the third encryption key, and then by the decrypted second encryption key,
The encrypted data can be decrypted. The key addition means may be realized as a function of the encryption program.

【0032】更に、この場合、第2暗号化鍵が、前記暗
号化用のプログラムにより演算にて求められたものであ
っても良い。このように演算にて求められる暗号化鍵は
一時的な鍵であり、継続して使用されるものではないの
で、よりデータの安全性が確保される。また、この一時
的な鍵も、上記暗号化用のプログラムにて演算されてい
ることから、暗号化処理時以外は、その第2暗号化鍵を
生成するプログラムは暗号化されたもののみが存在して
いるので、第三者が知っている鍵を生成するように改竄
することはできない。
Further, in this case, the second encryption key may be obtained by calculation by the encryption program. Since the encryption key calculated in this way is a temporary key and is not continuously used, the data security is further ensured. Also, since this temporary key is also calculated by the encryption program, only the encrypted program exists for generating the second encryption key except during the encryption process. As such, it cannot be tampered with to generate a key known to a third party.

【0033】また、本暗号化システムは、本体装置と、
この本体装置とは別体に構成され前記本体装置に対して
信号的に任意に接続したり切断したりすることが可能な
付属装置とに別れて構成されていても良い。例えば、本
体装置を、コンピュータ装置とし、付属装置を、ICカ
ードとする構成が挙げられる。
Further, the present encryption system comprises a main unit,
It may be configured separately from the main body device and an auxiliary device that can be arbitrarily connected to or disconnected from the main body device in a signal manner. For example, the main device may be a computer device and the auxiliary device may be an IC card.

【0034】この場合、本体装置が、前記プログラム暗
号化記憶手段、前記プログラム読出手段、前記プログラ
ム起動手段、および前記プログラム消去手段を備え、付
属装置が、前記使用者に対応する復号化鍵を記憶すると
ともに、前記プログラム復号化手段を備える構成として
も良い。
In this case, the main body device includes the program encryption storage means, the program reading means, the program starting means, and the program erasing means, and the auxiliary device stores the decryption key corresponding to the user. In addition, the program decoding means may be provided.

【0035】このように構成すると、暗号化処理をしな
い場合には、本体装置から付属装置を切り離して、安全
な保管場所に収納しておくことができる。付属装置側に
は、使用者に対応する復号化鍵とプログラム復号化手段
とが存在するため、その復号化鍵およびプログラム復号
化手段のプログラムの安全性が共に確保され、データの
安全性が一層確保される。
With this configuration, when the encryption process is not performed, the auxiliary device can be separated from the main device and stored in a safe storage place. Since the auxiliary device has a decryption key and a program decryption unit corresponding to the user, the decryption key and the program of the program decryption unit are both secured, and the data safety is further improved. Secured.

【0036】また、同様に、本体装置と付属装置とに別
々に構成された場合に、本体装置が、前記プログラム暗
号化記憶手段、前記プログラム読出手段、前記プログラ
ム復号化手段、前記プログラム起動手段、および前記プ
ログラム消去手段を備え、付属装置が、前記第3暗号化
鍵を記憶するとともに、前記鍵暗号化手段を備える構成
としても良い。
Similarly, when the main body device and the auxiliary device are separately configured, the main body device has the program encryption storage means, the program reading means, the program decryption means, the program starting means, The auxiliary device may be configured to include the program erasing unit, the auxiliary device storing the third encryption key, and the key encryption unit.

【0037】このように構成すると、付属装置側には、
第3暗号化鍵と鍵暗号化手段とが存在するため、その第
3暗号化鍵および鍵暗号化手段のプログラムの安全性が
共に確保され、データの安全性が一層確保される。ま
た、本体装置と付属装置とに別々に構成された場合に、
上記両者を加味した構成、すなわち、本体装置が、前記
プログラム暗号化記憶手段、前記プログラム読出手段、
前記プログラム起動手段、および前記プログラム消去手
段を備え、付属装置が、前記使用者に対応する復号化鍵
および前記第3暗号化鍵を記憶するとともに、前記プロ
グラム復号化手段および前記鍵暗号化手段を備える構成
としても良い。
With this configuration, the accessory device side has
Since the third encryption key and the key encryption means are present, the security of both the third encryption key and the program of the key encryption means is ensured, and the security of the data is further ensured. Also, when configured separately for the main device and the auxiliary device,
A configuration in which both of the above are taken into consideration, that is, the main body device is configured such that
The auxiliary device stores the decryption key and the third encryption key corresponding to the user and includes the program decryption unit and the key encryption unit. The configuration may be provided.

【0038】このように構成すると、付属装置側には、
使用者に対応する復号化鍵、第3暗号化鍵、プログラム
復号化手段および鍵暗号化手段とが存在するため、その
使用者に対応する復号化鍵、第3暗号化鍵、プログラム
復号化手段のプログラムおよび鍵暗号化手段のプログラ
ムの安全性がすべて確保され、データの安全性が一層確
保される。
With this configuration, the accessory device side has
Since there is a decryption key corresponding to the user, a third encryption key, a program decryption means, and a key encryption means, the decryption key corresponding to the user, the third encryption key, and the program decryption means. The security of all programs and the program of the key encryption means are secured, and the safety of data is further secured.

【0039】また、前記付属装置が、第3暗号化鍵を、
復号化を許可する者の管理コードと対応したリストとし
て記憶していても良い。このように構成されていると、
管理コード、例えばIDにて復号化を許可する者を指定
すれば、付属装置の鍵暗号化手段がそのIDに対応した
第3暗号化鍵にて第2暗号化鍵を暗号化することができ
る。
Further, the attached device sends the third encryption key,
It may be stored as a list corresponding to the management code of the person who permits the decryption. With this configuration,
If a person who permits the decryption is designated by the management code, for example, the ID, the key encryption means of the attached device can encrypt the second encryption key by the third encryption key corresponding to the ID. .

【0040】また、前記付属装置が、復号化鍵または第
3暗号化鍵を直接記憶せず、復号化鍵または第3暗号化
鍵が必要とされた場合に、対応する管理コードを用いた
演算にて、復号化鍵または第3暗号化鍵を生成するもの
としても良い。特に、第3暗号化鍵が多数記憶しなくて
はならない場合に、演算式のみで良いのでメモリの節約
となる。
Further, when the auxiliary device does not directly store the decryption key or the third encryption key and the decryption key or the third encryption key is required, the operation using the corresponding management code is performed. Alternatively, the decryption key or the third encryption key may be generated. In particular, when a large number of third encryption keys must be stored, only an arithmetic expression is needed, which saves memory.

【0041】また前記プログラムが、所定時間以内に使
用者により次の入力操作が行われない場合に、自己の処
理を中止して、前記プログラム消去手段の処理を実行さ
せる機能を有するものとしても良い。このようにすれ
ば、正当な使用者がシステム装置から一旦離れたとして
も、しばらくすると平文状態のプログラム自体が消え去
るので第三者に解析されたり改竄されたりすることがな
い。
Further, the program may have a function of stopping its own process and executing the process of the program erasing means when the user does not perform the next input operation within a predetermined time. . In this way, even if the legitimate user once leaves the system unit, the plaintext program itself disappears after a while, so that it will not be analyzed or tampered with by a third party.

【0042】請求項11の復号化システムは、プログラ
ム暗号化記憶手段、プログラム読出手段、プログラム復
号化手段、プログラム起動手段およびプログラム消去手
段とを備え、プログラム暗号化記憶手段は、前記プログ
ラムを、使用者に対応する第1暗号化鍵により暗号化し
た状態で記憶し、プログラム読出手段は、前記プログラ
ム暗号化記憶手段内から、使用者に対応する第1暗号化
鍵にて暗号化された前記プログラムを読み出し、プログ
ラム復号化手段は、前記プログラム読出手段により読み
出された前記プログラムを、使用者に対応する復号化鍵
により復号化し、プログラム起動手段は、前記プログラ
ム復号化手段により復号化された前記プログラムを起動
させることにより、暗号化データを第2復号化鍵にて復
号化させて復号化データとし、プログラム消去手段は、
前記プログラム起動手段にて暗号化データの復号化が完
了すると、復号化されて起動対象となった前記プログラ
ムを消去する。
A decryption system according to claim 11 comprises a program encryption storage means, a program reading means, a program decryption means, a program starting means and a program erasing means, and the program encryption storage means uses the program. The program is stored in an encrypted state by a first encryption key corresponding to a user, and the program reading means stores the program encrypted from the program encryption storage means with a first encryption key corresponding to a user. And the program decrypting means decrypts the program read by the program reading means with a decryption key corresponding to a user, and the program starting means decrypts the program by the program decrypting means. By starting the program, the encrypted data can be decrypted with the second decryption key. And over data, program erasing means,
When the decryption of the encrypted data is completed by the program activation means, the decrypted program to be activated is erased.

【0043】このように、本発明の復号化システムにて
起動する復号化処理用のプログラムは、復号化処理に用
いられていない場合には、プログラム暗号化記憶手段に
より暗号化された状態で記憶されている。したがって、
暗号化されたままでは、第三者により、解析されること
はなく、また解析できないので改竄もできない。また、
復号化鍵は使用者が所持することにより、第三者にプロ
グラム復号化手段が判明しても復号化処理用のプログラ
ムを復号化することはできない。
As described above, the program for the decryption process activated by the decryption system of the present invention is stored in the encrypted state by the program encryption storage means when it is not used for the decryption process. Has been done. Therefore,
If it remains encrypted, it cannot be parsed by a third party and cannot be tampered with because it cannot be parsed. Also,
Since the user possesses the decryption key, the program for decryption cannot be decrypted even if the program decryption means is known to a third party.

【0044】正当な使用者が暗号化データを復号化する
場合には、プログラム読出手段が、プログラム暗号化記
憶手段内から、使用者に対応する第1暗号化鍵にて暗号
化された前記プログラムを読み出し、プログラム復号化
手段が、そのプログラムを、使用者に対応する復号化鍵
により復号化し、プログラム起動手段が、その復号化さ
れたプログラムを起動させる。この起動された前記プロ
グラムの機能により、暗号化データを第2復号化鍵にて
復号化させて復号化データ、すなわち平文データとする
ことができる。
When a legitimate user decrypts the encrypted data, the program reading means uses the program encrypted from the program encryption storage means with the first encryption key corresponding to the user. Is read, the program decryption means decrypts the program with the decryption key corresponding to the user, and the program activation means activates the decrypted program. By the function of the activated program, the encrypted data can be decrypted with the second decryption key to be decrypted data, that is, plaintext data.

【0045】しかも、暗号化データの復号化が完了した
後は、プログラム消去手段が、その起動された平文状態
のプログラムを消去する。このため、復号化処理をした
後も、平文状態の復号化用のプログラムが残っているこ
ともなく、復号化用のプログラムの安全性が確保され、
結果として、データの安全性も確保される。したがっ
て、復号化処理毎に、復号化処理用のプログラムを記憶
している記憶媒体を保管場所から取り出してコンピュー
タにセットしてロードする作業をしなくても良く、効率
的に復号化作業ができる。
Moreover, after the decryption of the encrypted data is completed, the program erasing means erases the activated program in the plaintext state. Therefore, even after the decryption process, there is no program for decryption in the plaintext state, and the safety of the decryption program is secured.
As a result, the safety of the data is ensured. Therefore, it is not necessary to take out the storage medium storing the program for the decryption processing from the storage location, set it in the computer and load it for each decryption processing, and the decryption operation can be performed efficiently. .

【0046】上記構成に更に、鍵復号化手段をを加えて
も良い。この鍵復号化手段は、暗号化データに含まれる
暗号化された第2復号化鍵を、使用者に対応する復号化
鍵にて復号化する。このようにすることにより、暗号化
データを復号化するための第2復号化鍵が得られ、正当
な使用者のみが適切に暗号化データを復号化して平文デ
ータを得ることができる。
A key decryption means may be added to the above configuration. The key decryption means decrypts the encrypted second decryption key included in the encrypted data with the decryption key corresponding to the user. By doing so, the second decryption key for decrypting the encrypted data can be obtained, and only the authorized user can appropriately decrypt the encrypted data to obtain the plaintext data.

【0047】また、本復号化システムは、本体装置と、
この本体装置とは別体に構成され前記本体装置に対して
信号的に任意に接続したり切断したりすることが可能な
付属装置とに別れて構成されていても良い。例えば、本
体装置を、コンピュータ装置とし、付属装置を、ICカ
ードとする構成が挙げられる。
The decoding system includes a main unit,
It may be configured separately from the main body device and an auxiliary device that can be arbitrarily connected to or disconnected from the main body device in a signal manner. For example, the main device may be a computer device and the auxiliary device may be an IC card.

【0048】この場合、本体装置が、前記プログラム暗
号化記憶手段、前記プログラム読出手段、前記プログラ
ム起動手段、および前記プログラム消去手段を備え、付
属装置が、前記使用者に対応する復号化鍵を記憶すると
ともに、前記プログラム復号化手段を備える構成として
も良い。
In this case, the main body device includes the program encryption storage means, the program reading means, the program starting means, and the program erasing means, and the auxiliary device stores the decryption key corresponding to the user. In addition, the program decoding means may be provided.

【0049】このように構成すると、復号化処理をしな
い場合には、本体装置から付属装置を切り離して、安全
な保管場所に収納しておくことができる。付属装置側に
は、使用者に対応する復号化鍵とプログラム復号化手段
とが存在するため、その復号化鍵およびプログラム復号
化手段のプログラムの安全性が共に確保され、データの
安全性が一層確保される。
With this configuration, when the decryption process is not performed, the auxiliary device can be separated from the main device and stored in a safe storage place. Since the auxiliary device has a decryption key and a program decryption unit corresponding to the user, the decryption key and the program of the program decryption unit are both secured, and the data safety is further improved. Secured.

【0050】また、同様に、本体装置と付属装置とに別
々に構成された場合に、本体装置が、前記プログラム暗
号化記憶手段、前記プログラム読出手段、前記プログラ
ム復号化手段、前記プログラム起動手段、および前記プ
ログラム消去手段を備え、付属装置が、使用者に対応す
る復号化鍵を記憶するとともに、前記鍵復号化手段を備
える構成としても良い。
Similarly, when the main body device and the auxiliary device are separately configured, the main body device has the program encryption storage means, the program reading means, the program decryption means, the program starting means, Also, the program deleting means may be provided, and the auxiliary device may store the decryption key corresponding to the user and the key decrypting means.

【0051】このように構成すると、付属装置側には、
使用者に対応する復号化鍵と鍵復号化手段とが存在する
ため、その復号化鍵および鍵復号化手段のプログラムの
安全性が共に確保され、データの安全性が一層確保され
る。また、本体装置と付属装置とに別々に構成された場
合に、上記両者を加味した構成、すなわち、本体装置
が、前記プログラム暗号化記憶手段、前記プログラム読
出手段、前記プログラム起動手段、および前記プログラ
ム消去手段を備え、付属装置が、前記使用者に対応する
復号化鍵を記憶するとともに、前記プログラム復号化手
段および前記鍵復号化手段を備える構成としても良い。
With this configuration, the accessory device side has
Since the decryption key and the key decryption means corresponding to the user exist, both the decryption key and the program of the key decryption means are secured, and the safety of the data is further secured. Further, in the case where the main body device and the auxiliary device are separately configured, a configuration in which the both are added, that is, the main body device includes the program encryption storage means, the program reading means, the program starting means, and the program. A configuration may be adopted in which the deletion device is provided, the auxiliary device stores the decryption key corresponding to the user, and the program decryption unit and the key decryption unit are provided.

【0052】このように構成すると、付属装置側には、
使用者に対応する復号化鍵、プログラム復号化手段およ
び鍵復号化手段とが存在するため、その使用者に対応す
る復号化鍵、プログラム復号化手段のプログラムおよび
鍵復号化手段のプログラムの安全性がすべて確保され、
データの安全性が一層確保される。
With this configuration, the accessory device side has
Since there is a decryption key corresponding to the user, a program decryption means, and a key decryption means, the security of the decryption key corresponding to the user, the program of the program decryption means, and the program of the key decryption means Are all secured,
The safety of data is further secured.

【0053】また、前記付属装置が、復号化鍵を直接記
憶せず、復号化鍵が必要とされた場合に、対応する管理
コードを用いた演算にて、復号化鍵を生成するものとし
ても良い。また前記プログラムが、所定時間以内に使用
者により次の入力操作が行われない場合に、自己の処理
を中止して、前記プログラム消去手段の処理を実行させ
る機能を有するものとしても良い。このようにすれば、
正当な使用者がシステム装置から一旦離れたとしても、
しばらくすると平文状態のプログラム自体が消え去るの
で第三者に解析されたり改竄されたりすることがない。
Further, the auxiliary device may not directly store the decryption key and, when the decryption key is required, generate the decryption key by an operation using the corresponding management code. good. Further, the program may have a function of stopping its own processing and executing the processing of the program erasing means when the user does not perform the next input operation within a predetermined time. If you do this,
Even if a legitimate user leaves the system unit,
After a while, the plaintext program itself disappears, so it will not be analyzed or tampered with by a third party.

【0054】また、上述したいずれかの構成の暗号化シ
ステムと上述したいずれかの復号化システムとを組合わ
せて、情報秘匿処理システムとして構成しても良い。こ
のことにより、一つの情報秘匿処理システムにて、暗号
化システムと復号化システムとの両方の機能を有するこ
とができ、使用者の処理が効率的となるとともに、プロ
グラムやデータの安全性も確保される。
Further, the encryption system having any one of the configurations described above and any one of the decryption systems described above may be combined to form an information confidentiality processing system. As a result, one information confidential processing system can have both the functions of the encryption system and the decryption system, which makes the processing of the user efficient and ensures the safety of the program and data. To be done.

【0055】尚、上述した暗号化システムにおいて、暗
号化データを通信回線を介して相手方に送信する送信手
段を備えて、例えば暗号化機能を有するファクシミリ装
置等のデータ通信システムとして構成することができ
る。また、上述した復号化システムにおいても同様に、
暗号化データを通信回線を介して受信する受信手段を備
えて、例えば暗号化データの解読機能を有するファクシ
ミリ装置等のデータ通信システムとして構成することが
できる。
The above-described encryption system can be configured as a data communication system such as a facsimile machine having an encryption function by including a transmitting means for transmitting the encrypted data to the other party via the communication line. . Also, in the decoding system described above,
A data communication system such as a facsimile machine having a decryption function for encrypted data can be configured by including a receiving unit that receives encrypted data via a communication line.

【0056】勿論、上述の送信手段を有する暗号化シス
テムと上述の受信手段を有する復号化システムとを組合
わせ、暗号化機能および暗号化データ解読機能を有する
ファクシミリ装置等の情報秘匿通信システムとして構成
することができる。
Of course, the encryption system having the above-mentioned transmission means and the decryption system having the above-mentioned reception means are combined to constitute an information confidential communication system such as a facsimile machine having an encryption function and an encrypted data decryption function. can do.

【0057】[0057]

【実施例】図1および図2は、本発明の情報秘匿処理シ
ステムの一実施例を示している。この内、図1は、情報
処理装置2のブロック図を示す。情報処理装置2は、C
PU4、ROM6、RAM8、バックアップRAM1
0、キーボード12、光磁気ディスク(MOD)ドライ
ブ14、CRTディスプレイ16、ハードディスク(H
D)装置18、フロッピーディスク(FD)ドライブ2
0および入出力インターフェイス(I/O)22を備え
ている。これらの構成はバス24にて信号的に接続さ
れ、更にI/O22にはICカードリーダー26が接続
されている。
1 and 2 show an embodiment of an information confidentiality processing system of the present invention. Among these, FIG. 1 shows a block diagram of the information processing apparatus 2. The information processing device 2 is C
PU4, ROM6, RAM8, backup RAM1
0, keyboard 12, magneto-optical disk (MOD) drive 14, CRT display 16, hard disk (H
D) Device 18, floppy disk (FD) drive 2
0 and an input / output interface (I / O) 22. These components are signal-connected by a bus 24, and an IC card reader 26 is connected to the I / O 22.

【0058】このように、情報処理装置2はコンピュー
タとして構成され、ROM6、光磁気ディスクドライブ
14に挿入された光磁気ディスク、ハードディスク装置
18、フロッピーディスクドライブ20に挿入されたフ
ロッピーディスクあるいはICカードリーダー26に挿
入されたICカード30(図2)から読み込まれたプロ
グラムやデータに基づいて、必要な処理を実行し、結果
として得られたデータを、光磁気ディスクドライブ14
に挿入された光磁気ディスク、ハードディスク装置1
8、フロッピーディスクドライブ20に挿入されたフロ
ッピーディスクあるいはICカードリーダー26に挿入
されたICカード30に記憶する。情報処理装置2は、
これ以外にCD−ROMドライブ装置や磁気テープ記憶
装置等を備えても良い。
As described above, the information processing device 2 is configured as a computer, and the ROM 6, the magneto-optical disk inserted in the magneto-optical disk drive 14, the hard disk device 18, the floppy disk inserted in the floppy disk drive 20, or the IC card reader. Necessary processing is executed based on the program and data read from the IC card 30 (FIG. 2) inserted in the disk 26, and the resulting data is stored in the magneto-optical disk drive 14
Magneto-optical disk, hard disk drive 1 inserted in
8. The data is stored in the floppy disk inserted in the floppy disk drive 20 or the IC card 30 inserted in the IC card reader 26. The information processing device 2
Other than this, a CD-ROM drive device, a magnetic tape storage device, or the like may be provided.

【0059】図2にICカード30のブロック図を示
す。ICカード30は、CPU32、ROM34、RA
M36、バックアップRAM38および入出力インター
フェイス(I/O)40を備えている。これらの構成は
バス42にて信号的に接続されている。尚、I/O40
は、情報処理装置2のICカードリーダー26に対する
コネクタを備えたインターフェイスである。
FIG. 2 shows a block diagram of the IC card 30. The IC card 30 includes a CPU 32, ROM 34, RA
An M36, a backup RAM 38 and an input / output interface (I / O) 40 are provided. These components are signal-connected by a bus 42. I / O40
Is an interface provided with a connector for the IC card reader 26 of the information processing apparatus 2.

【0060】前記情報処理装置2の電源オンにより、図
3(a)に示すごとくRAM8のプログラムエリアに、
データを暗号化および復号化するためのイニシャルプロ
グラムIPがハードディスク装置18からロードされて
起動される。尚、ハードディスク装置18には、図3
(b)に示すごとく、イニシャルプログラムIP以外
に、複数の暗号化された「第2の暗/復号化処理プログ
ラム」Pr1〜Prnが格納されている。これらの「第2の
暗/復号化処理プログラム」Pr1〜Prnは、本情報処理
装置2の使用者の暗号化鍵(第1暗号化鍵)にて暗号化
されたものであり、使用者の数だけ存在し、復号化すれ
ば基本的には同じ機能を有しているプログラムである。
ただし、後述するごとく使用者毎に異なる機能を持たせ
ることもできる。使用者とプログラムとの対応は、図3
(b)に示すハードディスク装置18内の使用者ID−
プログラムアドレステーブルを参照することにより行わ
れる。これらの「第2の暗/復号化処理プログラム」P
r1〜Prnおよび使用者ID−プログラムアドレステーブ
ルは、前記イニシャルプログラムIPとともにハードデ
ィスク装置18に予めインストールされている。
When the information processing device 2 is powered on, the program area of the RAM 8 is displayed as shown in FIG.
The initial program IP for encrypting and decrypting data is loaded from the hard disk device 18 and activated. The hard disk device 18 has
As shown in (b), in addition to the initial program IP, a plurality of encrypted "second encryption / decryption processing programs" Pr1 to Prn are stored. These “second encryption / decryption processing programs” Pr1 to Prn are encrypted with the encryption key (first encryption key) of the user of the information processing apparatus 2 and It is a program that exists in the same number and basically has the same function when decrypted.
However, it is also possible to give different functions to each user as described later. Figure 3 shows the correspondence between the user and the program.
User ID in the hard disk device 18 shown in (b)-
This is done by referring to the program address table. These “second encryption / decryption processing programs” P
The r1 to Prn and the user ID-program address table are installed in the hard disk device 18 in advance together with the initial program IP.

【0061】また、ICカード30のバックアップRA
M38には、図4に示すごとく、パスワード照合プログ
ラムPr11、暗号化処理プログラムPr12、復号化処理プ
ログラムPr13、鍵暗号化処理プログラムPr14および鍵
復号化処理プログラムPr15等のプログラムと、正当な
使用者のパスワード、正当な使用者のID、正当な使用
者の暗/復号化鍵(第1暗号化鍵および復号化鍵に該当
する)および正当な使用者がデータの復号化を許可する
相手のID(ID1,ID2,…,IDn)とそのIDに
対応する相手方暗号化鍵K1,K2,…,Knが記憶され
ている。
A backup RA for the IC card 30
In M38, as shown in FIG. 4, a program such as a password verification program Pr11, an encryption processing program Pr12, a decryption processing program Pr13, a key encryption processing program Pr14, and a key decryption processing program Pr15, and a valid user's program. Password, ID of authorized user, encryption / decryption key of authorized user (corresponding to the first encryption key and decryption key), and ID of the authorized user who is allowed to decrypt data ( , IDn) and the counterpart encryption keys K1, K2, ..., Kn corresponding to the IDs are stored.

【0062】使用者が、データを暗号化するために、情
報処理装置2を電源オンした場合には、図5および図6
のフローチャートに示すイニシャルプログラムIPが起
動される。まず、ステップS100にて初期化処理が行
われ、情報処理装置2に存在する各種構成の初期状態を
設定し、プログラムに使用するデータの初期値を決定す
る等の処理がなされる。
5 and 6 when the user turns on the information processing apparatus 2 to encrypt the data.
The initial program IP shown in the flowchart of FIG. First, initialization processing is performed in step S100, and processing such as setting initial states of various configurations existing in the information processing apparatus 2 and determining initial values of data used for a program is performed.

【0063】次に、ICカードリーダー26にICカー
ド30が装着されているか否かが判定される(S11
0)。装着されていなければステップS110にては否
定判定されて、ICカード30の装着を要求する表示を
CRTディスプレイ16に行って(S120)、再度ス
テップS110を実行する処理を繰り返す。
Next, it is determined whether or not the IC card 30 is attached to the IC card reader 26 (S11).
0). If not mounted, a negative determination is made in step S110, a display requesting mounting of the IC card 30 is displayed on the CRT display 16 (S120), and the process of executing step S110 is repeated.

【0064】ICカード30が、ICカードリーダー2
6に装着されれば、ステップS110にて肯定判定され
て、次にパスワードを要求する表示がCRTディスプレ
イ16になされる(S130)。このパスワードは、図
4に示したICカード30の正当な使用者のパスワード
を求めるものである。
The IC card 30 is the IC card reader 2
If it is attached to No. 6, an affirmative decision is made in step S110, and the next password request is displayed on the CRT display 16 (S130). This password seeks the password of a valid user of the IC card 30 shown in FIG.

【0065】パスワードの入力がキーボード12からな
されたか否かが判定され(S140)、入力が無けれ
ば、ステップS150にてタイムアウトと判定されるま
で、ステップS140,S150の処理を繰り返す。タ
イムアウトに該当する所定時間経過してもパスワードの
入力がなされなければステップS150にて、肯定判定
されて、本イニシャルプログラムの処理を終了する。タ
イムアウトする前にパスワードの入力があれば、ステッ
プS140にて肯定判定されて、入力されたパスワード
がICカード30側に送信される。そして、次に、IC
カード30側からパスワードの照合結果とその使用者の
IDとが送信されて来るのを待つ(S170)。
It is determined whether or not the password is input from the keyboard 12 (S140), and if there is no input, the processes of steps S140 and S150 are repeated until the timeout is determined in step S150. If the password is not input even after the elapse of the predetermined time corresponding to the time-out, an affirmative decision is made in step S150, and the processing of this initial program ends. If a password is input before the time-out, a positive determination is made in step S140, and the input password is transmitted to the IC card 30 side. And next, IC
It waits for the password collation result and the user's ID to be transmitted from the card 30 side (S170).

【0066】図7〜図8のフローチャートにICカード
30側の処理を示す。本処理はICカード30がICカ
ードリーダー26に装着された際に起動される処理であ
る。まず、情報処理装置2からのパスワードの受信待ち
となる(S500)。前述したステップS160の処理
により、パスワードが送信されて来ればステップS50
0にて肯定判定されて、パスワード照合プログラムPr
11により、図4に示したバックアップRAM38に記憶
された、このICカード30の正当な使用者のパスワー
ドと、情報処理装置2から送られたパスワードとの照合
がなされる(S520)。
The processes on the IC card 30 side are shown in the flow charts of FIGS. This process is a process started when the IC card 30 is attached to the IC card reader 26. First, it waits for a password to be received from the information processing device 2 (S500). If the password is transmitted by the processing in step S160 described above, step S50
A positive determination is made at 0, and the password verification program Pr
11, the password of the authorized user of the IC card 30 stored in the backup RAM 38 shown in FIG. 4 is compared with the password sent from the information processing device 2 (S520).

【0067】そして、その照合の結果と正当な使用者の
IDとが情報処理装置2側へ送信される(S530)。
次に照合結果が「合致」、すなわち、情報処理装置2か
らのパスワードとバックアップRAM38内に記憶され
ていた正当使用者のパスワードとが一致すれば、正当な
使用者がそのICカード30を使用していることが判る
ので、次にその正当な使用者の暗/復号化鍵を、バック
アップRAM38から読み出す(S550)。もし、パ
スワードの照合結果が不一致となった場合に、ステップ
S540にて否定判定されて、再度ステップS500の
処理に戻る。
Then, the result of the collation and the ID of the valid user are transmitted to the information processing apparatus 2 side (S530).
Next, if the collation result is “match”, that is, if the password from the information processing device 2 and the password of the legitimate user stored in the backup RAM 38 match, the legitimate user uses the IC card 30. Then, the encryption / decryption key of the authorized user is read from the backup RAM 38 (S550). If the password verification results do not match, a negative determination is made in step S540 and the process returns to step S500.

【0068】ステップS550を処理した場合には、次
に情報処理装置2からの送信待ちとなる(S560)。
ステップ530の処理にて、照合結果とIDとが情報処
理装置2へ送信されると、情報処理装置2側では、ステ
ップ170にて肯定判定されて、次に合致したか否かが
判定される(S180)。合致していなければ、正当な
使用者では無いので、ステップ180にて否定判定され
て、CRTディスプレイ16に、不一致であることと処
理を中止するとの表示をして(S190)、ステップS
110の処理に戻る。したがって、ICカード30がI
Cカードリーダー26に装着されていれば、再度、ステ
ップ130にてパスワードが要求され、ステップ14
0,S150にて、パスワード入力待ちとなる。パスワ
ードの入力を間違えても、再度、入力を求められるので
正当な使用者ならば訂正すれば良い。しかし、不正な使
用である場合には、パスワードを繰り返して入力させる
のは一致の可能性が高くなるので、パスワードの入力間
違いは例えば3回までとし、ステップS180にて3回
目の間違いの場合には、ステップS110に戻さず、本
イニシャルプログラムを終了するようにする。
When step S550 has been processed, the system waits for transmission from the information processing device 2 (S560).
When the collation result and the ID are transmitted to the information processing device 2 in the process of step 530, the information processing device 2 side makes an affirmative decision in step 170 and then decides whether or not they match. (S180). If they do not match, the user is not an authorized user, so a negative determination is made in step 180, and it is displayed on the CRT display 16 that there is a mismatch and that the processing is to be stopped (S190), and step S190 is performed.
Returning to the processing of 110. Therefore, the IC card 30
If it is attached to the C card reader 26, the password is requested again in step 130, and step 14
0, in S150, the password input waits. Even if you make a mistake in entering the password, you will be prompted to enter it again, so you can correct it if you are a valid user. However, if the password is used improperly, it is highly likely that the password will be repeatedly input. Therefore, the password can be entered incorrectly, for example, up to three times. Ends the initial program without returning to step S110.

【0069】ステップS180にて、合致したとの判定
がなされると、CRTディスプレイ16に合致した旨の
表示がなされ(S200)、次にICカード30から照
合結果と共に受信したIDに対応する暗号化された第2
の暗/復号化処理プログラムをハードディスク装置18
の記憶ファイルから探し出して、ICカード30側へ送
信する(S210)。IDからプログラムを探すのは、
図3(b)に示したごとく、ハードディスク装置18に
ファイルされている使用者ID−プログラムアドレステ
ーブルから、IDに対応する暗号化された第2の暗/復
号化処理プログラムのディスク上のアドレスを得て、そ
のアドレスから該当する暗号化された第2の暗/復号化
処理プログラムを読み出すことにより行われる。例え
ば、使用者のIDがIDbであれば、暗号化された第2
の暗/復号化処理プログラムPr2が対応していること
が、使用者ID−プログラムアドレステーブルから判明
し、そのディスクアドレスから、暗号化された第2の暗
/復号化処理プログラムPr2が読み出される。
If it is determined in step S180 that they match, a message indicating that they match is displayed on the CRT display 16 (S200), and then encryption corresponding to the ID received together with the collation result from the IC card 30 is performed. The second done
The encryption / decryption processing program of the hard disk device 18
It is searched from the storage file of and is transmitted to the IC card 30 side (S210). Finding a program by ID is
As shown in FIG. 3B, the address on the disk of the encrypted second encryption / decryption processing program corresponding to the ID is calculated from the user ID-program address table stored in the hard disk device 18. This is done by reading the corresponding encrypted second encryption / decryption processing program from the address. For example, if the user's ID is IDb, the encrypted second
It is found from the user ID-program address table that the encryption / decryption processing program Pr2 of No. 2 corresponds to, and the encrypted second encryption / decryption processing program Pr2 is read from the disk address.

【0070】次に、ICカード30からの送信待ちとな
る(S220)。ICカード30側では、情報処理装置
2から暗号化された第2の暗/復号化処理プログラムP
r2の送信があると、ステップS560の判定にて肯定判
定されて、次にそのプログラムPr2の受信とその受信し
たプログラムPr2の復号化処理がなされる(S57
0)。すなわち、バックアップRAM38に存在する復
号化処理プログラムPr13を起動して、情報処理装置2
から送信されて来たプログラムPr2を復号化する。尚、
プログラムPr2が長くて、バッファや作業メモリ容量の
関係で一度に送信あるいは復号化できない場合には、分
割して送信あるいは復号化しても良い。
Next, the IC card 30 waits for transmission (S220). On the IC card 30 side, the second encryption / decryption processing program P encrypted from the information processing device 2
When r2 is transmitted, an affirmative decision is made in step S560, and then the program Pr2 is received and the received program Pr2 is decrypted (S57).
0). That is, the decryption processing program Pr13 existing in the backup RAM 38 is activated to activate the information processing device 2
Decrypt the program Pr2 transmitted from the. still,
If the program Pr2 is long and cannot be transmitted or decrypted at once due to the buffer or working memory capacity, it may be divided and transmitted or decrypted.

【0071】次に、復号化した第2の暗/復号化処理プ
ログラムPr2を情報処理装置2へ送信する(S58
0)。次に、暗号化していない一時鍵および復号化対象
者IDが受信されたか否かが判定され(S590)、受
信していなければ、暗号化された一時鍵が受信されたか
否かが判定される(S595)。これも受信していなけ
れば、暗号化していない第2の暗/復号化処理プログラ
ムが受信されたか否かが判定される(S600)。いず
れも受信していない内は、ステップS590,ステップ
S595およびステップS600の判定を繰り返す。
Next, the decrypted second encryption / decryption processing program Pr2 is transmitted to the information processing apparatus 2 (S58).
0). Next, it is determined whether or not the unencrypted temporary key and the decryption target person ID have been received (S590), and if not received, it is determined whether or not the encrypted temporary key has been received. (S595). If this has not been received either, it is determined whether or not the second encryption / decryption processing program that has not been encrypted has been received (S600). If neither is received, the determinations of step S590, step S595, and step S600 are repeated.

【0072】情報処理装置2側では、ICカード30側
から、復号化された、すなわち平文の第2の暗/復号化
処理プログラムPr2を受信すると、ステップS220に
て肯定判定されて、その平文の第2の暗/復号化処理プ
ログラムPr2を、図2(a)に示すごとくRAM8の作
業メモリ領域PAに転送する(S230)。
On the information processing device 2 side, when the decrypted or plaintext second encryption / decryption processing program Pr2 is received from the IC card 30 side, an affirmative decision is made in step S220, and the plaintext The second encryption / decryption processing program Pr2 is transferred to the working memory area PA of the RAM 8 as shown in FIG. 2A (S230).

【0073】次に、この平文の第2の暗/復号化処理プ
ログラムPr2がイニシャルプログラムから起動される
(S240)。その第2の暗/復号化処理プログラムP
r2のフローチャートを図9〜図12に示す。この処理が
ステップS240の起動処理により実行される。
Next, the plaintext second encryption / decryption processing program Pr2 is started from the initial program (S240). The second encryption / decryption processing program P
Flow charts of r2 are shown in FIGS. This process is executed by the activation process of step S240.

【0074】第2の暗/復号化処理プログラムPr2の処
理が開始されると、まず、処理メニューがCRTディス
プレイ16に表示される(S1010)。メニューは、
暗号化処理(S1100)、復号化処理(S120
0)、第2の暗/復号化処理プログラムの変更処理(S
1300)およびその他の処理(S1400)である。
When the processing of the second encryption / decryption processing program Pr2 is started, first, a processing menu is displayed on the CRT display 16 (S1010). The menu is
Encryption process (S1100), decryption process (S120)
0), change processing of the second encryption / decryption processing program (S
1300) and other processing (S1400).

【0075】ここで、使用者により暗号化処理(S11
00)が選択されると、図10に示す処理が開始され
る。まず、暗号化対象データ名および復号化対象者ID
の入力が要求される(S1102)。暗号化対象データ
名は、光磁気ディスクドライブ14にセットされた光磁
気ディスク、ハードディスク装置18あるいはフロッピ
ーディスクドライブ20にセットされたフロッピーディ
スク内のファイルを指定することにより行う。ここで
は、光磁気ディスクに暗号化データを格納するため、暗
号化対象データは、フロッピーディスクに存在するもの
とする。
Here, the encryption process (S11
00) is selected, the processing shown in FIG. 10 is started. First, the encryption target data name and the decryption target person ID
Is requested (S1102). The name of the data to be encrypted is specified by designating a magneto-optical disk set in the magneto-optical disk drive 14 or a file in a floppy disk set in the hard disk device 18 or the floppy disk drive 20. Here, since the encrypted data is stored in the magneto-optical disk, the data to be encrypted is assumed to exist in the floppy disk.

【0076】また復号化対象者IDは、復号化を許可す
る相手のIDを入力する。復号化を許可する相手方が複
数であれば複数のIDを入力する。尚、予め登録されて
いるグループのIDを入力すれば、そのグループに属し
ている複数の相手のIDを指定したことになり、一つの
IDで複数人を復号化対象者とすることができる。
As the decryption target person ID, the ID of the person who is permitted to decrypt is input. If there are a plurality of parties to which decryption is permitted, enter a plurality of IDs. If the IDs of the groups registered in advance are input, it means that the IDs of a plurality of parties belonging to the group are designated, and a plurality of people can be decrypted with one ID.

【0077】ここで、タイムアウト処理(S1106)
にて所定のタイムアウト時間が経過するまで、入力待ち
となる(S1104)。タイムアウトまで、入力がなけ
れば、ステップS1106にて肯定判定されて、直ちに
イニシャルプログラムへ帰るが、暗号化対象データ名お
よび復号化対象者IDの入力がなされれば、次に一時鍵
(第2暗号化鍵)を生成する(S1108)。
Here, the timeout process (S1106)
The input waits until the predetermined time-out time has elapsed (S1104). If there is no input until the timeout, an affirmative decision is made in step S1106, and the process immediately returns to the initial program. However, if the data name to be encrypted and the decryption target person ID have been input, then the temporary key (second encryption (Step S1108).

【0078】ここで、一時鍵の生成は、生成毎に異なる
鍵(値や文字列)であることが好ましい。例えば、M系
列乱数発生プログラムによる方法やキー操作の時間間隔
を10万分の1秒程度で測定して下位の必要桁数のみ取
り出す方法等が挙げられる。こうして生成された一時鍵
と復号化対象者IDとをICカード30側へ送信し(S
1110)、次にICカード30側から送信されて来る
暗号化された一時鍵の受信待ちとなる(S1120)。
Here, it is preferable that the temporary key is generated by a different key (value or character string) for each generation. For example, a method using an M-series random number generation program, a method of measuring the time interval of key operation in about 1 / 100,000 second, and extracting only the lower required digits can be cited. The temporary key and the decryption target person ID thus generated are transmitted to the IC card 30 side (S
1110), and the system waits for reception of the encrypted temporary key transmitted from the IC card 30 side (S1120).

【0079】ICカード30側では、一時鍵と復号化対
象者IDとを受信したので、図8のステップS590に
て肯定判定されて、次に、一時鍵暗号化処理プログラム
Pr14により、復号化対象者IDに対応する相手方暗号
化鍵により一時鍵を暗号化する(S610)。ICカー
ド30のバックアップRAM38には、図4に示したご
とく、正当な使用者がデータの復号化を許可する相手の
ID1,ID2,…,IDnとそのIDに対応する相手方
暗号化鍵K1,K2,…,Knが記憶されていることか
ら、例えば、復号化対象者IDがID2であれば、対応
する相手方暗号化鍵K2が選択され、その相手方暗号化
鍵K2により一時鍵を暗号化する。また、グループのI
Dが入力されていれば、そのグループの代表となる者の
IDから相手方暗号化鍵を選択してその相手方暗号化鍵
にて一時鍵を暗号化してもよく、またグループ独自の相
手方暗号化鍵にて一時鍵を暗号化しても良い。
Since the IC card 30 has received the temporary key and the decryption target person ID, an affirmative decision is made in step S590 of FIG. 8, and the temporary key encryption processing program Pr14 causes the decryption target to be decrypted. The temporary key is encrypted with the counterparty encryption key corresponding to the person ID (S610). In the backup RAM 38 of the IC card 30, as shown in FIG. 4, ID1, ID2, ..., IDn of the other party to which the legitimate user permits the decryption of the data and the other party encryption keys K1 and K2 corresponding to the ID. , ..., Kn are stored, for example, if the decryption target person ID is ID2, the corresponding counterparty encryption key K2 is selected, and the temporary key is encrypted by the counterparty encryption key K2. Also, I of the group
If D is input, the other party encryption key may be selected from the ID of the person who is the representative of the group, and the temporary key may be encrypted with the other party encryption key. The temporary key may be encrypted at.

【0080】次にこのように暗号化された一時鍵を情報
処理装置2側へ送信し(S620)、ICカード30で
の処理はステップS500の処理に戻る。情報処理装置
2側では、暗号化された一時鍵を受信したので、ステッ
プS1120にて肯定判定されて、暗号化された一時鍵
を、IDとともに記憶媒体にファイルとして格納する
(S1130)。この記憶媒体は、使用者が指定する記
憶媒体であるが、ここでは、光磁気ディスクドライブ1
4にセットされた光磁気ディスクである。勿論、フロッ
ピーディスクあるいはハードディスク装置18その他の
記憶媒体でも良い。
Next, the temporary key encrypted in this way is transmitted to the information processing device 2 side (S620), and the process in the IC card 30 returns to the process of step S500. Since the information processing device 2 receives the encrypted temporary key, an affirmative decision is made in step S1120, and the encrypted temporary key is stored as a file in the storage medium together with the ID (S1130). This storage medium is a storage medium specified by the user, but here, the magneto-optical disk drive 1
4 is a magneto-optical disk set in No. 4. Of course, a floppy disk, hard disk device 18, or other storage medium may be used.

【0081】次に既にステップS1102にて入力され
ている暗号化対象データが読み出され(S1140)、
暗号化されていない一時鍵、すなわちステップS110
8で生成されたままの一時鍵により、その暗号化対象デ
ータが暗号化される(S1150)。このようなデータ
を鍵を用いて暗号化処理するプログラムとしては、米国
の標準アルゴリズムであるDESや、NTT社が開発し
たFEEL等が知られている。
Next, the data to be encrypted which has already been input in step S1102 is read (S1140),
Non-encrypted temporary key, ie step S110
The data to be encrypted is encrypted with the temporary key that was generated in step 8 (S1150). As a program for encrypting such data using a key, DES, which is a standard algorithm in the United States, FEEL developed by NTT, and the like are known.

【0082】次に、この暗号化されたデータを、IDお
よび暗号化された一時鍵が格納されたファイルに格納す
る(S1160)。すなわち、図13に示すごとく、ヘ
ッダー部として、復号者(復号を許可する者)のID
(1),ID(2),…,ID(n)とそのIDに対応した暗号
化一時鍵K(1),K(2),…,K(n)とのリストを記載
し、データ部として、一時鍵にて暗号化した暗号化デー
タを記載したファイルとして格納する。
Next, the encrypted data is stored in the file in which the ID and the encrypted temporary key are stored (S1160). That is, as shown in FIG. 13, the ID of the decryption person (the person who permits the decryption) as the header
(1), ID (2), ..., ID (n) and a list of encrypted temporary keys K (1), K (2), ... The encrypted data encrypted with the temporary key is stored as a file.

【0083】こうして、情報処理装置2にて暗号化処理
(S1100)が終了し、次にRAM8上に、例えば、
ステップS1140の処理にてRAM8の作業メモリ領
域に読み出されたままの暗号化対象データといった、暗
号化されていないデータが存在する場合には、そのデー
タをクリアする処理(S1500)が行われる。
In this way, the encryption process (S1100) is completed in the information processing device 2, and next, in the RAM 8, for example,
If there is unencrypted data such as the data to be encrypted that has been read in the work memory area of the RAM 8 in the process of step S1140, a process of clearing the data (S1500) is performed.

【0084】こうして、第2の暗/復号化処理が終了
し、イニシャルプログラムに戻る。イニシャルプログラ
ムでは、図6に示すステップS250の処理が行われ
て、RAM8上に存在している第2の暗/復号化処理プ
ログラムをクリアし、ステップS110の処理に戻る。
In this way, the second encryption / decryption process ends, and the process returns to the initial program. In the initial program, the process of step S250 shown in FIG. 6 is performed to clear the second encryption / decryption process program existing on the RAM 8, and the process returns to step S110.

【0085】このようにして、データの暗号化が終了す
る。上述したごとく、本実施例の情報処理装置2にて起
動する暗号化処理用のプログラム(図9,図10)は、
暗号化処理に用いられていない場合には、ハードディス
ク装置18により暗号化された状態で記憶されている。
したがって、第三者により、解析されることはなく、ま
た解析できないので改竄もできない。
In this way, the data encryption is completed. As described above, the encryption processing program (FIGS. 9 and 10) activated by the information processing apparatus 2 of the present embodiment is
When it is not used in the encryption process, it is stored in an encrypted state by the hard disk device 18.
Therefore, it cannot be analyzed by a third party and cannot be tampered with because it cannot be analyzed.

【0086】正当な使用者がデータを暗号化する場合に
は、ハードディスク装置18から、正当な使用者の暗/
復号化鍵にて暗号化された前記プログラムを読み出し、
そのプログラムを、正当な使用者の暗/復号化鍵により
復号化し、その復号化されたプログラムを起動させるこ
とにより、暗号化対象データを一時鍵(第2暗号化鍵)
にて暗号化させて暗号化データとすることができる。
When a legitimate user encrypts data, the hard disk drive 18 is used to store the password of the legitimate user.
Read the program encrypted with the decryption key,
The program is decrypted with the encryption / decryption key of a valid user, and the decrypted program is started to encrypt the data to be encrypted as a temporary key (second encryption key).
The encrypted data can be encrypted by.

【0087】しかも、データの暗号化が完了した後は、
その起動されたプログラムを消去する。このため、暗号
化処理をした後も、平文状態の暗号化用のプログラムが
残っていることもなく、暗号化用のプログラムの安全性
が確保され、結果として、暗号化されたデータの安全性
も確保される。したがって、暗号化処理毎に、暗号化処
理用のプログラムを記憶している記憶媒体を保管場所か
ら取り出して情報処理装置2にセットしてロードする作
業をしなくても良く、効率的に暗号化作業ができる。
Moreover, after the data encryption is completed,
Erase the launched program. Therefore, even after the encryption process, the program for encryption in the plaintext state does not remain, and the security of the program for encryption is secured, and as a result, the security of the encrypted data Is also secured. Therefore, it is not necessary to take out the storage medium storing the program for encryption processing from the storage location, set it in the information processing device 2 and load it for each encryption processing, and the encryption can be performed efficiently. I can work.

【0088】また、暗号化前のデータも作業メモリ領域
上に残っている場合には、それをクリアしているので、
より安全性が高い。更に、一時鍵(第2暗号化鍵)は、
相手方暗号化鍵(第3暗号化鍵)にて暗号化される。そ
して、この暗号化された一時鍵は復号化を許可する者の
IDとともに、暗号化データと一つのファイルに収納さ
れる。
If the unencrypted data also remains in the working memory area, it is cleared.
Higher safety. Furthermore, the temporary key (second encryption key) is
It is encrypted with the other party's encryption key (third encryption key). Then, the encrypted temporary key is stored in one file together with the encrypted data together with the ID of the person who permits the decryption.

【0089】このように、データを暗号化するための一
時鍵(第2暗号化鍵)を、更に相手方暗号化鍵(第3暗
号化鍵)にて暗号化しているので、暗号化データに一時
鍵(第2暗号化鍵)を付加しておいても安全は確保でき
る。また、暗号化データに一時鍵(第2暗号化鍵)が付
加されるので、その記憶媒体(ここでは光磁気ディス
ク)のまま持ち運んだり、あるいはその暗号化データを
通信により相手方に送信しても、持ち運び先あるいは通
信相手先にて、相手方暗号化鍵(第3暗号化鍵)さえ保
管されていれば、暗号化データを復号化することができ
る。
As described above, since the temporary key (second encryption key) for encrypting the data is further encrypted by the other party encryption key (third encryption key), the encrypted data is temporarily encrypted. Even if a key (second encryption key) is added, safety can be secured. Also, since a temporary key (second encryption key) is added to the encrypted data, even if the storage medium (here, a magneto-optical disk) is carried as it is or the encrypted data is transmitted to the other party by communication. The encrypted data can be decrypted if the other party's encryption key (third encryption key) is stored at the carrying destination or the communication partner.

【0090】一時鍵(第2暗号化鍵)は、前記暗号化用
のプログラムにより演算にて求められたものである。こ
のようにデータを暗号化するための暗号化鍵は、その時
の暗号化のためだけの一時的な鍵であり、継続して使用
されるものではないので、よりデータの安全性が確保さ
れる。また、この一時鍵も、前記暗号化用のプログラム
内で演算されていることから、暗号化処理時以外は、そ
のプログラムは暗号化されたもののみが存在しているの
で、第三者は自分が知っている鍵を生成するように改竄
することはできない。
The temporary key (second encryption key) is obtained by calculation by the encryption program. In this way, the encryption key for encrypting the data is a temporary key only for the encryption at that time and is not used continuously, so the security of the data is further secured. . Since this temporary key is also calculated in the encryption program, only the encrypted program exists at the time of encryption processing, so a third party may Cannot be tampered with to generate a key known to.

【0091】また、本実施例の情報秘匿処理システム
は、本体装置としての情報処理装置2と、この情報処理
装置2とは別体に構成され情報処理装置2に対して信号
的に任意に接続したり切断したりすることが可能な付属
装置としてのICカード30とに別れて構成され、しか
も、情報処理装置2が、プログラム暗号化記憶処理、プ
ログラム読出処理、プログラム起動処理、およびプログ
ラム消去処理の各プログラムを備え、ICカード30
が、正当な使用者の暗/復号化鍵および相手方暗号化鍵
(第3暗号化鍵)を記憶するとともに、プログラム復号
化処理および鍵暗号化処理の各プログラムを備える構成
とされている。すなわち、ICカード30側には、正当
な使用者の暗/復号化鍵、相手方暗号化鍵(第3暗号化
鍵)、プログラム復号化処理のプログラムおよび鍵暗号
化処理のプログラムが存在するため、その正当な使用者
の暗/復号化鍵、相手方暗号化鍵(第3暗号化鍵)、プ
ログラム復号化処理のプログラムおよび鍵暗号化処理の
プログラムの安全性が確保され、データの安全性が一層
確保される。
The information concealment processing system according to the present embodiment is constructed separately from the information processing apparatus 2 as a main body apparatus and is connected to the information processing apparatus 2 in a signal manner arbitrarily. The information processing apparatus 2 is configured separately from an IC card 30 as an accessory device that can be turned on and off, and the information processing apparatus 2 can perform a program encryption storage process, a program read process, a program start process, and a program erase process. IC card 30 with each program
However, the encryption / decryption key of the authorized user and the counterpart encryption key (third encryption key) are stored, and each program for the program decryption process and the key encryption process is provided. That is, on the IC card 30 side, since the encryption / decryption key of the legitimate user, the counterpart encryption key (third encryption key), the program decryption processing program, and the key encryption processing program are present, The security of the authorized user's encryption / decryption key, the other party's encryption key (third encryption key), the program of the program decryption process, and the program of the key encryption process are secured, and the data safety is further enhanced. Reserved.

【0092】次に、図13に示した暗号化データファイ
ルを格納した光磁気ディスクを受け取った場合、そのデ
ータを復号化する処理について説明する。使用者は、ま
ず、情報処理装置2の電源オンさせた後、受け取った光
磁気ディスクを光磁気ディスクドライブ14にセット
し、自己のICカード30をICカードリーダー26に
セットする。
Next, the process of decrypting the data when the magneto-optical disk storing the encrypted data file shown in FIG. 13 is received will be described. First, the user turns on the power of the information processing apparatus 2, sets the received magneto-optical disk in the magneto-optical disk drive 14, and sets his / her IC card 30 in the IC card reader 26.

【0093】情報処理装置2では、イニシャルプログラ
ムが起動される。この場合の処理は、ステップS100
からステップS240までは、データ暗号化の際に説明
した通りである。ICカード30においても同様であ
る。勿論、使用者が異なれば、ICカード30も異なる
ことから、ステップS170にて受信するIDも異な
り、ステップS210にてICカード30へ送信される
暗号化された第2の暗/復号化処理プログラムも異な
る。
In the information processing device 2, the initial program is activated. The process in this case is step S100.
From step S240 to step S240 are as described in the data encryption. The same applies to the IC card 30. Of course, since different users have different IC cards 30, the IDs received in step S170 also differ, and the encrypted second encryption / decryption processing program transmitted to the IC card 30 in step S210. Is also different.

【0094】例えば、使用者のIDがIDaであれば、
暗号化された第2の暗/復号化処理プログラムPr1が対
応していることから、暗号化された第2の暗/復号化処
理プログラムPr1が、ICカード30へ送信され、その
結果、ステップS240により起動されるプログラム
は、第2の暗/復号化処理プログラムPr1が実行され
る。尚、ここでは、第2の暗/復号化処理プログラムP
r1は第2の暗/復号化処理プログラムPr2と同じ内容で
あるとして説明する。
For example, if the user's ID is IDa,
Since the encrypted second encryption / decryption processing program Pr1 corresponds to the encrypted second encryption / decryption processing program Pr1, the encrypted second encryption / decryption processing program Pr1 is transmitted to the IC card 30. As a result, step S240 The second encryption / decryption processing program Pr1 is executed as the program started by. Incidentally, here, the second encryption / decryption processing program P
It is assumed that r1 has the same contents as the second encryption / decryption processing program Pr2.

【0095】ステップS240にて第2の暗/復号化処
理プログラムPr1が起動されると、まず、図9に示すフ
ローチャートのステップS1010にて、処理メニュー
の表示がなされる。ここで使用者が復号化処理を選択す
ると、ステップS1200の処理が開始される。この復
号化処理を図11のフローチャートに示す。
When the second encryption / decryption processing program Pr1 is started in step S240, first, in step S1010 of the flowchart shown in FIG. 9, the processing menu is displayed. Here, when the user selects the decryption process, the process of step S1200 is started. This decoding process is shown in the flowchart of FIG.

【0096】まず、復号化対象データ名入力の要求が表
示される(S1202)。次にステップS1206にて
タイムアウトと判定されるまでその入力待ち(S120
4)となる。入力がなされずにタイムアウトとなればス
テップS1206にて肯定判定されて、第2の暗/復号
化処理を終了し、イニシャルプログラムに帰る。
First, a request for inputting a decryption target data name is displayed (S1202). Next, in step S1206, the input waits until the timeout is determined (S120
4). If no input is made and time-out occurs, an affirmative decision is made in step S1206, the second encryption / decryption processing ends, and the processing returns to the initial program.

【0097】光磁気ディスクドライブ14にセットされ
た光磁気ディスク内の一つのデータファイルを指定した
場合(光磁気ディスク内のファイルすべてを指定しても
良いし、特定のディレクトリ内のファイルをすべて指定
しても良い。)、ステップS1204にて肯定判定され
て、その復号化対象の暗号化データのヘッダー部より復
号化対象者ID(1),ID(2),…および対応する暗号化
された一時鍵K(1),K(2),…を読み出す(S120
8)。
When one data file in the magneto-optical disk set in the magneto-optical disk drive 14 is specified (all files in the magneto-optical disk may be specified, or all files in a specific directory may be specified). A positive determination is made in step S1204, and the decryption target person ID (1), ID (2), ... And the corresponding encrypted data are decrypted from the header of the encrypted data to be decrypted. The temporary keys K (1), K (2), ... Are read (S120).
8).

【0098】次にこの復号化対象者ID(1),ID(2),
…内に、使用者のIDが存在するか否かが判定される
(S1210)。すなわち、ICカードリーダー26に
セットされているICカード30に記載されている使用
者のIDが、復号化対象者として指定されているか否か
が判定される。存在しなければ、現在セットされている
ICカード30の正当な使用者は、復号化は許可されて
いないので、ステップS1210にて否定判定されて、
復号化は不許可であることをCRTディスプレイ16に
表示して(S1220)、第2の暗/復号化処理を終了
して、イニシャルプログラムに戻る。尚、複数のファイ
ルが復号化対象として指示された場合には、ICカード
30に記載されている使用者のIDが復号化対象者とし
てヘッダー部に指定されているファイルが一つでも存在
すれば、その含まれているファイルについてだけステッ
プS1230以降の処理を行う。また、ヘッダー部にグ
ループのIDが指定されている場合には、ICカード3
0の正当使用者がそのグループに含まれていれば、その
正当使用者はヘッダー部に指定されているとする。
Next, the decryption target person ID (1), ID (2),
It is determined whether or not the user's ID is present in ... (S1210). That is, it is determined whether the ID of the user described in the IC card 30 set in the IC card reader 26 is designated as the decryption target person. If it does not exist, the valid user of the IC card 30 that is currently set is not permitted to decrypt, and thus a negative determination is made in step S1210,
It is displayed on the CRT display 16 that the decryption is not permitted (S1220), the second encryption / decryption process is terminated, and the process returns to the initial program. In addition, when a plurality of files are designated as the decryption target, if there is at least one file in which the ID of the user described in the IC card 30 is designated as the decryption target in the header section, The processing from step S1230 is performed only on the included file. Further, when the group ID is specified in the header part, the IC card 3
If 0 legal users are included in the group, it is assumed that the legal users are specified in the header section.

【0099】ICカード30に記載された正当な使用者
のIDが、復号化対象者ID(1),ID(2),…内に含ま
れている場合、例えば、ID(1)が該当すると、ステッ
プS1210にて肯定判定されて、復号化対象ファイル
のヘッダー部から読み出した暗号化された一時鍵K(1)
を、ICカード30側へ送信し(S1230)、次に復
号化された一時鍵の受信待ち(S1240)となる。
When the ID of the legitimate user written on the IC card 30 is included in the decryption target person ID (1), ID (2), ..., For example, if ID (1) is applicable. An affirmative decision is made in step S1210, and the encrypted temporary key K (1) read from the header part of the decryption target file.
Is transmitted to the IC card 30 side (S1230), and next, it stands by to receive the decrypted temporary key (S1240).

【0100】ICカード30側にて、ステップS59
0,S595およびS600を繰り返している状態で、
暗号化された一時鍵K(1)を受信すると、ステップS5
95にて肯定判定されて、一時鍵復号化処理プログラム
Pr15により、暗号化された一時鍵K(1)を、バックア
ップRAM38に記憶している正当な使用者の暗/復号
化鍵で復号化する(S630)。
On the IC card 30 side, step S59
0, S595 and S600 are repeated,
When the encrypted temporary key K (1) is received, step S5
When a positive determination is made in 95, the temporary key decryption processing program Pr15 decrypts the encrypted temporary key K (1) with the encryption / decryption key of the authorized user stored in the backup RAM 38. (S630).

【0101】次に復号化された一時鍵を情報処理装置2
へ送信し(S640)、ステップS500の処理に戻
る。情報処理装置2側では、復号化された一時鍵を受信
したので、ステップS1240にて肯定判定されて、復
号化対象データのデータ部を復号化された一時鍵で復号
化して記憶媒体に格納する(S1250)。
Next, the decrypted temporary key is transferred to the information processing device 2
To (S640), and the process returns to step S500. Since the information processing device 2 has received the decrypted temporary key, an affirmative decision is made in step S1240, and the data part of the data to be decrypted is decrypted with the decrypted temporary key and stored in the storage medium. (S1250).

【0102】こうして復号化処理(S1200)が終了
すると、前述したステップS1500にて、RAM8上
に暗号化されていないデータ、すなわち復号化されたデ
ータが存在する場合には、そのデータをクリアする処理
が行われる。こうして、第2の暗/復号化処理が終了
し、イニシャルプログラムに戻る。イニシャルプログラ
ムでは、図6に示すステップS250の処理が行われ
て、RAM8上に存在している第2の暗/復号化処理プ
ログラムをクリアし、ステップS110の処理に戻る。
When the decryption process (S1200) is completed in this way, in step S1500 described above, if unencrypted data, that is, decrypted data exists in the RAM 8, a process of clearing the data is performed. Is done. In this way, the second encryption / decryption process ends, and the process returns to the initial program. In the initial program, the process of step S250 shown in FIG. 6 is performed to clear the second encryption / decryption process program existing on the RAM 8, and the process returns to step S110.

【0103】このようにして、データの復号化が終了す
る。上述したごとく、本実施例の情報処理装置2にて起
動する復号化処理用のプログラム(図9,図11)は、
復号化処理に用いられていない場合には、ハードディス
ク装置18により暗号化された状態で記憶されている。
したがって、第三者により、解析されることはなく、ま
た解析できないので改竄もできない。
In this way, the data decoding is completed. As described above, the decryption processing program (FIGS. 9 and 11) activated by the information processing apparatus 2 of the present embodiment is
When it is not used in the decryption process, it is stored in the encrypted state by the hard disk device 18.
Therefore, it cannot be analyzed by a third party and cannot be tampered with because it cannot be analyzed.

【0104】正当な使用者が復号化データを復号化する
場合には、ハードディスク装置18から、正当な使用者
の暗/復号化鍵にて暗号化された前記プログラムを読み
出し、そのプログラムを、正当な使用者の暗/復号化鍵
により復号化し、その復号化されたプログラムを起動さ
せることにより、暗号化データを一時鍵(第2復号化鍵
に該当する。すなわち一時鍵は第2暗号化鍵でも有り、
第2復号化鍵でもある。)にて復号化させて復号化デー
タ、すなわち平文データとすることができる。
When the authorized user decrypts the decrypted data, the program encrypted by the encryption / decryption key of the authorized user is read from the hard disk device 18, and the program is authorized. The encrypted data is decrypted by a different user's encryption / decryption key, and the decrypted program is activated to convert the encrypted data into a temporary key (corresponding to the second decryption key. That is, the temporary key is the second encryption key. But yes,
It is also the second decryption key. ) Can be decrypted to obtain decrypted data, that is, plaintext data.

【0105】しかも、暗号化データの復号化が完了した
後は、その起動されたプログラムを消去する。このた
め、復号化処理をした後も、平文状態の復号化用のプロ
グラムが残っていることもなく、復号化用のプログラム
の安全性が確保され、結果として、データの安全性も確
保される。したがって、復号化処理毎に、復号化処理用
のプログラムを記憶している記憶媒体を保管場所から取
り出して情報処理装置2にセットしてロードする作業を
しなくても良く、効率的に復号化作業ができる。
Moreover, after the decryption of the encrypted data is completed, the activated program is erased. Therefore, even after the decryption process, there is no program for decryption in the plaintext state, the security of the decryption program is secured, and as a result, the safety of data is also secured. . Therefore, it is not necessary to take out the storage medium storing the program for the decryption processing from the storage location, set it in the information processing device 2 and load it for each decryption processing, and the decryption can be performed efficiently. I can work.

【0106】また、復号化されたデータも作業メモリ領
域上に残っている場合には、それをクリアしているの
で、より安全性が高い。更に、暗号化データに含まれる
暗号化された一時鍵(第2復号化鍵)を、正当な使用者
の暗/復号化鍵にて復号化する。
Further, when the decrypted data also remains in the working memory area, it is cleared, so that the safety is higher. Further, the encrypted temporary key (second decryption key) included in the encrypted data is decrypted by the encryption / decryption key of the authorized user.

【0107】このようにすることにより、暗号化データ
を復号化するための一時鍵(第2復号化鍵)が得られ、
正当な使用者のみが適切に暗号化データを復号化して平
文データを得ることができる。また、本実施例では、本
体装置としての情報処理装置2と、この情報処理装置2
とは別体に構成され情報処理装置2に対して信号的に任
意に接続したり切断したりすることが可能な付属装置と
してのICカード30とに別れて構成され、情報処理装
置2が、プログラム暗号化記憶処理、プログラム読出処
理、プログラム起動処理、およびプログラム消去処理の
各プログラムを備え、ICカード30が、正当な使用者
の暗/復号化鍵を記憶するとともに、プログラム復号化
処理および鍵復号化処理のプログラムを備える構成とさ
れている。
By doing so, a temporary key (second decryption key) for decrypting the encrypted data is obtained,
Only a legitimate user can properly decrypt the encrypted data and obtain plaintext data. Further, in the present embodiment, the information processing device 2 as the main body device, and the information processing device 2
And an IC card 30 as an auxiliary device that is separately configured and that can be arbitrarily connected to and disconnected from the information processing device 2 in a signal manner. The program includes a program encryption storage process, a program read process, a program starting process, and a program erasing process. The IC card 30 stores the encryption / decryption key of a valid user, and the program decryption process and the key. It is configured to include a decryption processing program.

【0108】このように構成されているため、ICカー
ド30側には、正当な使用者の暗/復号化鍵、プログラ
ム復号化処理および鍵復号化処理のプログラムが存在す
るため、その正当な使用者に対応する暗/復号化鍵、プ
ログラム復号化処理のプログラムおよび鍵復号化処理の
プログラムの安全性が確保され、データの安全性が一層
確保される。
With this configuration, the IC card 30 side has a valid user encryption / decryption key, program decryption processing, and key decryption processing program. The security of the encryption / decryption key, the program of the program decryption process, and the program of the key decryption process corresponding to the person is secured, and the safety of the data is further secured.

【0109】次に、ハードディスク装置18に記憶され
ている、暗号化された第2の暗復号化処理プログラムの
変更処理について説明する。使用者は、まず、情報処理
装置2の電源オンさせた後、受け取った光磁気ディスク
を光磁気ディスクドライブ14にセットし、自己のIC
カード30をICカードリーダー26にセットする。
Next, the changing process of the encrypted second encryption / decryption processing program stored in the hard disk device 18 will be described. First, the user turns on the power supply of the information processing device 2, and then sets the received magneto-optical disk in the magneto-optical disk drive 14 to set his own IC.
The card 30 is set in the IC card reader 26.

【0110】情報処理装置2では、イニシャルプログラ
ムが起動される。この場合の処理は、ステップS100
からステップS240までは、データ暗号化あるいは復
号化の際に説明した通りである。ICカード30におい
ても同様である。勿論、使用者が異なれば、ICカード
30も異なることから、ステップS170にて受信する
IDも異なり、ステップS210にてICカード30へ
送信される暗号化された第2の暗/復号化処理プログラ
ムも異なる。
In the information processing device 2, the initial program is activated. The process in this case is step S100.
The steps from step S240 to step S240 are as described in the data encryption or decryption. The same applies to the IC card 30. Of course, since different users have different IC cards 30, the IDs received in step S170 also differ, and the encrypted second encryption / decryption processing program transmitted to the IC card 30 in step S210. Is also different.

【0111】例えば、使用者のIDがIDcであれば、
暗号化された第2の暗/復号化処理プログラムPr3が対
応していることから、暗号化された第2の暗/復号化処
理プログラムPr3が、ICカード30へ送信され、その
結果、ステップS240により起動されるプログラム
は、第2の暗/復号化処理プログラムPr3が実行され
る。 ステップS240にて第2の暗/復号化処理プロ
グラムPr3が起動されると、まず、図9に示すフローチ
ャートのステップS1010にて、処理メニューの表示
がなされる。
For example, if the user's ID is IDc,
Since the encrypted second encryption / decryption processing program Pr3 is compatible, the encrypted second encryption / decryption processing program Pr3 is transmitted to the IC card 30, and as a result, step S240. The second encryption / decryption processing program Pr3 is executed as the program started by When the second encryption / decryption processing program Pr3 is started in step S240, first, the processing menu is displayed in step S1010 of the flowchart shown in FIG.

【0112】ここで使用者がプログラム変更処理を選択
すると、ステップS1300の処理が開始される。プロ
グラム変更処理を図12のフローチャートに示す。ま
ず、第2の暗/復号化処理プログラムの編集処理がなさ
れる(S1302)。例えば、16進数にて表現されて
いる第2の暗/復号化処理プログラムを逆アセンブルし
て、アセンブリ言語にて表現し、キーボード12による
編集可能とする。編集が終了すれば、編集後の内容がア
センブルされ、実行可能なプログラムに変換される。
When the user selects the program change process here, the process of step S1300 is started. The program change process is shown in the flowchart of FIG. First, the edit processing of the second encryption / decryption processing program is performed (S1302). For example, the second encryption / decryption processing program expressed in hexadecimal is disassembled, expressed in assembly language, and made editable by the keyboard 12. When the editing is completed, the edited contents are assembled and converted into an executable program.

【0113】尚、この編集処理では、単に既に変更され
ている他のプログラムと置き換える処理も含まれる。し
たがって、他の装置で作成したプログラムを新たに、第
2の暗/復号化処理プログラムとして取り込むことがで
きる。また、この編集処理では、単にプログラム中に設
定されている数値や文字列等のデータの変更も含まれ
る。
The editing process includes a process of simply replacing with another program that has already been changed. Therefore, a program created by another device can be newly loaded as the second encryption / decryption processing program. In addition, this editing process includes simply changing the data such as numerical values and character strings set in the program.

【0114】次に、編集後の第2の暗/復号化処理プロ
グラムをICカード30側へ送信し(S1304)、暗
号化された第2の暗/復号化処理プログラムの受信待ち
(S1306)となる。ICカード30側にて、ステッ
プS590,S595およびS600を繰り返している
状態で、暗号化していない第2の暗/復号化処理プログ
ラムを受信すると、ステップS600にて肯定判定され
て、プログラム暗号化処理プログラムPr12により、I
Cカード30の正当な使用者の暗/復号化鍵により第2
の暗/復号化処理プログラムを暗号化する(S65
0)。
Next, the edited second encryption / decryption processing program is transmitted to the IC card 30 side (S1304), and the reception of the encrypted second encryption / decryption processing program is waited (S1306). Become. When the IC card 30 receives the second unencrypted encryption / decryption processing program while repeating steps S590, S595, and S600 on the IC card 30 side, an affirmative decision is made in step S600, and the program encryption processing is executed. By the program Pr12, I
2nd by the encryption / decryption key of the authorized user of the C card 30
Encrypts the encryption / decryption processing program of (S65
0).

【0115】次に、この暗号化された第2の暗/復号化
処理プログラムを情報処理装置2へ送信し(S66
0)、ステップS500の処理に戻る。情報処理装置2
側では、暗号化された第2の暗/復号化処理プログラム
を受信したので、ステップS1306にて肯定判定さ
れ、次に暗号化された第2の暗/復号化処理プログラム
をハードディスク装置18に収納し、そのディスクアド
レスを、使用者ID−プログラムアドレステーブルの
内、IDcと対応させたプログラムアドレスPr3に記入
する(S1308)。
Next, the encrypted second encryption / decryption processing program is transmitted to the information processing device 2 (S66).
0), the process returns to step S500. Information processing device 2
On the side, since the encrypted second encryption / decryption processing program is received, an affirmative decision is made in step S1306, and the encrypted second encryption / decryption processing program is stored in the hard disk device 18. Then, the disk address is entered in the program address Pr3 corresponding to IDc in the user ID-program address table (S1308).

【0116】こうして、プログラム変更処理を終了す
る。以後、ステップS1500の処理を行って、イニシ
ャルプログラムに帰る。イニシャルプログラムでは、ス
テップS250の処理が行われて、RAM8上に存在し
ている第2の暗/復号化処理プログラムをクリアし、ス
テップS110の処理に戻る。
Thus, the program changing process is completed. After that, the process of step S1500 is performed, and the process returns to the initial program. In the initial program, the process of step S250 is performed to clear the second encryption / decryption process program existing in the RAM 8 and the process returns to step S110.

【0117】上述したごとく、本実施例の情報処理装置
2にて起動するプログラム変更処理(図9,図12)
は、正当な使用者により、その使用者専用の暗号化され
た第2の暗/復号化処理プログラムの内容を変更できる
ので、その使用者毎に異なるアルゴリズムや異なる設定
値(プログラム中のデータを変更した場合)にて暗/復
号化することが可能となる。
As described above, the program changing process started by the information processing apparatus 2 of this embodiment (FIGS. 9 and 12).
Allows the authorized user to change the contents of the encrypted second encryption / decryption processing program dedicated to that user, so that different algorithms and different set values (data in the program can be changed for each user). If it is changed), it becomes possible to perform encryption / decryption.

【0118】したがって、使用者毎にプログラムを変更
しておけば、一人の暗/復号化アルゴリズムが第三者に
解析された場合にも、同時に全員のプログラムまで解析
されることはない。また、解析された場合には、プログ
ラム変更処理により、正当な使用者がプログラムを変更
することにより、以後の情報については安全性が確保で
きる。
Therefore, if the program is changed for each user, even when the encryption / decryption algorithm of one person is analyzed by a third party, the programs of all the persons are not simultaneously analyzed. Further, when the information is analyzed, the program changing process allows the authorized user to change the program, so that the security of the subsequent information can be secured.

【0119】また本実施例において、入力操作が行われ
ない場合は、タイムアウト処理(S1106,S120
6)により第2の暗/復号化処理プログラムを終了し、
ステップS250のの処理が行われて、RAM8上に存
在している第2の暗/復号化処理プログラムをクリアし
ているので、使用者が処理の途中で情報処理装置2を離
れても、第三者による解析や改竄を防止できる。ステッ
プS1302にても編集の途中で操作が行われなくなれ
ば、第2の暗/復号化処理プログラムを終了しても良
い。
In this embodiment, if no input operation is performed, a time-out process (S1106, S120).
6) ends the second encryption / decryption processing program,
Since the processing of step S250 is performed to clear the second encryption / decryption processing program existing in the RAM 8, even if the user leaves the information processing device 2 during the processing, It is possible to prevent analysis and falsification by the three parties. If no operation is performed in the middle of editing even in step S1302, the second encryption / decryption processing program may be terminated.

【0120】また、情報処理装置2側では、データ量の
大きい暗号化対象のデータの暗号化あるいは復号化処理
を行い、ICカード30側では、データ量の小さいプロ
グラムや一時鍵の暗号化あるいは復号化処理を行うの
で、全体の処理としては高速に行うことができる。ま
た、ICカード30としては小さくて安価な構成とする
ことができる。
Further, the information processing device 2 side performs encryption or decryption processing of data to be encrypted having a large data amount, and the IC card 30 side encrypts or decrypts a program or temporary key having a small data amount. Since the conversion processing is performed, the overall processing can be performed at high speed. Further, the IC card 30 can be made small and inexpensive.

【0121】また、図13に示したごとく、復号化を許
可する者の数に対応して暗号化されるのは一時鍵のみで
あり、実際の暗号化データは一つのみ存在することか
ら、保管、運搬あるいは通信するデータ量は、復号化を
許可する者の数が多くても、膨大なデー多量とはなら
ず、メモリや記憶媒体あるいは通信時間が節約できる。
Further, as shown in FIG. 13, since only the temporary key is encrypted corresponding to the number of persons who are permitted to decrypt, and only one actual encrypted data exists, The amount of data to be stored, transported, or communicated does not become an enormous amount of data even if the number of persons who are permitted to decrypt is large, and the memory, storage medium, or communication time can be saved.

【0122】本実施例において、ハードディスク装置1
8がプログラム暗号化記憶手段に該当し、ステップS2
10がプログラム読出手段としての処理に該当し、ステ
ップS570がプログラム復号化手段としての処理に該
当し、ステップS240がプログラム起動手段としての
処理に該当し、ステップS250がプログラム消去手段
としての処理に該当し、ステップS610が鍵暗号化手
段としての処理に該当し、ステップS1160が鍵付加
手段としての処理に該当し、ステップS630が鍵復号
化手段としての処理に該当する。
In this embodiment, the hard disk device 1
8 corresponds to the program encryption storage means, and step S2
10 corresponds to the processing as the program reading means, step S570 corresponds to the processing as the program decoding means, step S240 corresponds to the processing as the program starting means, and step S250 corresponds to the processing as the program erasing means. Then, step S610 corresponds to the processing as the key encryption means, step S1160 corresponds to the processing as the key addition means, and step S630 corresponds to the processing as the key decryption means.

【0123】[その他]上述した実施例は、データを暗
号化したり、あるいは暗号化したデータを復号化して平
文データに戻す情報秘匿処理システムであったが、更
に、情報処理装置2が網制御装置およびモデムを備える
ことにより、正当な使用者が前記実施例のごとくデータ
を暗号化して通信回線を介して相手方に送信し、また相
手方が通信回線を介して送信して来た暗号化データを、
前記実施例のごとく正当な使用者(復号化対象者)が復
号化して平文データとして得る情報秘匿通信システムと
して構成しても良い。
[Others] In the above-described embodiment, the information concealment processing system encrypts data or decrypts the encrypted data to return it to plaintext data. By providing a modem and a modem, a legitimate user encrypts the data as in the above embodiment and transmits it to the other party via the communication line, and the encrypted data transmitted by the other party via the communication line,
As in the above-described embodiment, the information confidential communication system may be configured such that a legitimate user (decryption target person) decrypts and obtains it as plaintext data.

【0124】更に、この情報秘匿通信システムに、原稿
の画像読取装置および画像の記録装置を備えることによ
り、ファクシミリ装置として構成し、その原稿の画像デ
ータを、前記実施例のごとく、暗号化あるいは復号化の
対象としても良い。前記実施例では、正当使用者や復号
化対象者をIDで指定していたが、IDでなくても対象
者名でも良いし、IDと対象者名との両方でも良い。
Furthermore, the information confidential communication system is provided with a document image reading device and an image recording device to constitute a facsimile device, and the image data of the document is encrypted or decrypted as in the above embodiment. It may be the target of conversion. In the above embodiment, the authorized user and the decryption target person are designated by the ID, but the target person name may be used instead of the ID, or both the ID and the target person name may be used.

【0125】前記実施例では、ICカード30に記憶さ
れている正当使用者の暗/復号化鍵は、暗号化にも復号
化にも用いられたが、暗号化時は公開鍵を用い、復号化
時には秘密鍵を用いても良い。したがって、正当な使用
者がデータの復号化を許可する相手方暗号化鍵K1,K
2,…,Knは公開鍵であっても良い。
In the above embodiment, the encryption / decryption key of the legitimate user stored in the IC card 30 was used for both encryption and decryption. At the time of encryption, the public key was used for decryption. A private key may be used at the time of conversion. Therefore, the other party's encryption keys K1 and K that allow the authorized user to decrypt the data.
2, ..., Kn may be public keys.

【0126】またICカード30のバックアップRAM
38には、復号化を許可する相手方のID1,ID2,…
とそれに対応した暗号化鍵K1,K2,…とが記憶されて
いたが、直接、このようなIDと暗号化鍵Kとを記憶す
るのではなく、次のようにしても良い。
A backup RAM for the IC card 30
38, ID1, ID2, ...
, And the encryption keys K1, K2, ... Corresponding thereto are stored, but instead of directly storing such an ID and the encryption key K, the following may be performed.

【0127】すなわち、バックアップRAM38に秘密
のアルゴリズムを内蔵し、復号化を許可する相手方のI
Dを入力すると、そのアルゴリズムにしたがって演算処
理にて対応する暗号化鍵Kを生成する構成としても良
い。この構成にすると複数の暗号化鍵を記憶しなくて
も、一つのアルゴリズムのみで、多数のIDから暗号化
鍵を得ることができるので、復号化を許可する者が多い
場合には、メモリの節約となる。
That is, a secret algorithm is built in the backup RAM 38 and I
When D is input, the corresponding encryption key K may be generated by arithmetic processing according to the algorithm. With this configuration, it is possible to obtain an encryption key from a large number of IDs with only one algorithm without storing a plurality of encryption keys. Saves money.

【0128】このIDから演算処理で鍵を生成する構成
を、ICカード30の正当な使用者の暗/復号化鍵に対
しても適用して、正当な使用者のIDから暗/復号化鍵
を生成するようにしても良い。また、ICカード30
は、バックアップRAM38にプログラムや各鍵等を保
管しているので、外装に連動して外装開放時にオフとな
るスイッチをバックアップ電源とバックアップRAM3
8との間に用いれば、外装を開けるとプログラムや鍵等
が消去されることから、安全上、より好ましい。また、
バックアップRAM38の代りに、EEPROMにプロ
グラムや鍵等を記憶しても良い。この場合は、外装と連
動して外装開放時にオンとなるスイッチを電源とEEP
ROMとの間に設ければ、外装を開けると電流が流れて
プログラムや鍵等が消去される。
The configuration for generating a key from this ID by arithmetic processing is also applied to the encryption / decryption key of the legitimate user of the IC card 30 so that the encryption / decryption key is derived from the legitimate user's ID. May be generated. In addition, IC card 30
Stores programs and keys in the backup RAM 38, the switch that is turned off when the exterior is opened in conjunction with the exterior is equipped with a backup power supply and a backup RAM 3.
It is more preferable from the viewpoint of safety that the program, the key and the like will be erased when the outer case is opened, if it is used between No. 8 and 7. Also,
Instead of the backup RAM 38, an EEPROM may store programs, keys, and the like. In this case, the switch that turns on when the exterior is opened in conjunction with the exterior is connected to the power supply and the EEP.
If it is provided between the ROM and the ROM, a current flows when the exterior is opened, and the programs, keys, etc. are erased.

【0129】前記実施例において、イニシャルプログラ
ムはハードディスク装置18でなく、ROM6に格納さ
れていても良い。
In the above embodiment, the initial program may be stored in the ROM 6 instead of the hard disk device 18.

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

【図1】 本発明一実施例を構成する情報処理装置のブ
ロック図である。
FIG. 1 is a block diagram of an information processing apparatus that constitutes an embodiment of the present invention.

【図2】 本発明一実施例を構成するICカードのブロ
ック図である。
FIG. 2 is a block diagram of an IC card that constitutes an embodiment of the present invention.

【図3】 情報処理装置におけるプログラムおよびデー
タの記憶配置説明図である。
FIG. 3 is an explanatory diagram of a storage arrangement of programs and data in the information processing device.

【図4】 ICカードにおけるプログラムおよびデータ
の記憶配置説明図である。
FIG. 4 is an explanatory diagram of storage arrangement of programs and data in an IC card.

【図5】 情報処理装置におけるイニシャルプログラム
のフローチャートである。
FIG. 5 is a flowchart of an initial program in the information processing device.

【図6】 情報処理装置におけるイニシャルプログラム
のフローチャートである。
FIG. 6 is a flowchart of an initial program in the information processing device.

【図7】 ICカード側処理のフローチャートである。FIG. 7 is a flowchart of processing on the IC card side.

【図8】 ICカード側処理のフローチャートである。FIG. 8 is a flowchart of processing on the IC card side.

【図9】 第2の暗/復号化処理のフローチャートであ
る。
FIG. 9 is a flowchart of second encryption / decryption processing.

【図10】 第2の暗/復号化処理の内の暗号化処理の
フローチャートである。
FIG. 10 is a flowchart of an encryption process in the second encryption / decryption process.

【図11】 第2の暗/復号化処理の内の復号化処理の
フローチャートである。
FIG. 11 is a flowchart of a decoding process in the second dark / decoding process.

【図12】 第2の暗/復号化処理の内のプログラム変
更処理のフローチャートである。
FIG. 12 is a flowchart of a program changing process in the second encryption / decryption process.

【図13】 暗号化データの構成説明図である。FIG. 13 is an explanatory diagram of a configuration of encrypted data.

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

2…情報処理装置 4…CPU 6…ROM
8…RAM 10…バックアップRAM 12…キーボード 14…光磁気ディスクドライブ 16…CRTディス
プレイ 18…ハードディスク装置 20…フロッピーディス
クドライブ 22…I/O 24…バス 26…ICカードリー
ダー 30…ICカード 32…CPU 34…ROM
36…RAM 38…バックアップRAM 40…I/O 42…
バス
2 ... Information processing device 4 ... CPU 6 ... ROM
8 ... RAM 10 ... Backup RAM 12 ... Keyboard 14 ... Magneto-optical disk drive 16 ... CRT display 18 ... Hard disk device 20 ... Floppy disk drive 22 ... I / O 24 ... Bus 26 ... IC card reader 30 ... IC card 32 ... CPU 34 ... ROM
36 ... RAM 38 ... Backup RAM 40 ... I / O 42 ...
bus

Claims (21)

【特許請求の範囲】[Claims] 【請求項1】プログラムに基づく暗号化処理によりデー
タを暗号化する暗号化システムにおいて、 前記プログラムを、使用者に対応する第1暗号化鍵によ
り暗号化した状態で記憶するプログラム暗号化記憶手段
と、 前記プログラム暗号化記憶手段内から、使用者に対応す
る第1暗号化鍵にて暗号化された前記プログラムを読み
出すプログラム読出手段と、 前記プログラム読出手段により読み出された前記プログ
ラムを、使用者に対応する復号化鍵により復号化するプ
ログラム復号化手段と、 前記プログラム復号化手段により復号化されたプログラ
ムを起動させることにより、暗号化対象データを第2暗
号化鍵にて暗号化させて暗号化データとするプログラム
起動手段と、 前記プログラム起動手段にて暗号化対象データの暗号化
が完了すると、復号されて起動対象となった前記プログ
ラムを消去するプログラム消去手段と、 を備えたことを特徴とする暗号化システム。
1. An encryption system for encrypting data by a program-based encryption process, and a program encryption storage means for storing the program in a state of being encrypted by a first encryption key corresponding to a user. A program reading unit that reads the program encrypted by the first encryption key corresponding to the user from the program encryption storage unit; and a user who reads the program read by the program reading unit. The program decryption means for decrypting with the decryption key corresponding to, and the program decrypted by the program decrypting means are activated to encrypt the data to be encrypted with the second encryption key. The program starting means to be the encrypted data, and the encryption of the data to be encrypted is completed by the program starting means. , Encryption system, characterized by comprising a program erase means for erasing the program of the activating object is decoded.
【請求項2】更に、 前記第2暗号化鍵を、第3暗号化鍵にて暗号化する鍵暗
号化手段と、 前記鍵暗号化手段にて暗号化された前記第2暗号化鍵
を、前記暗号化データに付加する鍵付加手段と、 を備えた請求項1記載の暗号化システム。
2. A key encryption means for encrypting the second encryption key with a third encryption key, and the second encryption key encrypted with the key encryption means, The encryption system according to claim 1, further comprising a key addition unit that adds the encrypted data to the encrypted data.
【請求項3】前記鍵付加手段が、前記プログラムの機能
として実現されている請求項2記載の暗号化システム。
3. The encryption system according to claim 2, wherein the key addition means is realized as a function of the program.
【請求項4】前記プログラムが、第2暗号化鍵を演算に
て求める請求項1〜3のいずれかに記載の暗号化システ
ム。
4. The encryption system according to claim 1, wherein the program obtains the second encryption key by calculation.
【請求項5】本体装置と、この本体装置とは別体に構成
され前記本体装置に対して信号的に任意に接続したり切
断したりすることが可能な付属装置とからなり、 前記本体装置が、前記プログラム暗号化記憶手段、前記
プログラム読出手段、前記プログラム起動手段、および
前記プログラム消去手段を備え、 前記付属装置が、前記使用者に対応する復号化鍵を記憶
するとともに、前記プログラム復号化手段を備える請求
項1記載の暗号化システム。
5. A main body device and an auxiliary device which is formed separately from the main body device and can be arbitrarily connected to or disconnected from the main body device in a signal manner. Is provided with the program encryption storage means, the program reading means, the program starting means, and the program erasing means, and the auxiliary device stores a decryption key corresponding to the user and the program decryption. The encryption system according to claim 1, further comprising means.
【請求項6】本体装置と、この本体装置とは別体に構成
され前記本体装置に対して信号的に任意に接続したり切
断したりすることが可能な付属装置とからなり、 前記本体装置が、前記プログラム暗号化記憶手段、前記
プログラム読出手段、前記プログラム復号化手段、前記
プログラム起動手段、および前記プログラム消去手段を
備え、 前記付属装置が、前記第3暗号化鍵を記憶するととも
に、前記鍵暗号化手段を備える請求項3記載の暗号化シ
ステム。
6. A main body device and an auxiliary device which is formed separately from the main body device and which can be arbitrarily connected to or disconnected from the main body device by a signal. Includes the program encryption storage means, the program reading means, the program decryption means, the program starting means, and the program erasing means, and the auxiliary device stores the third encryption key, and The encryption system according to claim 3, further comprising a key encryption means.
【請求項7】本体装置と、この本体装置とは別体に構成
され前記本体装置に対して信号的に任意に接続したり切
断したりすることが可能な付属装置とからなり、 前記本体装置が、前記プログラム暗号化記憶手段、前記
プログラム読出手段、前記プログラム起動手段、および
前記プログラム消去手段を備え、 前記付属装置が、前記使用者に対応する復号化鍵および
前記第3暗号化鍵を記憶するとともに、前記プログラム
復号化手段および前記鍵暗号化手段を備える請求項3記
載の暗号化システム。
7. A main body device and an auxiliary device which is formed separately from the main body device and can be arbitrarily connected to or disconnected from the main body device in a signal manner. Includes the program encryption storage means, the program reading means, the program starting means, and the program erasing means, and the auxiliary device stores the decryption key and the third encryption key corresponding to the user. The encryption system according to claim 3, further comprising the program decryption means and the key encryption means.
【請求項8】前記付属装置が、前記第3暗号化鍵を、復
号化を許可する者の管理コードと対応したリストとして
記憶する請求項6または7記載の暗号化システム。
8. The encryption system according to claim 6, wherein the attached device stores the third encryption key as a list corresponding to a management code of a person who permits decryption.
【請求項9】前記付属装置が、前記復号化鍵または前記
第3暗号化鍵を直接記憶せず、前記復号化鍵または前記
第3暗号化鍵が必要とされた場合に、対応する管理コー
ドを用いた演算にて、前記復号化鍵または前記第3暗号
化鍵を生成する請求項5〜7のいずれかに記載の暗号化
システム。
9. The management code corresponding to the case where the auxiliary device does not directly store the decryption key or the third encryption key and the decryption key or the third encryption key is required. The encryption system according to claim 5, wherein the decryption key or the third encryption key is generated by a calculation using.
【請求項10】前記プログラムが、所定時間以内に使用
者により次の入力操作が行われない場合に、自己の処理
を中止して、前記プログラム消去手段の処理を実行させ
る機能を有する請求項1〜9記載の暗号化システム。
10. The program has a function of stopping its own processing and executing the processing of the program erasing means when the user does not perform the next input operation within a predetermined time. ~ 9 encryption system.
【請求項11】プログラムに基づく復号化処理により暗
号化データを復号化する復号化システムにおいて、 前記プログラムを、使用者に対応する第1暗号化鍵によ
り暗号化した状態で記憶するプログラム暗号化記憶手段
と、 前記プログラム暗号化記憶手段内から、使用者に対応す
る第1暗号化鍵にて暗号化された前記プログラムを読み
出すプログラム読出手段と、 前記プログラム読出手段により読み出された前記プログ
ラムを、使用者に対応する復号化鍵により復号化するプ
ログラム復号化手段と、 前記プログラム復号化手段により復号化された前記プロ
グラムを起動させることにより、暗号化データを第2復
号化鍵にて復号化させて復号化データとするプログラム
起動手段と、 前記プログラム起動手段にて暗号化データの復号化が完
了すると、復号化されて起動対象となった前記プログラ
ムを消去するプログラム消去手段と、 を備えたことを特徴とする復号化システム。
11. A decryption system for decrypting encrypted data by a decryption process based on a program, wherein the program encryption storage stores the program in a state encrypted by a first encryption key corresponding to a user. Means for reading the program encrypted by the first encryption key corresponding to the user from the program encryption storage means; and the program read by the program read means, A program decryption unit that decrypts with the decryption key corresponding to the user, and the program decrypted by the program decryption unit is activated to decrypt the encrypted data with the second decryption key. And program decryption of the encrypted data is completed by the program activation means. That the decoding system characterized by comprising a program erase means for erasing the program of the activating object is decoded.
【請求項12】更に、 前記暗号化データに含まれる暗号化された第2復号化鍵
を、使用者に対応する復号化鍵にて復号化する鍵復号化
手段を備えた請求項11記載の復号化システム。
12. The key decryption means for decrypting the encrypted second decryption key contained in the encrypted data with a decryption key corresponding to a user. Decryption system.
【請求項13】本体装置と、この本体装置とは別体に構
成され前記本体装置に対して信号的に任意に接続したり
切断したりすることが可能な付属装置とからなり、 前記本体装置が、前記プログラム暗号化記憶手段、前記
プログラム読出手段、前記プログラム起動手段、および
前記プログラム消去手段を備え、 前記付属装置が、前記使用者に対応する復号化鍵を記憶
するとともに、前記プログラム復号化手段を備える請求
項11記載の復号化システム。
13. A main body device and an auxiliary device which is formed separately from the main body device and can be arbitrarily connected or disconnected in signal with respect to the main body device. Is provided with the program encryption storage means, the program reading means, the program starting means, and the program erasing means, and the auxiliary device stores a decryption key corresponding to the user and the program decryption. The decoding system according to claim 11, comprising means.
【請求項14】本体装置と、この本体装置とは別体に構
成され前記本体装置に対して信号的に任意に接続したり
切断したりすることが可能な付属装置とからなり、 前記本体装置が、前記プログラム暗号化記憶手段、前記
プログラム読出手段、前記プログラム復号化手段、前記
プログラム起動手段、および前記プログラム消去手段を
備え、 前記付属装置が、前記使用者に対応する復号化鍵を記憶
するとともに、前記鍵復号化手段を備える請求項12記
載の復号化システム。
14. A main body device, and an auxiliary device which is formed separately from the main body device and can be arbitrarily connected to or disconnected from the main body device in a signal manner. Is provided with the program encryption storage means, the program reading means, the program decryption means, the program starting means, and the program erasing means, and the auxiliary device stores a decryption key corresponding to the user. The decryption system according to claim 12, further comprising the key decryption means.
【請求項15】本体装置と、この本体装置とは別体に構
成され前記本体装置に対して信号的に任意に接続したり
切断したりすることが可能な付属装置とからなり、 前記本体装置が、前記プログラム暗号化記憶手段、前記
プログラム読出手段、前記プログラム起動手段、および
前記プログラム消去手段を備え、 前記付属装置が、前記使用者に対応する復号化鍵を記憶
するとともに、前記プログラム復号化手段および前記鍵
復号化手段を備える請求項12記載の復号化システム。
15. A main body device and an auxiliary device which is formed separately from the main body device and can be arbitrarily connected to or disconnected from the main body device in a signal manner. Is provided with the program encryption storage means, the program reading means, the program starting means, and the program erasing means, and the auxiliary device stores a decryption key corresponding to the user and the program decryption. A decryption system according to claim 12, comprising means and said key decryption means.
【請求項16】前記付属装置が、前記復号化鍵を直接記
憶せず、前記復号化鍵が必要とされた場合に、対応する
管理コードを用いた演算にて、前記復号化鍵を生成する
請求項13〜15のいずれかに記載の復号化システム。
16. The auxiliary device does not directly store the decryption key, and when the decryption key is required, the decryption key is generated by an operation using a corresponding management code. The decoding system according to any one of claims 13 to 15.
【請求項17】前記プログラムが、所定時間以内に使用
者により次の入力操作が行われない場合に、自己の処理
を中止して、前記プログラム消去手段の処理を実行させ
る機能を有する請求項11〜16記載の復号化システ
ム。
17. The program has a function of stopping its own processing and executing the processing of the program erasing means when the user does not perform the next input operation within a predetermined time. Decoding system according to any one of 16 to 16.
【請求項18】請求項1〜10のいずれか記載の暗号化
システムと請求項11〜17記載の復号化システムとが
組合わされてなる情報秘匿処理システム。
18. An information security processing system in which the encryption system according to any one of claims 1 to 10 and the decryption system according to any one of claims 11 to 17 are combined.
【請求項19】前記暗号化データを通信回線を介して相
手方に送信する送信手段を備える請求項1〜10のいず
れか記載の暗号化システム。
19. The encryption system according to claim 1, further comprising a transmission means for transmitting the encrypted data to the other party via a communication line.
【請求項20】前記暗号化データを通信回線を介して受
信する受信手段を備える請求項11〜17のいずれか記
載の復号化システム。
20. The decryption system according to claim 11, further comprising receiving means for receiving the encrypted data via a communication line.
【請求項21】請求項19記載の暗号化システムと請求
項20記載の復号化システムとが組合わされてなる情報
秘匿通信システム。
21. An information secret communication system in which the encryption system according to claim 19 and the decryption system according to claim 20 are combined.
JP7154513A 1995-06-21 1995-06-21 Encryption system, decryption system, information confidential processing system and information confidential communication system Pending JPH096232A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7154513A JPH096232A (en) 1995-06-21 1995-06-21 Encryption system, decryption system, information confidential processing system and information confidential communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7154513A JPH096232A (en) 1995-06-21 1995-06-21 Encryption system, decryption system, information confidential processing system and information confidential communication system

Publications (1)

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

Family

ID=15585903

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7154513A Pending JPH096232A (en) 1995-06-21 1995-06-21 Encryption system, decryption system, information confidential processing system and information confidential communication system

Country Status (1)

Country Link
JP (1) JPH096232A (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11215384A (en) * 1998-01-28 1999-08-06 Fuji Photo Film Co Ltd Encrypted photo processing system
WO2000008595A1 (en) * 1998-08-04 2000-02-17 Fujitsu Limited Signature system for presenting user signature information
JP2001325101A (en) * 2000-05-16 2001-11-22 Shinjo Keiei Kenkyusho:Kk Information processing device and control module
JP2004501591A (en) * 2000-06-20 2004-01-15 コスキンス スティーブン ジェイムズ ジョセフ System and method for delivering data
GB2367164B (en) * 2000-05-16 2004-12-08 Hewlett Packard Co Secure storage and execution of processor control programs by encryption and a program loader/decryption mechanism
JP2006018825A (en) * 2004-06-30 2006-01-19 Microsoft Corp System and method for protected operating system boot using state verification
JP2007011535A (en) * 2005-06-29 2007-01-18 Miroku Jyoho Service Co Ltd Data file protector
US7228423B2 (en) 2002-08-01 2007-06-05 Matsushita Electric Industrial Co., Ltd. Apparatuses and methods for decrypting encrypted data and locating the decrypted data in a memory space used for execution
JP2007172110A (en) * 2005-12-20 2007-07-05 Hitachi Omron Terminal Solutions Corp Information processing device
JP2007248990A (en) * 2006-03-17 2007-09-27 Taito Corp Incorporating device, execution data generation method, execution data generation program, and authentication server
JP2010039891A (en) * 2008-08-07 2010-02-18 Nec Corp Information processor, program execution method, program and information processing system
US7698572B2 (en) 2001-02-16 2010-04-13 Infineon Technologies Ag Security module with volatile memory for storing an algorithm code
US8135963B2 (en) 2005-02-10 2012-03-13 Panasonic Corporation Program conversion device and program execution device
JP2021190915A (en) * 2020-06-02 2021-12-13 株式会社メディアドゥ Content usage system, content usage method, user terminal, program and distribution server

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11215384A (en) * 1998-01-28 1999-08-06 Fuji Photo Film Co Ltd Encrypted photo processing system
US7107454B2 (en) 1998-08-04 2006-09-12 Fujitsu Limited Signature system presenting user signature information
WO2000008595A1 (en) * 1998-08-04 2000-02-17 Fujitsu Limited Signature system for presenting user signature information
JP2001325101A (en) * 2000-05-16 2001-11-22 Shinjo Keiei Kenkyusho:Kk Information processing device and control module
GB2367164B (en) * 2000-05-16 2004-12-08 Hewlett Packard Co Secure storage and execution of processor control programs by encryption and a program loader/decryption mechanism
JP2004501591A (en) * 2000-06-20 2004-01-15 コスキンス スティーブン ジェイムズ ジョセフ System and method for delivering data
US7698572B2 (en) 2001-02-16 2010-04-13 Infineon Technologies Ag Security module with volatile memory for storing an algorithm code
US7228423B2 (en) 2002-08-01 2007-06-05 Matsushita Electric Industrial Co., Ltd. Apparatuses and methods for decrypting encrypted data and locating the decrypted data in a memory space used for execution
US7747870B2 (en) 2002-08-01 2010-06-29 Panasonic Corporation Apparatuses and methods for decrypting encrypted data and locating the decrypted data in a memory space used for execution
JP2006018825A (en) * 2004-06-30 2006-01-19 Microsoft Corp System and method for protected operating system boot using state verification
JP2011187089A (en) * 2004-06-30 2011-09-22 Microsoft Corp System and method for protected operating system boot using state validation
US8135963B2 (en) 2005-02-10 2012-03-13 Panasonic Corporation Program conversion device and program execution device
JP2007011535A (en) * 2005-06-29 2007-01-18 Miroku Jyoho Service Co Ltd Data file protector
JP2007172110A (en) * 2005-12-20 2007-07-05 Hitachi Omron Terminal Solutions Corp Information processing device
JP2007248990A (en) * 2006-03-17 2007-09-27 Taito Corp Incorporating device, execution data generation method, execution data generation program, and authentication server
JP2010039891A (en) * 2008-08-07 2010-02-18 Nec Corp Information processor, program execution method, program and information processing system
JP2021190915A (en) * 2020-06-02 2021-12-13 株式会社メディアドゥ Content usage system, content usage method, user terminal, program and distribution server

Similar Documents

Publication Publication Date Title
US6460138B1 (en) User authentication for portable electronic devices using asymmetrical cryptography
US7539864B2 (en) Methods and portable device for digitally signing data
US5768373A (en) Method for providing a secure non-reusable one-time password
US7603565B2 (en) Apparatus and method for authenticating access to a network resource
JPH0697931A (en) Personal communication terminal registration control system
US6816970B2 (en) Security method and system for persistent storage and communications on computer network systems and computer network systems employing the same
GB2050021A (en) Method and means for securing the distribution of encoding keys
JP2005010826A (en) Authentication terminal device, biometric information authentication system, and biometric information acquisition system
WO2005031580A1 (en) Information processing apparatus, information processing system and program
WO2002044872A2 (en) Anti-spoofing password protection
WO2011032378A1 (en) Method and device for protecting data security of mobile communication terminal
JPH07162407A (en) User support device for encrypted communication in network system
US7660798B1 (en) System and method for providing document security, access control and automatic identification of recipients
JP2003152708A (en) Document transmission method and system
JP4327900B1 (en) Information processing system, terminal device, transmission server device, information processing method, and program
JP2001057551A (en) Encrypted communication system and encrypted communication method
JPH10271107A (en) Data encryption method and device
JPH11168460A (en) Cryptographic network system and method
JP2003304228A (en) Encryption system and its method
JPH11161167A (en) Encryption apparatus and method, and recording medium recording encryption program
CN1997141B (en) A method and system for control of the video captured figure in the instant communication
JP2002196669A (en) Encrypted data communication method, and encrypted data generation system and recording medium therefor
JP2003134107A (en) Personal authentication system, personal authentication method, and personal authentication program
JP2005259012A (en) Security print system
JP4337967B2 (en) Security network system

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040608