JP2954172B1 - Data encryption / decryption device, recording medium recording data encryption / decryption program - Google Patents

Data encryption / decryption device, recording medium recording data encryption / decryption program

Info

Publication number
JP2954172B1
JP2954172B1 JP17171498A JP17171498A JP2954172B1 JP 2954172 B1 JP2954172 B1 JP 2954172B1 JP 17171498 A JP17171498 A JP 17171498A JP 17171498 A JP17171498 A JP 17171498A JP 2954172 B1 JP2954172 B1 JP 2954172B1
Authority
JP
Japan
Prior art keywords
encryption
decoding
data
random number
transformation
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.)
Expired - Fee Related
Application number
JP17171498A
Other languages
Japanese (ja)
Other versions
JP2000010476A (en
Inventor
浩 和田
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.)
KYUSHU NIPPON DENKI SOFUTOEA KK
Original Assignee
KYUSHU NIPPON DENKI SOFUTOEA KK
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 KYUSHU NIPPON DENKI SOFUTOEA KK filed Critical KYUSHU NIPPON DENKI SOFUTOEA KK
Priority to JP17171498A priority Critical patent/JP2954172B1/en
Application granted granted Critical
Publication of JP2954172B1 publication Critical patent/JP2954172B1/en
Publication of JP2000010476A publication Critical patent/JP2000010476A/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

【要約】 【課題】 複数の異なるパターンの変換を、複数回不特
定回数適用することにより、より解読困難な暗号化、及
びこのように暗号化されたデータの復号化を行うことが
可能な、データ暗号化装置、データ復号化装置、データ
暗号化プログラムを記録した記録媒体、及びデータ復号
化プログラムを記録した記録媒体を提供する。 【解決手段】 入力部10から出力されたデータを暗号
化して、データ出力部20に出力するデータ暗号化装置
100において、暗号化処理部4が、入力部10から出
力されたデータを入力し、この入力したデータに対し
て、nを1以上の任意の整数として、n個の暗号化用置
換データテーブル33に基づいて、暗号化を行うことに
よって、入力したデータを暗号化して出力する。
Abstract: PROBLEM TO BE SOLVED: To apply encryption of a plurality of different patterns an unspecified number of times to perform more difficult encryption and decryption of data encrypted in this manner. Provided are a data encryption device, a data decryption device, a recording medium recording a data encryption program, and a recording medium recording a data decryption program. SOLUTION: In a data encryption device 100 that encrypts data output from an input unit 10 and outputs the data to a data output unit 20, an encryption processing unit 4 inputs the data output from the input unit 10, The input data is encrypted based on the n replacement data tables 33 for encryption, where n is an arbitrary integer equal to or greater than 1, thereby encrypting the input data and outputting the encrypted data.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、暗号化が必要なデ
ータを暗号化する際に、1つのデータに対して複数回の
変換による暗号化処理を行うことによって、解読が困難
な暗号化データを生成すると共に、このように暗号化さ
れたデータを復号化して利用することが可能なデータ暗
号化装置、データ復号化装置、データ暗号化プログラム
を記録した記録媒体、及びデータ復号化プログラムを記
録した記録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an encrypted data which is difficult to decrypt by encrypting one data a plurality of times when encrypting the data which needs to be encrypted. A data encryption device, a data decryption device, a recording medium on which a data encryption program is recorded, and a data decryption program, which can decrypt and use the data thus encrypted. Related to a recorded medium.

【0002】[0002]

【従来の技術】従来、多量のデータを効率良く処理する
ために、種々のデータ処理システムが提案されている。
2. Description of the Related Art Conventionally, various data processing systems have been proposed for efficiently processing a large amount of data.

【0003】しかし、データの処理を行うシステムか
ら、一時的にディスクなどの記録媒体上のファイルへデ
ータを出力し、他の処理システムへのデータの受渡しを
行うような場合、データを参照される危険性がある。
However, when data is temporarily output from a system for processing data to a file on a recording medium such as a disk and the data is transferred to another processing system, the data is referred to. There is a risk.

【0004】従って、秘密保護の点で、このようなデー
タを解読の困難な方法で暗号化する技術が不可欠であ
る。従来の手段は、暗号化のためのテーブルの作成手段
や暗号化手法自体を複雑化し、特殊な方法で暗号化する
ことで、解読を困難にするものであった。
Therefore, a technique for encrypting such data in a manner that is difficult to decrypt is indispensable in terms of security protection. The conventional means complicates the means for creating a table for encryption and the encryption method itself, and makes it difficult to decrypt by encrypting with a special method.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、暗号化
のためのテーブルの作成手段や暗号化手法自体を複雑化
し、特殊な方法で暗号化することで、解読を困難にする
という従来の暗号化技術は、データ処理システムの構造
を複雑にし、さらに、暗号化手法自体が判別してしまう
と、その暗号の解読が容易になってしまうという問題点
を有している。
However, a conventional encryption technique which makes the means for creating a table for encryption and the encryption method itself complicated and makes it difficult to decrypt by encrypting with a special method. However, there is a problem that the structure of the data processing system is complicated, and if the encryption method itself is determined, the decryption of the encryption becomes easy.

【0006】本発明は、上記事情に鑑みなされてもの
で、複数の異なるパターンの変換を、複数回不特定回数
適用することにより、より解読困難な暗号化、及びこの
ように暗号化されたデータの復号化を行うことが可能
な、データ暗号化装置、データ復号化装置、データ暗号
化プログラムを記録した記録媒体、及びデータ復号化プ
ログラムを記録した記録媒体を提供することを目的とす
る。
The present invention has been made in view of the above circumstances, and thus, by applying a plurality of different pattern conversions a plurality of indefinite times, it is possible to obtain more difficult encryption and data encrypted in this manner. It is an object of the present invention to provide a data encryption device, a data decryption device, a recording medium on which a data encryption program is recorded, and a recording medium on which a data decryption program is recorded.

【0007】[0007]

【課題を解決するための手段】かかる目的を達成するた
めに、請求項1記載の発明のデータ暗号化装置は、入力
手段から出力されたデータを暗号化して、データ出力手
段に出力するデータ暗号化装置であって、入力手段から
出力された暗号化用乱数データテーブル生成キーに基づ
き、暗号化用乱数データテーブルを生成する暗号化用乱
数データテーブル生成処理手段と、入力手段から出力さ
れた暗号化用乱数データテーブル変形キーに基づき、暗
号化用乱数データテーブルを変形するための、nを1以
上の任意の整数として、第1の暗号化用変形パターンテ
ーブルから、第nの暗号化用変形パターンテーブルまで
のn個の暗号化用変形パターンテーブルにより構成され
る暗号化用変形パターンテーブル、及び、入力手段から
出力された暗号化用乱数データテーブル変形キーに基づ
き、第1の暗号化用変形パターンテーブルから、第nの
暗号化用変形パターンテーブルまでのそれぞれの暗号化
用変形パターンテーブルに基づく変形を、それぞれ何
回、暗号化用乱数データテーブルに対して行うのかを表
す、第1の変形回数から、第nの変形回数までのn個の
変形回数により構成される暗号化用変形回数テーブル、
を出力する暗号化用乱数データテーブル変形方法選択処
理手段と、暗号化用変形パターンテーブル、及び、暗号
化用変形回数テーブルに基づき、暗号化用乱数データテ
ーブルを変形することにより、n個の暗号化用置換デー
タテーブルにより構成される暗号化用置換データテーブ
ル群を生成する、暗号化用置換データテーブル生成処理
手段と、n個の暗号化用置換データテーブルにより構成
される暗号化用置換データテーブル群に基づいて、暗号
化を行うことによって、入力したデータを暗号化して出
力する暗号化処理手段とを有することを特徴とする。
In order to achieve the above object, a data encryption apparatus according to the first aspect of the present invention encrypts data output from an input means and outputs the encrypted data to a data output means. An encryption random number data table generation processing means for generating an encryption random number data table based on an encryption random number data table generation key output from an input means; and an encryption output table output from the input means. From the first encryption deformation pattern table, n is an n-th arbitrary integer for deforming the encryption random number data table based on the encryption random number data table deformation key. An encryption modification pattern table composed of n encryption modification pattern tables up to the pattern table, and encryption output from the input means On the basis of the random number data table modification key, how many times are the transformations based on the respective encryption transformation pattern tables from the first encryption transformation pattern table to the n-th encryption transformation pattern table performed for encryption. A transformation number table for encryption composed of n transformation times from the first transformation number to the n-th transformation number, indicating whether the modification is performed on the random number data table;
By transforming the encryption random number data table based on the encryption random number data transformation method selection processing means for outputting the encryption random number data table, the encryption transformation pattern table, and the encryption transformation number table. Replacement data table generation processing means for generating an encryption replacement data table group composed of encryption replacement data tables, and an encryption replacement data table composed of n encryption replacement data tables Encryption processing means for encrypting input data by performing encryption based on the group and outputting the encrypted data.

【0008】請求項2記載の発明のデータ復号化装置
は、入力手段から出力されたデータを復号化して、デー
タ出力手段に出力するデータ復号化装置であって、入力
手段から出力された復号化用乱数データテーブル生成キ
ーに基づき、復号化用乱数データテーブルを生成する復
号化用乱数データテーブル生成処理手段と、入力手段か
ら出力された復号化用乱数データテーブル変形キーに基
づき、復号化用乱数データテーブルを変形するための、
nを1以上の任意の整数として、第1の復号化用変形パ
ターンテーブルから、第nの復号化用変形パターンテー
ブルまでのn個の復号化用変形パターンテーブルにより
構成される復号化用変形パターンテーブル、及び、入力
手段から出力された復号化用乱数データテーブル変形キ
ーに基づき、第1の復号化用変形パターンテーブルか
ら、第nの復号化用変形パターンテーブルまでのそれぞ
れの復号化用変形パターンテーブルに基づく変形を、そ
れぞれ何回、復号化用乱数データテーブルに対して行う
のかを表す、第1の変形回数から、第nの変形回数まで
のn個の変形回数により構成される復号化用変形回数テ
ーブル、を出力する復号化用乱数データテーブル変形方
法選択処理手段と、復号化用変形パターンテーブル、及
び、復号化用変形回数テーブルに基づき、復号化用乱数
データテーブルを変形することにより、n個の復号化用
変形乱数データテーブルにより構成される復号化用変形
乱数データテーブル群を生成し、復号化用変形乱数デー
タテーブル群に基づき、復号化を行うためのn個の復号
化用置換データテーブルにより構成される復号化用置換
データテーブル群を生成する、復号化用置換データテー
ブル生成処理手段と、n個の復号化用置換データテーブ
ルにより構成される復号化用置換データテーブル群に基
づいて、復号化を行うことによって、入力したデータを
復号化して出力する復号化処理手段とを有することを特
徴とする。
According to a second aspect of the present invention, there is provided a data decoding apparatus for decoding data output from an input means and outputting the decoded data to a data output means. A decoding random number data table generation processing means for generating a decoding random number data table based on the random number data table generation key; and a decoding random number data based on a decoding random number data table transformation key output from the input means. To transform the data table,
When n is an arbitrary integer of 1 or more, a modified decoding pattern composed of n decoding modified pattern tables from the first modified decoding pattern table to the n-th modified decoding pattern table Tables and respective decoding deformation patterns from the first decoding deformation pattern table to the n-th decoding deformation pattern table based on the decoding random number data table deformation key output from the input means. The number of transformations from the first transformation number to the n-th transformation number indicates the number of times each of the transformations based on the table is performed on the decoding random number data table. Decoding random number data table deformation method selection processing means for outputting a deformation count table, a decoding deformation pattern table, and a decoding deformation time table By modifying the decoding random number data table based on the table, a decoding modified random number data table group composed of n decoding modified random number data tables is generated, and the decoding modified random number data table group is generated. Generating a replacement data table group for decoding composed of n replacement data tables for decoding, based on the Decoding processing means for decoding input data by performing decoding based on a replacement data table group for decoding constituted by a replacement data table.

【0009】請求項3記載の発明のデータ暗号化プログ
ラムを記録した記録媒体は、入力手段から出力されたデ
ータを暗号化して出力するための暗号化手段を具備する
データ処理装置において用いられるデータ暗号化プログ
ラムを記録した記録媒体であって、入力手段から出力さ
れた暗号化用乱数データテーブル生成キーに基づき、暗
号化用乱数データテーブルを生成するための暗号化用乱
数データテーブル生成処理手順のプログラムと、入力手
段から出力された暗号化用乱数データテーブル変形キー
に基づき、暗号化用乱数データテーブルを変形するため
の、nを1以上の任意の整数として、第1の暗号化用変
形パターンテーブルから、第nの暗号化用変形パターン
テーブルまでのn個の暗号化用変形パターンテーブルに
より構成される暗号化用変形パターンテーブル、及び、
入力手段から出力された暗号化用乱数データテーブル変
形キーに基づき、第1の暗号化用変形パターンテーブル
から、第nの暗号化用変形パターンテーブルまでのそれ
ぞれの暗号化用変形パターンテーブルに基づく変形を、
それぞれ何回、暗号化用乱数データテーブルに対して行
うのかを表す、第1の変形回数から、第nの変形回数ま
でのn個の変形回数により構成される暗号化用変形回数
テーブル、を出力する暗号化用乱数データテーブル変形
方法選択処理手順のプログラムと、暗号化用変形パター
ンテーブル、及び、暗号化用変形回数テーブルに基づ
き、暗号化用乱数データテーブルを変形することによ
り、n個の暗号化用置換データテーブルを生成する、暗
号化用置換データテーブル生成処理手順のプログラム
と、n個の暗号化用置換データテーブルに基づいて、暗
号化を行うことによって、入力したデータを暗号化して
出力する暗号化処理手順のプログラムとが記録されてい
ることを特徴とする。
According to a third aspect of the present invention, there is provided a recording medium on which a data encryption program is recorded, wherein the data encryption device is provided with an encryption unit for encrypting and outputting data output from an input unit. A storage medium storing an encryption program, the encryption random number data table generation processing procedure program for generating an encryption random number data table based on the encryption random number data table generation key output from the input means And a first encryption deformation pattern table, where n is an arbitrary integer of 1 or more for deforming the encryption random number data table based on the encryption random number data table deformation key output from the input means. To the n-th encryption deformation pattern table, the encryption Of deformable pattern table and,
Based on the encryption random number data transformation key output from the input means, the modification from the first encryption transformation pattern table to the n-th encryption transformation pattern table based on each of the encryption transformation pattern tables. To
Outputs an encryption transformation number table composed of n transformation times from the first transformation number to the n-th transformation number, which indicates how many times the encryption random number data table is to be performed. By modifying the encryption random number data table based on the program of the encryption random number data transformation method selection processing procedure, the encryption transformation pattern table, and the encryption transformation number table, n The input data is encrypted and output by performing encryption based on the program for the encryption replacement data table generation processing procedure for generating the encryption replacement data table and the n pieces of encryption replacement data tables. And a program of an encryption processing procedure to be performed is recorded.

【0010】請求項4記載の発明のデータ復号化プログ
ラムを記録した記録媒体は、入力手段から出力されたデ
ータを復号化して出力するための復号化手段を具備する
データ処理装置において用いられるデータ復号化プログ
ラムを記録した記録媒体であって、入力手段から出力さ
れた復号化用乱数データテーブル生成キーに基づき、復
号化用乱数データテーブルを生成する復号化用乱数デー
タテーブル生成処理手順のプログラムと、入力手段から
出力された復号化用乱数データテーブル変形キーに基づ
き、復号化用乱数データテーブルを変形するための、n
を1以上の任意の整数として、第1の復号化用変形パタ
ーンテーブルから、第nの復号化用変形パターンテーブ
ルまでのn個の復号化用変形パターンテーブルにより構
成される復号化用変形パターンテーブル、及び、入力手
段から出力された復号化用乱数データテーブル変形キー
に基づき、第1の復号化用変形パターンテーブルから、
第nの復号化用変形パターンテーブルまでのそれぞれの
復号化用変形パターンテーブルに基づく変形を、それぞ
れ何回、復号化用乱数データテーブルに対して行うのか
を表す、第1の変形回数から、第nの変形回数までのn
個の変形回数により構成される復号化用変形回数テーブ
ル、を出力する復号化用乱数データテーブル変形方法選
択処理手順のプログラムと、復号化用変形パターンテー
ブル、及び、復号化用変形回数テーブルに基づき、復号
化用乱数データテーブルを変形することにより、n個の
復号化用変形乱数データテーブルにより構成される復号
化用変形乱数データテーブル群を生成し、復号化用変形
乱数データテーブル群に基づき、復号化を行うためのn
個の復号化用置換データテーブルを生成する、復号化用
置換データテーブル生成処理手順のプログラムと、n個
の復号化用置換データテーブルに基づいて、復号化を行
うことによって、入力したデータを復号化して出力する
復号化処理手順のプログラムとが記録されていることを
特徴とする。
According to a fourth aspect of the present invention, there is provided a recording medium on which a data decoding program is recorded, wherein the data decoding apparatus is provided with a decoding means for decoding data outputted from the input means and outputting the decoded data. A recording medium on which a decryption program is recorded, based on a decryption random number data table generation key output from the input means, and a program for a decryption random number data table generation processing procedure for generating a decryption random number data table; N for modifying the decoding random number data table based on the decoding random number data table transformation key output from the input means.
Is an arbitrary integer of 1 or more, a modified decoding pattern table composed of n decoding modified pattern tables from the first modified decoding pattern table to the nth modified decoding pattern table And, based on the decoding random number data transformation key output from the input means, from the first decoding transformation pattern table,
From the first number of transformations, the number of transformations based on each of the transformation pattern tables for decoding up to the n-th transformation pattern table for decoding is represented by the number of transformations. n up to the number of deformations of n
Decoding transformation number table composed of the number of transformation times, a decoding random number data table that outputs a transformation method selection processing procedure program, a decoding transformation pattern table, and a decoding transformation number table By deforming the random number data table for decoding, a modified random number data table for decoding composed of n number of modified random number data tables for decoding is generated, and based on the modified random number data table group for decoding, N to perform the decryption
The input data is decoded by performing the decoding based on the program of the decoding replacement data table generation processing procedure for generating the decoding replacement data tables and n decoding replacement data tables. And a decoding processing procedure program to be converted and output.

【0011】[0011]

【発明の実施の形態】次に、本発明に係るデータ暗号化
装置、データ復号化装置、データ暗号化プログラムを記
録した記録媒体、及びデータ復号化プログラムを記録し
た記録媒体の実施形態について、図面を参照して説明す
る。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing an embodiment of a data encryption device, a data decryption device, a recording medium recording a data encryption program, and a recording medium recording a data decryption program according to the present invention. This will be described with reference to FIG.

【0012】図1に、本発明に係るデータ暗号化装置の
一実施形態の構成のブロック図を示す。
FIG. 1 is a block diagram showing the configuration of an embodiment of a data encryption device according to the present invention.

【0013】図1を参照すると、本発明に係るデータ暗
号化装置100は、暗号化用乱数データテーブル生成キ
ー11、暗号化用乱数データテーブル変形キー12、及
び暗号化対象データ13の入力元となる入力部10と、
暗号化用乱数データテーブル30を生成する暗号化用乱
数データテーブル生成処理部1と、暗号化用変形パター
ンテーブル31と暗号化用変形回数テーブル32とを生
成する暗号化用乱数データテーブル変形方法選択処理部
2と、暗号化用置換データテーブル群33を生成する暗
号化用置換データテーブル生成処理部3と、暗号化対象
データ13の暗号化を行う暗号化処理部4と、暗号化し
た暗号化データ14の出力先となるデータ出力部20と
から構成される。
Referring to FIG. 1, a data encryption apparatus 100 according to the present invention includes an encryption random number data table generation key 11, an encryption random number data table transformation key 12, and an input source of an encryption target data 13. Input unit 10,
An encryption random number data table generation processing unit 1 for generating an encryption random number data table 30, and an encryption random number data table modification method selection for generating an encryption modification pattern table 31 and an encryption modification number table 32 A processing unit 2; an encryption replacement data table generation processing unit 3 for generating an encryption replacement data table group 33; an encryption processing unit 4 for encrypting the data 13 to be encrypted; A data output unit 20 to which the data 14 is output.

【0014】次に、図1、図2、図3、図4、図5、図
6、及び図7を用いて、図1に示される、本発明に係る
データ暗号化装置の一実施形態の、暗号化の動作につい
て説明する。
Next, FIG. 1, FIG. 2, FIG. 3, FIG. 4, FIG. 5, FIG. 6, and FIG. 7 will be used to explain one embodiment of the data encryption device according to the present invention shown in FIG. The operation of encryption will be described.

【0015】ここで、図2に、図1中の暗号化用乱数デ
ータテーブル30の構成イメージを示し、図3に、図1
中の暗号化用変形パターンテーブル31の構成イメージ
を示し、図4に、図1中の暗号化用変形パターンテーブ
ル31の構成要素となる変形パターンの一例を示し、図
5に、図1中の暗号化用変形回数テーブル32の構成イ
メージを示し、図6に、図1中の暗号化用置換データテ
ーブル生成処理部3の処理動作の際の動作概念図を示
し、図7に、図1中の暗号化処理部4の処理動作の際の
動作概念図を示す。ただし、上述の、図2、図3、図
4、及び図5に示されるテーブルは、後述する、本発明
に係るデータ復号化装置において用いられるテーブルの
一例も兼ねている。
FIG. 2 shows a configuration image of the encryption random number data table 30 in FIG. 1, and FIG.
FIG. 4 shows an example of a deformation pattern that is a component of the encryption deformation pattern table 31 shown in FIG. 1, and FIG. 5 shows an example of a deformation pattern shown in FIG. FIG. 6 shows a conceptual image of the processing of the encryption replacement data table generation processing unit 3 in FIG. 1, and FIG. 7 shows an operation conceptual diagram of the encryption transformation number table 32. FIG. 3 is a conceptual diagram of the operation at the time of the processing operation of the encryption processing unit 4 of FIG. However, the tables shown in FIG. 2, FIG. 3, FIG. 4, and FIG. 5 also serve as an example of a table used in a data decoding device according to the present invention described later.

【0016】図1において、入力部10より入力される
暗号化用乱数データテーブル生成キー11は暗号化用乱
数データテーブル生成処理部1へ供給され、入力部10
より入力される暗号化用乱数データテーブル変形キー1
2は暗号化用乱数データテーブル変形方法選択処理部2
へ供給され、入力部10より入力される暗号化対象デー
タ13は暗号化処理部4へ供給される。
In FIG. 1, an encryption random number data table generation key 11 inputted from an input unit 10 is supplied to an encryption random number data table generation processing unit 1 and
Random number data table transformation key 1 input from
2 is an encryption random number data transformation method selection processing unit 2
The encryption target data 13 supplied from the input unit 10 is supplied to the encryption processing unit 4.

【0017】図1に示される暗号化用乱数データテーブ
ル生成処理部1は、暗号化用乱数データテーブル生成キ
ー11を解析し、乱数発生処理により図2の例で示すよ
うなテーブル中に互いに同じ値が存在しない乱数データ
をもつ16×16の2次元構造の暗号化用乱数データテ
ーブル30を生成する。
The encryption random number data table generation processing section 1 shown in FIG. 1 analyzes the encryption random number data table generation key 11 and performs the random number generation processing in the same table as shown in the example of FIG. A 16 × 16 two-dimensional encryption random number data table 30 having random number data having no value is generated.

【0018】次に、図1に示される暗号化用乱数データ
テーブル変形方法選択処理部2では、まず、入力部10
から出力された暗号化用乱数データテーブル変形キー1
2を解析して、図4の例のような変形パターンを示すデ
ータを構成要素とし、図3の例のような配列構造をした
暗号化用変形パターンテーブル31を生成する。ただ
し、図3に示される各パターンは同一である必要はな
く、さらにその個数も、図3に示されるように10個に
限定されるものではなく任意の個数であって良い。
Next, in the encryption random number data table transformation method selection processing section 2 shown in FIG.
Random number data table transformation key 1 output from
2 is analyzed, and an encryption deformation pattern table 31 having an array structure as in the example of FIG. 3 is generated using data indicating a deformation pattern as in the example of FIG. 4 as constituent elements. However, the patterns shown in FIG. 3 need not be the same, and the number thereof is not limited to ten as shown in FIG. 3, but may be any number.

【0019】次に、暗号化用乱数データテーブル変形方
法選択処理部2では、暗号化用変形パターンテーブル3
1の構成要素数と同数の暗号化用乱数データテーブル3
0に対する変形回数を構成要素とし、図5の例で示すよ
うな配列構造をした暗号化用変形回数テーブル32を生
成する。
Next, in the encryption random number data table modification method selection processing unit 2, the encryption modification pattern table 3
The same number of random number data tables 3 for encryption as the number of components 1
Using the number of transformations for 0 as a component, an encryption transformation number table 32 having an array structure as shown in the example of FIG. 5 is generated.

【0020】次に、図6を参照して、暗号化用変形パタ
ーンテーブル31と暗号化用変形回数テーブル32とが
それぞれ10個の構成要素をもっている場合の例を用い
て、図1の暗号化用置換データテーブル生成処理部3の
動作について説明する。
Next, referring to FIG. 6, the encryption transformation pattern table 31 and the encryption transformation number table 32 each have ten components, and The operation of the replacement data table generation processing unit 3 will be described.

【0021】図6に示されるように、図1に示される暗
号化用置換データテーブル生成処理部3では、始めに、
暗号化用乱数データテーブル30に対して、暗号化用変
形パターンテーブル31中の1番目の変形パターンによ
る変形を暗号化用変形回数テーブル32中の1番目の変
形回数に格納されている回数行い、1番目の暗号化用置
換データテーブルを生成する。
As shown in FIG. 6, the encryption replacement data table generation processing unit 3 shown in FIG.
For the random number data table for encryption 30, the first deformation pattern in the deformation pattern table for encryption 31 is changed by the number of times stored in the first deformation number in the deformation number table for encryption 32, and A first replacement data table for encryption is generated.

【0022】以上の処理を、図6に示すように、1番目
の暗号化用置換データテーブルの生成から、10番目の
暗号化用置換データテーブルの生成まで繰り返し、10
個の暗号化用置換データテーブルを要素としてもつ暗号
化用置換データテーブル群33を生成する。
The above processing is repeated from generation of the first encryption replacement data table to generation of the tenth encryption replacement data table, as shown in FIG.
The encryption replacement data table group 33 having the encryption replacement data tables as elements is generated.

【0023】次に、図7を参照して、暗号化用置換デー
タテーブル群33が10個の暗号化用置換データテーブ
ルにより構成されている場合を一例として、図1に示さ
れる暗号化処理部4の動作について説明する。
Next, referring to FIG. 7, an example in which the encryption replacement data table group 33 is composed of ten encryption replacement data tables will be described with reference to FIG. 4 will be described.

【0024】図7に示されるように、暗号化処理部4で
は、始めに、暗号化対象データ13中のデータを、上述
の暗号化用置換データテーブル生成処理部3により生成
された1番目の暗号化用置換データテーブルにより以下
に示す方法で変換する。1番目の暗号化用置換データテ
ーブルによる変換においては、まず暗号化対象データ1
3の先頭から1バイトのデータを取り出す。
As shown in FIG. 7, the encryption processing unit 4 firstly converts the data in the encryption target data 13 into the first data generated by the above-described encryption replacement data table generation processing unit 3. Conversion is performed by the following method using the replacement data table for encryption. In the conversion using the first replacement data table for encryption, first, the encryption target data 1
1 byte data is taken out from the head of 3.

【0025】取り出した1バイトのデータは1番目の暗
号化用置換データテーブル中の任意の位置を示す値であ
るとみなし、その位置の1バイトのデータで、暗号化対
象データ13中の1バイトのデータを取り出した位置の
データを置換する。
The extracted 1-byte data is regarded as a value indicating an arbitrary position in the first replacement data table for encryption, and the 1-byte data at that position is the 1-byte data in the data 13 to be encrypted. Replace the data at the position from which the data was extracted.

【0026】この様な置換を暗号化対象データ13の2
バイト目以降の全てのデータに対しても行い、1番目の
暗号化用置換データテーブルにより変換された暗号化対
象データ13を生成する。
Such a replacement is performed by using the
This process is also performed for all data after the byte and generates the encryption target data 13 converted by the first replacement data table for encryption.

【0027】次に、2番目の暗号化用置換データテーブ
ルにより、1番目の暗号化用置換データテーブルによる
変換の場合と同様の処理を1番目の暗号化用置換データ
により変換された暗号化対象データ13に対して行い、
2番目の暗号化用置換データテーブルで変換された暗号
化対象データ13を生成する。
Next, the same processing as the conversion using the first encryption replacement data table is performed by the second encryption replacement data table using the encryption target converted by the first encryption replacement data. Performed on data 13,
The encryption target data 13 converted by the second replacement data table for encryption is generated.

【0028】以上の変換処理を図7で示すようにして暗
号化用置換データテーブル群33の10個すべての暗号
化用置換データテーブルにより行い暗号化対象データ1
3を暗号化し、暗号化データ14を生成し、暗号化の結
果の暗号化データ14を、データ出力部20へ出力す
る。
The above conversion process is performed on all ten replacement data tables for encryption in the replacement data table group for encryption 33 as shown in FIG.
3 is encrypted to generate encrypted data 14, and the encrypted data 14 resulting from the encryption is output to the data output unit 20.

【0029】従って、図1に示される、本発明に係るデ
ータ暗号化装置の一実施形態によれば、複数の暗号化用
乱数データテーブルにより構成される、暗号化用置換デ
ータテーブル群33により暗号化処理を行って、暗号化
データ14を生成しているため、その解読が困難な暗号
化データを生成することができる。
Therefore, according to the embodiment of the data encryption apparatus according to the present invention shown in FIG. 1, the encryption replacement data table group 33 composed of a plurality of encryption random number data tables is used for encryption. Since the encrypted data 14 is generated by performing the encryption process, it is possible to generate encrypted data whose decryption is difficult.

【0030】次に、本発明に係るデータ復号化装置の一
実施形態について、図8を参照して説明する。
Next, an embodiment of the data decoding apparatus according to the present invention will be described with reference to FIG.

【0031】図8を参照すると、本発明に係るデータ復
号化装置200は、復号化用乱数データテーブル生成キ
ー211、復号化用乱数データテーブル変形キー21
2、及び復号化対象データ213の入力元となる入力部
210と、復号化用乱数データテーブル230を生成す
る復号化用乱数データテーブル生成処理部201と、復
号化用変形パターンテーブル231と復号化用変形回数
テーブル232とを生成する復号化用乱数データテーブ
ル変形方法選択処理部202と、復号化用変形乱数デー
タテーブル群233と復号化用置換データテーブル群2
34とを生成する復号化用置換データテーブル生成処理
部203と、復号化対象データ213の復号化を行う復
号化処理部204と、復号化の結果の復号化データ21
4の出力元となるデータ出力部220とで構成される。
Referring to FIG. 8, a data decoding apparatus 200 according to the present invention comprises a decoding random number data table generation key 211, a decoding random number data table modification key 21
2, an input unit 210 serving as an input source of the decoding target data 213, a decoding random number data table generation processing unit 201 for generating a decoding random number data table 230, a decoding deformation pattern table 231 and decoding Random number data table modification method selection processing unit 202 for generating a transformation number table 232 for use, a modified random number data table group 233 for decoding, and a replacement data table group 2 for decryption
34, a decoding processing unit 204 for decoding the decoding target data 213, and a decoded data 21 of the decoding result.
4 as a data output unit 220 serving as an output source.

【0032】ここで、復号化用乱数データテーブル生成
キー211は、図1に示される暗号化用乱数データテー
ブル30と同一の内容の復号化用乱数データテーブル2
30を発生させることができるキーである。また、復号
化用乱数データテーブル変形キー212は、図1に示さ
れる暗号化用変形パターンテーブル31と同一の内容の
復号化用変形パターンテーブル231と、図1に示され
る暗号化用変形回数テーブル32と同一の内容の復号化
用変形回数テーブル232とを発生させることができる
キーである。
Here, the decryption random number data table generation key 211 has a decryption random number data table 2 having the same contents as the encryption random number data table 30 shown in FIG.
30 is a key that can be generated. Also, the decryption random number data table modification key 212 includes a decryption modification pattern table 231 having the same contents as the encryption modification pattern table 31 shown in FIG. 1, and an encryption modification number table shown in FIG. 32 and a key capable of generating the same number of times as the decoding transformation number table 232 having the same contents.

【0033】次に図2、図3、図4、図5、図8、図
9、図10を用いて、本発明に係るデータ復号化装置の
一実施形態の動作について説明する。
Next, the operation of the data decoding apparatus according to one embodiment of the present invention will be described with reference to FIGS. 2, 3, 4, 5, 8, 9, and 10.

【0034】ここで、図2に、図8中の復号化用乱数デ
ータテーブル230の構成イメージを示し、図3に、図
8中の復号化用変形パターンテーブル231の構成イメ
ージを示し、図4に、図8中の復号化用変形パターンテ
ーブル231の構成要素となる変形パターンの例を示
し、図5に、図8中の復号化用変形回数テーブル232
の構成イメージを示し、図9に、図8中の復号化用置換
データテーブル生成処理部203の処理動作の際の動作
概念図を示し、図10に、図8中の復号化処理部204
の処理動作の際の動作概念図を示す。
FIG. 2 shows a configuration image of the decoding random number data table 230 in FIG. 8, and FIG. 3 shows a configuration image of the decoding deformation pattern table 231 in FIG. 8 shows an example of a deformation pattern that is a component of the decoding deformation pattern table 231 in FIG. 8, and FIG. 5 shows the decoding deformation number table 232 in FIG.
FIG. 9 shows an operation conceptual diagram of the processing operation of the replacement data table for decoding generation processing unit 203 in FIG. 8, and FIG. 10 shows the decoding processing unit 204 in FIG.
FIG. 3 is an operation conceptual diagram at the time of the processing operation of FIG.

【0035】図8において、入力部210より入力され
る復号化用乱数データテーブル生成キー211は、復号
化用乱数データテーブル生成処理部201へ供給され、
入力部210より入力される復号化用乱数データテーブ
ル変形キー212は、復号化用乱数データテーブル変形
方法選択処理部202へ供給され、入力部210より入
力される復号化対象データ213は復号化処理部204
へ供給される。
In FIG. 8, a decoding random number data table generation key 211 input from an input unit 210 is supplied to a decoding random number data table generation processing unit 201.
The decoding random number data table modification key 212 input from the input unit 210 is supplied to the decoding random number data table modification method selection processing unit 202, and the decoding target data 213 input from the input unit 210 is subjected to a decoding process. Part 204
Supplied to

【0036】図8に示される復号化用乱数データテーブ
ル生成処理部201は、復号化用乱数データテーブル生
成キー211を解析し、乱数発生処理により図2の例で
示すようなテーブル中に互いに同じ値が存在しない乱数
データをもつ16×16の2次元構造の復号化用乱数デ
ータテーブル230を生成する。
The decoding random number data table generation processing unit 201 shown in FIG. 8 analyzes the decoding random number data table generation key 211 and performs the random number generation processing in the same table as shown in the example of FIG. A 16 × 16 two-dimensional decoding random number data table 230 having random number data having no value is generated.

【0037】次に、図8の復号化用乱数データテーブル
変形方法選択処理部202では、まず、復号化用乱数デ
ータテーブル変形キー212を解析して、図4の例のよ
うな変形パターンを示すデータを構成要素とし、図3の
例のような配列構造をした復号化用変形パターンテーブ
ル231を生成する。
Next, the decoding random number data table modification method selection processing unit 202 shown in FIG. 8 first analyzes the decoding random number data table modification key 212 to show a modification pattern as shown in FIG. A modified pattern table for decoding 231 having an array structure as shown in the example of FIG. 3 using data as a component is generated.

【0038】次に、復号化用乱数データテーブル変形方
法選択処理部202では、復号化用変形パターンテーブ
ル231の構成要素数と同数の復号化用乱数データテー
ブル230に対する変形回数を構成要素とし、図5の例
で示すような配列構造をした復号化用変形回数テーブル
232を生成する。
Next, the decoding random number data table transformation method selection processing unit 202 uses the number of transformations for the decoding random number data table 230 equal to the number of components of the decoding transformation pattern table 231 as a component. 5, a decoding deformation number table 232 having an array structure as shown in the example of FIG. 5 is generated.

【0039】次に、図9を参照して、復号化用変形パタ
ーンテーブル231と復号化用変形回数テーブル232
とがそれぞれ10個の構成要素をもっている場合の例を
用いて、図8に示される復号化用置換データテーブル生
成処理部203の動作について説明する。
Next, referring to FIG. 9, a decoding deformation pattern table 231 and a decoding deformation number table 232 will be described.
The operation of the decoding replacement data table generation processing unit 203 shown in FIG. 8 will be described using an example in which each has 10 components.

【0040】図9に示されるように、図8に示される復
号化用置換データテーブル生成処理部203では、始め
に、復号化用乱数データテーブル230に対して、復号
化用変形パターンテーブル231中の1番目の変形パタ
ーンによる変形を復号化用変形回数テーブル232中の
1番目の変形回数に格納されている回数行い、1番目の
復号化用変形乱数データテーブルを生成する。
As shown in FIG. 9, the decoding replacement data table generation processing unit 203 shown in FIG. 8 first compares the decoding random pattern data table 230 with the decoding modified pattern table 231. The first modified pattern is subjected to the number of times stored in the first modified number of times in the transformation number table for decoding 232 to generate the first modified random number data table for decoding.

【0041】以上の処理を、図9に示すように、1番目
の復号化用変形乱数データテーブルの生成から、10番
目の復号化用変形乱数データテーブル生成まで繰り返
し、10個の復号化用変形乱数データテーブルを要素と
してもつ復号化用変形乱数データテーブル群233を生
成する。
The above processing is repeated from generation of the first modified random number data table for decoding to generation of the tenth modified random number data table for decryption, as shown in FIG. A modified random data table for decoding 233 having a random data table as an element is generated.

【0042】さらに、この復号化用変形乱数データテー
ブル群233の10個の各構成要素から、暗号化の逆変
換を行うための復号化用置換データテーブル10個を要
素としてもつ復号化用置換データテーブル群234を生
成する。
Further, from each of the ten constituent elements of this modified random number data table for decryption 233, a replacement data for decryption having, as elements, ten replacement data tables for decryption for performing inverse conversion of encryption. A table group 234 is generated.

【0043】次に、図10に示されるように、復号化用
置換データテーブル群234が10個の復号化用置換デ
ータテーブルをもっている場合の例を用いて、図8の復
号化処理部204の動作について説明する。
Next, as shown in FIG. 10, using the case where the decoding replacement data table group 234 has ten decoding replacement data tables, the decoding processing unit 204 shown in FIG. The operation will be described.

【0044】図10に示されるように、復号化処理部2
04では、始めに、復号化対象データ213中のデータ
を10番目の復号化用置換データテーブルにより以下に
示す方法で変換する。10番目の復号化用置換データテ
ーブルによる変換においては、ます復号化対象データ2
13から1バイトのデータを取り出す。取り出した1バ
イトのデータは復号化用置換データテーブル中の任意の
位置を示す値であるとみなし、その位置の1バイトのデ
ータで、復号化対象データ213中の1バイトのデータ
を取り出した位置のデータを置換する。
As shown in FIG. 10, the decoding processing unit 2
In step 04, first, the data in the decoding target data 213 is converted by the following method using the tenth replacement data table for decoding. In the conversion by the tenth replacement data table for decryption, the data to be decrypted 2
Thirteen bytes of data are extracted from 13. The extracted 1-byte data is regarded as a value indicating an arbitrary position in the replacement data table for decoding, and the 1-byte data at that position is the position at which 1-byte data in the decoding target data 213 is extracted. Replace the data in

【0045】この様な置換を復号化対象データ213の
全てのデータに対して行い、10番目の復号化用置換デ
ータテーブルにより変換された復号化対象データ213
を生成する。次に、9番目の復号化用置換データテーブ
ルにより、10番目の復号化用置換データテーブルによ
る変換と同様の処理を10番目の復号化用置換データテ
ーブルにより変換された復号化対象データ213に対し
て行い、9番目の復号化用置換データテーブルで変換さ
れた復号化対象データ213を生成する。
Such replacement is performed on all the data of the decoding target data 213, and the decoding target data 213 converted by the tenth decoding replacement data table is used.
Generate Next, the ninth decoding replacement data table performs the same processing as the conversion by the tenth decoding replacement data table on the decoding target data 213 converted by the tenth decoding replacement data table. To generate the decoding target data 213 converted by the ninth decoding replacement data table.

【0046】以上の変換処理を図10に示すようにし
て、復号化用置換データテーブル群234を構成する1
0個すべての復号化用置換データテーブルにより行い復
号化対象データ213を復号化し、復号化データ214
を生成し、復号化の結果の復号化データ214を、デー
タ出力部220へ出力する。
The above conversion process is performed as shown in FIG. 10 to configure the replacement data table group 234 for decoding.
The decoding target data 213 is decoded by performing all zero replacement data tables for decoding, and the decoded data 214 is decoded.
And outputs the decoded data 214 as a result of the decoding to the data output unit 220.

【0047】従って、図8に示される、本発明に係るデ
ータ復号化装置の一実施形態によれば、複数の暗号化用
乱数データテーブルにより、複数回の変換処理が行われ
た暗号データであっても復号化することができるので、
解読が困難な暗号化データを効率よく利用することがで
きる。
Therefore, according to the embodiment of the data decrypting apparatus of the present invention shown in FIG. 8, the encrypted data is obtained by performing the conversion process a plurality of times by using the plurality of encryption random number data tables. So it can be decrypted,
It is possible to efficiently use encrypted data that is difficult to decipher.

【0048】ここで、前述の、本発明に係るデータ暗号
化装置、及びデータ復号化装置はそれぞれ別々の装置で
あるとして説明したが、本発明を実施するにあたり、こ
のように別々に構成する必要はなく、本発明に係るデー
タ暗号化装置、及びデータ復号化装置を一体に構成した
装置を構成しても良い。
Here, the data encryption device and the data decryption device according to the present invention have been described as being separate devices. However, in implementing the present invention, it is necessary to separately configure such devices. Instead, a device in which the data encryption device and the data decryption device according to the present invention are integrally configured may be configured.

【0049】次に、本発明に係るデータ暗号化プログラ
ムを記録した記録媒体の一実施形態について、図11を
参照して説明する。
Next, an embodiment of a recording medium on which a data encryption program according to the present invention is recorded will be described with reference to FIG.

【0050】図11に示されるように、本発明に係るデ
ータ暗号化プログラムを記録した記録媒体の一実施形態
は、データ暗号化プログラム300を記録した記録媒体
310である。
As shown in FIG. 11, one embodiment of a recording medium on which a data encryption program according to the present invention is recorded is a recording medium 310 on which a data encryption program 300 is recorded.

【0051】記録媒体310はハードディスク等の磁気
ディスクに限らず、光ディスク、光磁気ディスク、メモ
リ、磁気テープ等のプログラムを記憶可能な記録媒体で
あればよい。
The recording medium 310 is not limited to a magnetic disk such as a hard disk, but may be a recording medium capable of storing a program such as an optical disk, a magneto-optical disk, a memory, and a magnetic tape.

【0052】また、データ暗号化プログラム300は、
図1に示される、暗号化装置100の動作をプログラム
化したものである。即ち記録媒体310には、前述の図
1に示される、暗号化用乱数データテーブル生成処理部
1、暗号化用乱数データテーブル変形方法選択処理部
2、暗号化用置換データテーブル生成処理部3、及び暗
号化処理部4の動作のプログラムが記録されている。
Further, the data encryption program 300
The operation of the encryption device 100 shown in FIG. 1 is programmed. That is, in the recording medium 310, the encryption random number data table generation processing unit 1, the encryption random number data table transformation method selection processing unit 2, the encryption replacement data table generation processing unit 3, Further, a program for the operation of the encryption processing unit 4 is recorded.

【0053】従って、データ処理装置311は、記録媒
体310上のデータ暗号化プログラム300を読み込
み、前述の図1に示される、データ暗号化装置における
暗号化の処理と同様のデータ暗号化処理を行う。
Therefore, the data processing device 311 reads the data encryption program 300 on the recording medium 310 and performs the same data encryption process as the above-described encryption process in the data encryption device shown in FIG. .

【0054】従って、図11に示される、本発明に係る
データ暗号化プログラムを記録した記録媒体の一実施形
態においては、図1に示されるデータ暗号化装置と同様
の効果を行わせることができると共に、記録媒体上にお
いて実現しているため、そのコストを低下させることが
可能である。
Therefore, in the embodiment of the recording medium shown in FIG. 11 on which the data encryption program according to the present invention is recorded, the same effect as that of the data encryption device shown in FIG. 1 can be performed. At the same time, since it is realized on a recording medium, the cost can be reduced.

【0055】次に、本発明に係るデータ復号化プログラ
ムを記録した記録媒体の一実施形態について、図12を
参照して説明する。
Next, an embodiment of a recording medium on which a data decoding program according to the present invention is recorded will be described with reference to FIG.

【0056】図12を参照すると、本発明に係るデータ
復号化プログラムを記録した記録媒体の一実施形態は、
データ復号化プログラム400を記録した記録媒体41
0である。
Referring to FIG. 12, one embodiment of a recording medium on which a data decoding program according to the present invention is recorded is:
Recording medium 41 recording data decryption program 400
0.

【0057】記録媒体410はハードディスク等の磁気
ディスクに限らず、光ディスク、光磁気ディスク、メモ
リ、磁気テープ等のプログラムを記憶可能な記録媒体で
あればよい。
The recording medium 410 is not limited to a magnetic disk such as a hard disk, but may be a recording medium capable of storing a program such as an optical disk, a magneto-optical disk, a memory, and a magnetic tape.

【0058】また、データ復号化プログラム400は、
図8に示される、データ復号化装置200の動作をプロ
グラム化したものである。即ち、記録媒体410には、
前述の、図8に示される、復号化用乱数データテーブル
生成処理部201、復号化用乱数データテーブル変形方
法選択処理部202、復号化用置換データテーブル生成
処理部203、及び復号化処理部204の動作のプログ
ラムが記録されている。
Also, the data decryption program 400
The operation of the data decoding device 200 shown in FIG. 8 is programmed. That is, in the recording medium 410,
As described above, the decoding random number data table generation processing unit 201, the decoding random number data table modification method selection processing unit 202, the decoding replacement data table generation processing unit 203, and the decoding processing unit 204 shown in FIG. Operation program is recorded.

【0059】従って、データ処理装置411は、記録媒
体410上のデータ復号化プログラム400を読み込
み、前述の図8に示される、データ復号化装置の復号化
の動作と同様の、データ復号化処理を行う。
Therefore, the data processing device 411 reads the data decryption program 400 on the recording medium 410, and performs the same data decryption processing as the decryption operation of the data decryption device shown in FIG. Do.

【0060】従って、図12に示される、本発明に係る
データ復号化プログラムを記録した記録媒体の一実施形
態においては、図8に示されるデータ復号化装置と同様
の効果を行わせることができると共に、記録媒体上にお
いて実現しているため、そのコストを低下させることが
可能である。
Therefore, in the embodiment of the recording medium in which the data decoding program according to the present invention shown in FIG. 12 is recorded, the same effect as that of the data decoding device shown in FIG. 8 can be performed. At the same time, since it is realized on a recording medium, the cost can be reduced.

【0061】ここで、上述の、本発明に係るデータ暗号
化プログラムを記録した記録媒体、及びデータ復号化プ
ログラムを記録した記録媒体は、別々の記録媒体である
として説明したが、本発明はこのように、各プログラム
が、別々の記録媒体に記録されている例に限定されるも
のではなく、1つの記録媒体に、本発明に係るデータ暗
号化プログラム、及びデータ復号化プログラムを記録し
ても良い。
Here, the recording medium on which the data encryption program according to the present invention is recorded and the recording medium on which the data decryption program is recorded are described as separate recording media. As described above, the present invention is not limited to the example in which each program is recorded on a separate recording medium. Even if the data encryption program and the data decryption program according to the present invention are recorded on one recording medium, good.

【0062】[0062]

【発明の効果】以上の説明から明らかなように、本発明
によれば、暗号化がランダムなテーブルにより、不特定
複数回行われるため、暗号化されたデータの解析が困難
な暗号の生成、若しくは利用を図ることが可能なデータ
暗号化装置、データ復号化装置、データ暗号化プログラ
ムを記録した記録媒体、及びデータ復号化プログラムを
記録した記録媒体を提供することができる。
As is apparent from the above description, according to the present invention, since encryption is performed unspecified plural times by using a random table, it is difficult to analyze encrypted data. Alternatively, it is possible to provide a data encryption device, a data decryption device, a recording medium recording a data encryption program, and a recording medium recording a data decryption program that can be used.

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

【図1】本発明に係るデータ暗号化装置の一実施形態の
構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of an embodiment of a data encryption device according to the present invention.

【図2】図1に示される暗号化用乱数データテーブル、
及び図8に示される復号化用乱数データテーブルの一例
を示す概念図である。
FIG. 2 is a random number data table for encryption shown in FIG. 1;
FIG. 9 is a conceptual diagram showing an example of a decoding random number data table shown in FIG. 8 and FIG.

【図3】図1に示される暗号化用変形パターンテーブ
ル、及び図8に示される復号化用変形パターンテーブル
の一例を示す概念図である。
3 is a conceptual diagram showing an example of a modification pattern table for encryption shown in FIG. 1 and a modification pattern table for decryption shown in FIG. 8;

【図4】図3に示される変形パターンの一例を示す概念
図である。
FIG. 4 is a conceptual diagram showing an example of a deformation pattern shown in FIG.

【図5】図1に示される暗号化用変形回数テーブル、及
び図8に示される復号化用変形回数テーブルの一例を示
す概念図である。
FIG. 5 is a conceptual diagram showing an example of an encryption transformation number table shown in FIG. 1 and an example of a decryption transformation number table shown in FIG. 8;

【図6】図1に示される暗号化用置換データテーブル生
成処理部の動作の一例を示す動作概念図である。
FIG. 6 is an operation conceptual diagram showing an example of an operation of an encryption replacement data table generation processing unit shown in FIG. 1;

【図7】図1に示される暗号化処理部の動作の一例を示
す動作概念図である。
FIG. 7 is an operation conceptual diagram showing an example of an operation of the encryption processing unit shown in FIG. 1;

【図8】本発明に係るデータ復号化装置の一実施形態の
構成を示すブロック図である。
FIG. 8 is a block diagram showing a configuration of an embodiment of a data decoding device according to the present invention.

【図9】図8に示される復号化用置換データテーブル生
成処理部の動作の一例を示す動作概念図である。
9 is an operation conceptual diagram showing an example of an operation of the decoding replacement data table generation processing unit shown in FIG. 8;

【図10】図8に示される復号化処理部の動作の一例を
示す動作概念図である。
10 is an operation conceptual diagram showing an example of the operation of the decoding processing unit shown in FIG.

【図11】本発明に係るデータ暗号化プログラムを記録
した記録媒体の一実施形態の構成を示す概略図である。
FIG. 11 is a schematic diagram showing a configuration of an embodiment of a recording medium on which a data encryption program according to the present invention is recorded.

【図12】本発明に係るデータ復号化プログラムを記録
した記録媒体の一実施形態の構成を示す概略図である。
FIG. 12 is a schematic diagram showing a configuration of an embodiment of a recording medium on which a data decoding program according to the present invention is recorded.

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

1 暗号化用乱数データテーブル生成処理部 2 暗号化用乱数データテーブル変形方法選択処理部 3 暗号化用置換データテーブル生成処理部 4 暗号化処理部 10 入力部 11 暗号化用乱数データテーブル生成キー 12 暗号化用乱数データテーブル変形キー 13 暗号化対象データ 14 暗号化データ 20 データ出力部 30 暗号化用乱数データテーブル 31 暗号化用変形パターンテーブル 32 暗号化用変形回数テーブル 33 暗号化用置換データテーブル群 100 データ暗号化装置 200 データ復号化装置 201 復号化用乱数データテーブル生成処理部 202 復号化用乱数データテーブル変形方法選択処理
部 203 復号化用置換データテーブル生成処理部 204 復号化処理部 210 入力部 211 復号化用乱数データテーブル生成キー 212 復号化用乱数データテーブル変形キー 213 復号化対象データ 214 復号化データ 220 データ出力部 230 復号化用乱数データテーブル 231 復号化用変形パターンテーブル 232 復号化用変形回数テーブル 233 復号化用変形乱数データテーブル群 234 復号化用置換データテーブル群 300 データ暗号化プログラム 310 記録媒体 311 データ処理装置 400 データ復号化プログラム 410 記録媒体 411 データ処理装置
REFERENCE SIGNS LIST 1 random number data table generation processing unit for encryption 2 random number data table transformation method selection processing unit for encryption 3 replacement data table generation processing unit for encryption 4 encryption processing unit 10 input unit 11 random number data generation key for encryption 12 Encryption random number data table transformation key 13 Data to be encrypted 14 Encrypted data 20 Data output unit 30 Encryption random number data table 31 Encryption transformation pattern table 32 Encryption transformation number table 33 Encryption replacement data table group REFERENCE SIGNS LIST 100 data encryption device 200 data decryption device 201 decryption random data table generation processing unit 202 decryption random data table transformation method selection processing unit 203 decryption replacement data table generation processing unit 204 decryption processing unit 210 input unit 211 Raw random data table for decryption Modified key 212 Decoding random number data table deformation key 213 Decoding target data 214 Decoding data 220 Data output unit 230 Decoding random number data table 231 Decoding deformation pattern table 232 Decoding deformation times table 233 Decoding deformation Random number data table group 234 Decoding replacement data table group 300 Data encryption program 310 Recording medium 311 Data processing device 400 Data decryption program 410 Recording medium 411 Data processing device

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.6,DB名) G09C 1/00 - 5/00 H04K 1/00 - 3/00 H04L 9/00 - 9/38 JICSTファイル(JOIS)──────────────────────────────────────────────────続 き Continued on the front page (58) Fields surveyed (Int. Cl. 6 , DB name) G09C 1/00-5/00 H04K 1/00-3/00 H04L 9/00-9/38 JICST file ( JOIS)

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 入力手段(10)から出力されたデータを暗
号化して、データ出力手段(20)に出力するデータ暗号化
装置において、 前記入力手段(10)から出力された暗号化用乱数データテ
ーブル生成キー(11)に基づき、暗号化用乱数データテー
ブル(30)を生成する暗号化用乱数データテーブル生成処
理手段(1) と、 前記入力手段(10)から出力された暗号化用乱数データテ
ーブル変形キー(12)に基づき、前記暗号化用乱数データ
テーブル(30)を変形するための、 nを1以上の任意の整数として、第1の暗号化用変形パ
ターンテーブルから、第nの暗号化用変形パターンテー
ブルまでのn個の暗号化用変形パターンテーブルにより
構成される暗号化用変形パターンテーブル(31)、及び、 前記入力手段から出力された前記暗号化用乱数データテ
ーブル変形キー(12)に基づき、前記第1の暗号化用変形
パターンテーブルから、前記第nの暗号化用変形パター
ンテーブルまでのそれぞれの暗号化用変形パターンテー
ブルに基づく変形を、それぞれ何回、前記暗号化用乱数
データテーブル(30)に対して行うのかを表す、第1の変
形回数から、第nの変形回数までのn個の変形回数によ
り構成される暗号化用変形回数テーブル(32)、を出力す
る暗号化用乱数データテーブル変形方法選択処理手段
(2) と、 前記暗号化用変形パターンテーブル(31)、及び、前記暗
号化用変形回数テーブル(32)に基づき、前記暗号化用乱
数データテーブル(30)を変形することにより、n個の暗
号化用置換データテーブルにより構成される暗号化用置
換データテーブル群(33)を生成する、暗号化用置換デー
タテーブル生成処理手段(3) と、 前記n個の暗号化用置換データテーブルにより構成され
る暗号化用置換データテーブル群(33)に基づいて、暗号
化を行うことによって、前記入力したデータを暗号化し
て出力する暗号化処理手段(4) と、 を有することを特徴とするデータ暗号化装置。
1. A data encryption device for encrypting data output from an input means (10) and outputting the encrypted data to a data output means (20), comprising: an encryption random number data output from the input means (10); Based on the table generation key (11), an encryption random number data table generation processing means (1) for generating an encryption random number data table (30), and the encryption random number data output from the input means (10) Based on the table transformation key (12), the n-th encryption pattern is transformed from the first encryption transformation pattern table, where n is an arbitrary integer of 1 or more, to transform the encryption random number data table (30). An encryption modification pattern table (31) composed of n encryption modification pattern tables up to the encryption modification pattern table, and the encryption random number data table modification key (12 ) Based Then, how many times the transformation based on the transformation pattern tables for encryption from the first transformation pattern table for encryption to the nth transformation pattern table for encryption is performed, (30), which outputs an encryption transformation number table (32) composed of n transformation times from the first transformation number to the n-th transformation number. Random number data table transformation method selection processing means
(2), the encryption transformation pattern table (31), and the encryption random number data table (30) based on the encryption transformation number table (32), whereby n An encryption replacement data table generation processing means (3) for generating an encryption replacement data table group (33) configured by an encryption replacement data table; and the n number of encryption replacement data tables. Encryption processing means (4) for encrypting the input data and outputting the encrypted data by performing encryption based on the encrypted replacement data table group (33). Encryption device.
【請求項2】 入力手段(210) から出力されたデータを
復号化して、データ出力手段(220) に出力するデータ復
号化装置において、 前記入力手段(210) から出力された復号化用乱数データ
テーブル生成キー(211) に基づき、復号化用乱数データ
テーブル(230) を生成する復号化用乱数データテーブル
生成処理手段(201) と、 前記入力手段(210) から出力された復号化用乱数データ
テーブル変形キー(212) に基づき、前記復号化用乱数デ
ータテーブル(230) を変形するための、 nを1以上の任意の整数として、第1の復号化用変形パ
ターンテーブルから、第nの復号化用変形パターンテー
ブルまでのn個の復号化用変形パターンテーブルにより
構成される復号化用変形パターンテーブル(231) 、及
び、 前記入力手段(210) から出力された前記復号化用乱数デ
ータテーブル変形キー(212) に基づき、前記第1の復号
化用変形パターンテーブルから、前記第nの復号化用変
形パターンテーブルまでのそれぞれの復号化用変形パタ
ーンテーブルに基づく変形を、それぞれ何回、前記復号
化用乱数データテーブル(230) に対して行うのかを表
す、第1の変形回数から、第nの変形回数までのn個の
変形回数により構成される復号化用変形回数テーブル(2
32) 、を出力する復号化用乱数データテーブル変形方法
選択処理手段(202) と、 前記復号化用変形パターンテーブル(231) 、及び、前記
復号化用変形回数テーブル(232) に基づき、前記復号化
用乱数データテーブル(230) を変形することにより、 n個の復号化用変形乱数データテーブルにより構成され
る復号化用変形乱数データテーブル群(233) を生成し、 該復号化用変形乱数データテーブル群(233) に基づき、
復号化を行うためのn個の復号化用置換データテーブル
により構成される復号化用置換データテーブル群(234)
を生成する、復号化用置換データテーブル生成処理手段
(203) と、 前記n個の復号化用置換データテーブルにより構成され
る復号化用置換データテーブル群(234) に基づいて、復
号化を行うことによって、前記入力したデータを復号化
して出力する復号化処理手段(204) と、 を有することを特徴とするデータ復号化装置。
2. A data decoding device for decoding data output from an input means (210) and outputting the decoded data to a data output means (220), comprising: decoding random number data output from the input means (210); A decoding random number data table generation processing means (201) for generating a decoding random number data table (230) based on the table generation key (211); and a decoding random number data output from the input means (210). Based on the table transformation key (212), the first decoding transformation pattern table is used to transform the decoding random number data table (230) from the first decoding transformation pattern table, where n is an arbitrary integer of 1 or more. A decoding deformation pattern table (231) composed of n decoding deformation pattern tables up to the decoding deformation pattern table; and the decoding random number data table output from the input means (210). Based on the transformation key (212), the transformation based on the transformation pattern tables for decoding from the first transformation pattern table to the n-th transformation pattern table is performed several times. The decoding random number data table (230), which indicates whether or not to perform the decoding on the random number data table (230), is composed of n deformation times from the first deformation times to the nth deformation times.
32), the decoding random number data transformation method selection processing means (202) for outputting the decoding transformation pattern table (231), and the decoding transformation frequency table (232). By transforming the decoding random number data table (230), a decoding modified random number data table group (233) composed of n decoding random number data tables is generated. Based on tables (233)
Decoding replacement data table group (234) composed of n decoding replacement data tables for performing decoding
For generating a replacement data table for decryption
(203), and decoding the input data by performing decoding based on the decoding replacement data table group (234) composed of the n decoding replacement data tables. A data decoding device comprising: decoding processing means (204).
【請求項3】 入力手段から出力されたデータを暗号化
して出力するための暗号化手段を具備するデータ処理装
置において用いられるデータ暗号化プログラムを記録し
た記録媒体であって、 前記入力手段から出力された暗号化用乱数データテーブ
ル生成キーに基づき、暗号化用乱数データテーブルを生
成するための暗号化用乱数データテーブル生成処理手順
のプログラムと、 前記入力手段から出力された暗号化用乱数データテーブ
ル変形キーに基づき、前記暗号化用乱数データテーブル
を変形するための、 nを1以上の任意の整数として、第1の暗号化用変形パ
ターンテーブルから、第nの暗号化用変形パターンテー
ブルまでのn個の暗号化用変形パターンテーブルにより
構成される暗号化用変形パターンテーブル、及び、 前記入力手段から出力された前記暗号化用乱数データテ
ーブル変形キーに基づき、前記第1の暗号化用変形パタ
ーンテーブルから、前記第nの暗号化用変形パターンテ
ーブルまでのそれぞれの暗号化用変形パターンテーブル
に基づく変形を、それぞれ何回、前記暗号化用乱数デー
タテーブルに対して行うのかを表す、第1の変形回数か
ら、第nの変形回数までのn個の変形回数により構成さ
れる暗号化用変形回数テーブル、を出力する暗号化用乱
数データテーブル変形方法選択処理手順のプログラム
と、 前記暗号化用変形パターンテーブル、及び、前記暗号化
用変形回数テーブルに基づき、前記暗号化用乱数データ
テーブルを変形することにより、 n個の暗号化用置換データテーブルを生成する、暗号化
用置換データテーブル生成処理手順のプログラムと、 前記n個の暗号化用置換データテーブルに基づいて、暗
号化を行うことによって、前記入力したデータを暗号化
して出力する暗号化処理手順のプログラムと、 が記録されていることを特徴とするデータ暗号化プログ
ラムを記録した記録媒体。
3. A recording medium recording a data encryption program used in a data processing device having an encryption unit for encrypting and outputting data output from an input unit, wherein the data is output from the input unit. A program for generating a random number data table for encryption for generating a random number data table for encryption based on the generated random number data table for encryption, and a random number data table for encryption output from the input means. Based on the transformation key, n is an arbitrary integer of 1 or more for transforming the encryption random number data table. From the first encryption transformation pattern table to the n-th encryption transformation pattern table, a modification pattern table for encryption composed of n transformation pattern tables for encryption; On the basis of the outputted random number data table modification key for encryption, transformations based on the respective transformation pattern tables for encryption from the first transformation pattern table for encryption to the n-th transformation pattern table for encryption. Is performed on the random number data table for encryption, and represents the number of times of transformation from the first transformation number to the n-th transformation number. , The encryption random number data table modification method selection processing procedure, a program for the encryption modification pattern table, and the encryption modification number table, and the encryption random number data table is modified. A program for generating a replacement data table for encryption, which generates n replacement data tables for encryption, And a program of an encryption processing procedure for encrypting the input data and outputting the encrypted data by performing encryption based on the n replacement data tables for encryption. A recording medium on which an encryption program is recorded.
【請求項4】 入力手段から出力されたデータを復号化
して出力するための復号化手段を具備するデータ処理装
置において用いられるデータ復号化プログラムを記録し
た記録媒体であって、 前記入力手段から出力された復号化用乱数データテーブ
ル生成キーに基づき、復号化用乱数データテーブルを生
成する復号化用乱数データテーブル生成処理手順のプロ
グラムと、 前記入力手段から出力された復号化用乱数データテーブ
ル変形キーに基づき、前記復号化用乱数データテーブル
を変形するための、 nを1以上の任意の整数として、第1の復号化用変形パ
ターンテーブルから、第nの復号化用変形パターンテー
ブルまでのn個の復号化用変形パターンテーブルにより
構成される復号化用変形パターンテーブル、及び、 前記入力手段から出力された前記復号化用乱数データテ
ーブル変形キーに基づき、前記第1の復号化用変形パタ
ーンテーブルから、前記第nの復号化用変形パターンテ
ーブルまでのそれぞれの復号化用変形パターンテーブル
に基づく変形を、それぞれ何回、前記復号化用乱数デー
タテーブルに対して行うのかを表す、第1の変形回数か
ら、第nの変形回数までのn個の変形回数により構成さ
れる復号化用変形回数テーブル、を出力する復号化用乱
数データテーブル変形方法選択処理手順のプログラム
と、 前記復号化用変形パターンテーブル、及び、前記復号化
用変形回数テーブルに基づき、前記復号化用乱数データ
テーブルを変形することにより、 n個の復号化用変形乱数データテーブルにより構成され
る復号化用変形乱数データテーブル群を生成し、 前記復号化用変形乱数データテーブル群に基づき、復号
化を行うためのn個の復号化用置換データテーブルを生
成する、前記復号化用置換データテーブル生成処理手順
のプログラムと、 前記n個の復号化用置換データテーブルに基づいて、復
号化を行うことによって、前記入力したデータを復号化
して出力する復号化処理手順のプログラムと、 が記録されていることを特徴とするデータ復号化プログ
ラムを記録した記録媒体。
4. A recording medium recording a data decoding program used in a data processing device having a decoding means for decoding and outputting data output from an input means, wherein the data is output from the input means. A program for a decoding random number data table generation process for generating a decoding random number data table based on the decoded decoding random number data table generation key; and a decoding random number data table transformation key output from the input means. Based on the above, n is an arbitrary integer of 1 or more, from the first decoding deformation pattern table to the n-th decoding deformation pattern table, where n is an arbitrary integer of 1 or more. A decoding deformation pattern table composed of a decoding deformation pattern table, and an output from the input means. Based on the modified random number data table modification key, the modification from the first modification pattern table to the n-th modification pattern table is performed based on the modification pattern table for decoding. , A number of times of decoding for the decoding random number data table, which represents the number of times each of which is to be performed on the random number data table for decoding, from the first number of times of deformation to the nth number of times of deformation, By transforming the random number data table for decoding based on a program of a decoding random number data table modification method selecting process procedure for outputting the same, the decoding deformation pattern table, and the decoding transformation number table, Generating a group of modified decoding random number data tables each including the n number of modified decoding random number data tables; A program for the decoding replacement data table generation processing procedure for generating n decoding replacement data tables for performing decoding based on the modified random number data table group, and the n decoding replacement tables. A program for a decoding processing procedure for decoding and outputting the input data by performing decoding based on a data table; and a recording medium storing a data decoding program characterized by: .
JP17171498A 1998-06-18 1998-06-18 Data encryption / decryption device, recording medium recording data encryption / decryption program Expired - Fee Related JP2954172B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17171498A JP2954172B1 (en) 1998-06-18 1998-06-18 Data encryption / decryption device, recording medium recording data encryption / decryption program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17171498A JP2954172B1 (en) 1998-06-18 1998-06-18 Data encryption / decryption device, recording medium recording data encryption / decryption program

Publications (2)

Publication Number Publication Date
JP2954172B1 true JP2954172B1 (en) 1999-09-27
JP2000010476A JP2000010476A (en) 2000-01-14

Family

ID=15928324

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17171498A Expired - Fee Related JP2954172B1 (en) 1998-06-18 1998-06-18 Data encryption / decryption device, recording medium recording data encryption / decryption program

Country Status (1)

Country Link
JP (1) JP2954172B1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005067680A2 (en) * 2004-01-08 2005-07-28 Encryption Solutions, Inc. Method of encrypting and transmitting data and system for transmitting encrypted data
JP4986926B2 (en) * 2008-05-09 2012-07-25 三菱電機株式会社 Encrypted communication system

Also Published As

Publication number Publication date
JP2000010476A (en) 2000-01-14

Similar Documents

Publication Publication Date Title
US9240885B2 (en) Cryptographic processing apparatus, cryptographic processing method, and computer program therefor
US6157720A (en) Method and apparatus for encrypting data
KR100579673B1 (en) Encryption/decryption system, encryption system and decryption system
US20140233729A1 (en) Cryptographic processing apparatus and cryptographic processing method, and computer program
KR970064060A (en) Encryption / Decryption Method and Device
US7869595B2 (en) Content copying device and content copying method
US20090077388A1 (en) Information processing apparatus and computer readable medium
JP2000172548A (en) Electronic data management method and device and recording medium of electronic data management program
JPH10240500A (en) Random number generator and method, enciphering device and method, decoder and method and stream cipher system
CN116186742A (en) Method, device and equipment for encrypting and storing arrow-mounted data
KR960032188A (en) Software encryption / decryption method, software encryption system and software decryption system
CN102142072A (en) Encryption processing and decryption processing method and device of electronic files
JP2954172B1 (en) Data encryption / decryption device, recording medium recording data encryption / decryption program
GB2426673A (en) Forming a ciphertext sequence using a plurality of initialisation values
CN115001869B (en) Encryption transmission method and system
KR101076681B1 (en) Encryption method for data and decryption method therefor
JP2003066834A (en) Converting device, ciphering and deciphering system, multistage converting device, converting method, program, and information recording medium
JP2007141095A (en) Data processor and data processing method
JP4287397B2 (en) Ciphertext generation apparatus, ciphertext decryption apparatus, ciphertext generation program, and ciphertext decryption program
JPH05324485A (en) File compressing ciphering processing device
US20060177053A1 (en) Data processing apparatus, data recording apparatus, data playback apparatus, and data storage method
KR20020025343A (en) Apparatus and Method for encryption and decryption of file using base key and one-time key
JPS6281145A (en) Data ciphering system
JP2000115551A (en) Ciphering method, deciphering method, ciphering device, deciphering device and recording medium
JP2006313505A (en) Encryption and decryption system, apparatuses and methods for encryption and decryption, and program

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19990629

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees