JP2000019959A - Cipher communication system, cipher communication method and storage medium recording cipher communication program - Google Patents

Cipher communication system, cipher communication method and storage medium recording cipher communication program

Info

Publication number
JP2000019959A
JP2000019959A JP10182965A JP18296598A JP2000019959A JP 2000019959 A JP2000019959 A JP 2000019959A JP 10182965 A JP10182965 A JP 10182965A JP 18296598 A JP18296598 A JP 18296598A JP 2000019959 A JP2000019959 A JP 2000019959A
Authority
JP
Japan
Prior art keywords
key
level
encryption
decryption
ciphertext
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
JP10182965A
Other languages
Japanese (ja)
Inventor
Akiyoshi Wakaya
彰良 若谷
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP10182965A priority Critical patent/JP2000019959A/en
Publication of JP2000019959A publication Critical patent/JP2000019959A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a cipher communication system capable of decrypting encrypted ciphers and reducing the cost for management and distribution of keys by providing the system with a key formation means, an encryption means for forming ciphertext by encryption of plaintext and transmitting the formed ciphertext and a cryptoanalysis means for cryptoanalyzing the transmitted ciphertext. SOLUTION: An encryption section 143 forms the ciphertext by encrypting the plaintext read out by using a prescribed encryption algorithm and outputs an instruction for starting the cipher transmission to a transmission and reception section 145. The key formation section 112 of a cryptoanalysis device 110 of a level 1 outputs a calculated integer b1 as a decryption key to a data storage section 114, outputs an integer a1 as an encryption key and the calculated n1 to a transmission and reception section 111 and transmits the decryption key, etc., through the communication circuit 161 to the key formation section 112 of the cryptoanalysis device 110 of the level 1. A cryptoanalysis section 123 forms the common key by using the decryption key 127 received from an input section 125 and the cipher common key, cryptoanalyzes the ciphertext by using the formed common key and forms the plaintext.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、公開された暗号化
鍵を用いて生成された暗号文を送信し、復号化鍵を用い
て前記送信された暗号文を解読する暗号通信システム、
暗号通信方法及び暗号通信プログラムを記録した記録媒
体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a cryptographic communication system for transmitting a ciphertext generated using a publicly available encryption key and decrypting the transmitted ciphertext using a decryption key.
The present invention relates to an encryption communication method and a recording medium on which an encryption communication program is recorded.

【0002】[0002]

【従来の技術】近年、通信の安全性を高めるために様々
な暗号化方式が提案されている。暗号化方式には、次に
示すように、大きく分けて2つの方法がある。送信者と
受信者が共通の秘密鍵を持ち、送信者がその鍵で暗号化
し、受信者が同じ鍵で解読する共通鍵方式と、送信者と
受信者が異なる鍵を持ち、送信者は公開されている暗号
化鍵で暗号化し、受信者は自分のみが知り得る復号化鍵
で解読する公開鍵方式である。共通鍵方式に含まれる方
式には、DES(Data EncryptionSt
andard)やFEAL(Fast Data En
cipermentAlgorithm)やIDEA
(International DataEncryp
tion Algorithm)などがあり、公開鍵方
式には後述するRSAやElGamal方式などがあ
る。一般に、共通鍵方式による暗号化及び解読は計算量
が少ないので高速に行え、公開鍵方式による暗号化及び
解読は計算量が多いので低速である。また、共通鍵方式
では送信者および受信者の両方が秘密鍵を持たなければ
ならないので、両者に同じ鍵を持たせるために、暗号通
信に先だって第三者に盗聴されないように、鍵を配送し
なければならない。一方、公開鍵方式では暗号化鍵は公
開されており、受信者が秘密鍵を管理しさえば良いの
で、セキュリティ上は後者の方が有利である。そこで、
インターネットを利用する暗号通信で用いられ、電子メ
ールにセキュリティ機能を提供するコンピュータプログ
ラムの一つであるPGP(Pretty Good P
rivace)では、本文の暗号化自体は共通鍵方式
(IDEA)で行なうが、共通鍵の配送は公開鍵方式
(RSA)で行なう、というように、共通鍵と公開鍵と
を組み合わせた方式が用いられる。
2. Description of the Related Art In recent years, various encryption schemes have been proposed in order to enhance communication security. As shown below, there are two main types of encryption schemes. The sender and receiver have a common secret key, the sender encrypts with that key, and the receiver decrypts with the same key, and the sender and receiver have different keys, and the sender is public This is a public key system in which the receiver encrypts with a given encryption key and decrypts the receiver with a decryption key known only to him / her. The methods included in the common key method include DES (Data EncryptionSt).
and FEAL (Fast Data En)
chipAlgorithm) and IDEA
(International DataEncrypt
and the public key method includes RSA and ElGamal methods described later. In general, encryption and decryption by the common key method can be performed at high speed because of a small amount of calculation, and encryption and decryption by the public key method are slow because of the large amount of calculation. Also, in the common key method, both the sender and the receiver must have a secret key.To ensure that both parties have the same key, the key must be delivered so that it cannot be eavesdropped on by a third party prior to encrypted communication. There must be. On the other hand, in the public key method, the encryption key is open to the public, and the receiver only has to manage the secret key. Therefore, the latter is more advantageous in terms of security. Therefore,
PGP (Pretty Good P) which is one of computer programs used for encrypted communication using the Internet and providing a security function to e-mail.
In the case of “live”, the text itself is encrypted by a common key method (IDEA), but the common key is distributed by a public key method (RSA). For example, a method combining a common key and a public key is used. Can be

【0003】以下に、「A method of ob
taining digitalsignatures
and public key cryptosys
tems」(R.L.Rivest、A.Sharmi
r and L.Adleman、Comm. of
ACM誌、 Feb,1978)及び米国特許4、40
5、829に開示されているRSA方式の暗号システム
の例を示す。RSA方式は整数の素因数分解の困難さに
基づいた公開鍵方式である。任意の素数p、qに対し、 (式1) n=p*q となる整数nを決め、そのオイラー関数をφ(n)とお
くと、 (式2) φ(n)=(p−1)*(q−1) となる。ここで、オイラー関数φ(n)とは、n以下で
nと互いに素な整数の総数である。このとき、 (式3) a*b ≡ 1 (mod(φ(n)) となる整数 a, b をそれぞれ暗号化鍵、復号化鍵とす
る。平文xは(式4)により暗号化され、暗号文yが得
られる。 (式4) y ≡ xa (mod n) 暗号文yは(式5)により解読され、平文zが得られ
る。 (式5) z ≡ yb (mod n) こうして得られた平文zは、平文xと同じものである。
[0003] In the following, "A method of ob
taining digitalsignatures
and public key cryptosystems
tems "(RL Riverst, A. Sharmi
r and L.L. Adleman, Comm. of
ACM Magazine, Feb, 1978) and US Patent 4,40.
5 and 829 show an example of an RSA encryption system. The RSA scheme is a public key scheme based on the difficulty of factoring integers. For any prime numbers p and q, an integer n that satisfies (Equation 1) n = p * q is determined, and its Euler function is defined as φ (n). (Equation 2) φ (n) = (p−1 ) * (Q-1). Here, the Euler function φ (n) is the total number of integers less than or equal to n and relatively prime to n. At this time, the integers a and b satisfying a * b≡1 (mod (φ (n)) are defined as an encryption key and a decryption key, respectively. ciphertext y is obtained. (equation 4) y ≡ x a (mod n) ciphertext y is decrypted by (equation 5), the plaintext z is obtained. (5) z ≡ y b (mod n) thus The obtained plaintext z is the same as the plaintext x.

【0004】平文zが、平文xと等しくなる理由を以下
に簡単に説明する。オイラー定理によると、aとqとが
互いに素の場合、
[0004] The reason why the plaintext z becomes equal to the plaintext x will be briefly described below. According to Euler's theorem, if a and q are relatively prime, then

【数14】 であるので、[Equation 14] So that

【数15】 である。ここで、 (式8) a*b = 1 + k * φ(n) で
あるので、
(Equation 15) It is. Here, (Equation 8) Since a * b = 1 + k * φ (n),

【数16】 であり、(Equation 16) And

【数17】 となる。したがって、平文Zは平文Xと等しくなる。[Equation 17] Becomes Therefore, plaintext Z is equal to plaintext X.

【0005】このようにして、RSA方式により、暗号
化及び解読が可能となる。暗号文の送信者が、複数の受
信者に同一の本文を暗号化して送信する場合は、図13
に示すように、本文を共通鍵Kで暗号化して生成された
暗号文1604と、複数の受信者から送信された暗号化
鍵a1 、a2 、・・・、an を用いて、共通鍵Kを暗号
化して生成された複数の暗号文1601、1602、・
・・、1603とからなる暗号文全体1600を、各受
信者に送信する。このように、公開鍵方式は暗号および
解読するための計算量が多いので、本文全体を公開鍵で
暗号化することは少ない。PGPでは、本文自体は共通
鍵方式であるIEDAで暗号化し、その共通鍵のみをR
SAにより暗号化する。これにより、暗号化のコストの
低減も図れ、かつ、共通鍵の配送時に発生する問題点も
解決する。
[0005] In this manner, encryption and decryption can be performed by the RSA method. FIG. 13 shows a case where the sender of the ciphertext transmits the same text after encrypting the same text to a plurality of recipients.
As shown in, using the cryptogram 1604 generated by encrypting the text using the common key K, the encryption key transmitted from a plurality of receivers a 1, a 2, · · ·, the a n, a common A plurality of ciphertexts 1601, 1602,... Generated by encrypting the key K;
.., And 1603 to each recipient. As described above, since the public key method requires a large amount of calculation for encryption and decryption, the entire text is rarely encrypted with the public key. In PGP, the text itself is encrypted using IEDA, which is a common key method, and only the common key is used for RDA.
Encrypt by SA. As a result, the cost of encryption can be reduced, and the problem that occurs when the common key is delivered is also solved.

【0006】[0006]

【発明が解決しようとする課題】以上に説明したよう
に、上記従来の公開鍵暗号方式を用いると、暗号化のコ
ストの低減も図れ、かつ、共通鍵の配送時に発生する問
題点も解決するものの、階層的な解読権限を有する複数
のレベルの受信者に暗号文を送信する場合において、受
信者の数だけ共通鍵を暗号化して、本文の暗号文に付加
して送信しなければならないという問題点がある。ここ
で、階層的な解読権限とは、より上位のレベルに属する
受信者が、自分の復号鍵を用いて、下位のレベルの受信
者に送信されてきた暗号文を解読できることを言う。例
えば、会社の組織で上司と部下との関係にある複数の受
信者に暗号文を送信する場合、部下が解読できる暗号化
鍵を用いて部下宛に作られた暗号文を上司が自分の復号
鍵を用いて解読できることを言う。本発明は、上記問題
点に鑑み、階層的な解読権限を有する複数のレベルの受
信者に暗号文を送信する場合において、上位レベルの受
信者の復号鍵を用いて、下位のレベルの受信者の暗号鍵
を用いて暗号化された暗号を解読でき、鍵の管理及び配
送コストを低減できる暗号通信システム、暗号通信方法
及び暗号通信プログラムを記録した記録媒体を提供する
ことを目的とする。
As described above, the use of the above-mentioned conventional public key cryptosystem can reduce the cost of encryption and solve the problems that occur when the common key is delivered. However, when sending ciphertext to multiple levels of recipients who have hierarchical decryption authority, it is necessary to encrypt the common key by the number of recipients and add it to the ciphertext of the text before sending it There is a problem. Here, the hierarchical decryption authority means that a receiver belonging to a higher level can decrypt a ciphertext transmitted to a lower-level recipient using his / her own decryption key. For example, when a company organization sends ciphertexts to multiple recipients who have a relationship between a boss and a subordinate, the boss decrypts the ciphertext created for the subordinate using an encryption key that the subordinate can decrypt. Say something that can be decrypted using a key. The present invention has been made in view of the above problems, and in the case of transmitting ciphertext to a plurality of levels of recipients having hierarchical decryption authority, using a decryption key of an upper level recipient, a lower level recipient It is an object of the present invention to provide a cryptographic communication system, a cryptographic communication method, and a recording medium on which a cryptographic communication program can be decrypted, which can decrypt a code encrypted using the cryptographic key, and can reduce the key management and distribution costs.

【0007】[0007]

【課題を解決するための手段】上記目的を達成するため
に、本発明は、公開された暗号化鍵を用いて生成された
暗号文を送信し、復号鍵を用いて前記送信された暗号文
を解読する暗号通信システムであって、所定の演算に基
づいて、第1のレベルの暗号化鍵を用いて暗号化された
暗号文が前記第1のレベルと等しいか又はそれより高い
第2のレベルの復号鍵を用いて解読でき複数個のレベル
からなる暗号化鍵と復号鍵とを前記複数個生成し、前記
生成された複数個のレベルからなる暗号化鍵を送信する
鍵生成手段と、前記暗号化鍵を受信し、受信した暗号化
鍵のうち第3のレベルの暗号化鍵を用いて、平文を暗号
化して暗号文を生成し、生成した暗号文を送信する暗号
化手段と、前記生成された復号鍵のうち第4のレベルの
復号鍵を用いて、前記第4のレベルが前記第3のレベル
より高いか又は等しい場合に、前記送信された暗号文を
解読する解読手段とを備えることを特徴とする。
In order to achieve the above object, the present invention transmits a cipher text generated using a publicly available encryption key, and transmits the cipher text using a decryption key. A ciphertext encrypted using a first level of encryption key based on a predetermined operation, wherein a ciphertext equal to or higher than said first level. Key generation means for generating an encryption key and a decryption key comprising a plurality of levels that can be decrypted using a decryption key of a level, and transmitting the generated encryption key comprising the plurality of levels; Encrypting means for receiving the encryption key, encrypting the plaintext using the third-level encryption key among the received encryption keys to generate a ciphertext, and transmitting the generated ciphertext; Using a fourth level decryption key among the generated decryption keys, If serial fourth level is higher than or equal to the third level, characterized in that it comprises a decoding means for decoding the transmitted ciphertext.

【0008】ここで、前記鍵生成手段は、レベル1の暗
号化鍵a1 と復号化鍵b1 とを、次式により決定し、 a1 × b1 ≡ 1 ( mod φ(n1
)、 ここで、任意の素数p1 、q1 について、φ(n1 )=
(p1 −1)×(q1 −1)であり、レベルi(i>
1)の復号化鍵bi を、次式により決定し、
Here, the key generation means determines a level 1 encryption key a 1 and a decryption key b 1 according to the following equation: a 1 × b 1 1 1 (mod φ (n 1 )
Here, for any prime numbers p 1 and q 1 , φ (n 1 ) =
(P 1 -1) × (q 1 -1), and the level i (i>
The decryption key b i 1), was determined by the following equation,

【数18】 レベルi(i>1)の暗号化鍵ai を、次式により決定
し、 ai × bi ≡ 1 ( mod φ(ni
)、 ここで、任意の素数pi 、qi について、φ(ni )=
(pi −1)×(qi −1)であり、前記暗号化手段
は、次式により平文xを暗号化して暗号文yを生成し、
(Equation 18) The encryption key a i of level i (i> 1) is determined by the following equation, and a i × b i 1 1 (mod φ (n i )
Here, for any primes p i and q i , φ (n i ) =
(P i −1) × (q i −1), and the encryption unit encrypts the plain text x by the following formula to generate a cipher text y,

【数19】 ここで、ai は、レベルiの暗号化鍵であり、ni
i × qi であり、レベルiを出力し、前記解読手
段は、前記暗号化手段よりレベルiを受信し、次式によ
り暗号文yを解読して平文zを生成し、
[Equation 19] Here, a i is an encryption key of level i, and n i =
p i × q i and outputs a level i, and the decryption means receives the level i from the encryption means, decrypts the cipher text y by the following equation to generate a plain text z,

【数20】 ここで、bj は、レベルj(j≧i)の暗号化鍵であ
り、ni = pi × qi であるとしてもよい。
(Equation 20) Here, b j is the encryption key levels j (j ≧ i), may be the n i = p i × q i .

【0009】また、本発明は、暗号化鍵と復号化鍵とを
生成し暗号文を解読するL個の異なるレベルの解読装置
と、暗号文を生成する暗号化装置とから構成される暗号
通信システムであって、レベル1の解読装置は、レベル
1の暗号化鍵a1 と復号化鍵b1 とを、次式により決定
し、 a1 × b1 ≡ 1 ( mod φ(n1
)、 ここで、任意の素数p1 、q1 について、φ(n1 )=
(p1 −1)×(q1 −1)であり、決定した暗号化鍵
1 を前記暗号化装置へ送信し、決定した復号化鍵b1
とφ(n1 )とをレベル2の解読装置に出力するレベル
1の鍵作成手段と、解読手段とを備え、レベルi(1<
i<L)の解読装置は、レベルiの復号化鍵bi を、次
式により決定し、
Further, the present invention provides a cryptographic communication system comprising L different-level decryption devices for generating an encryption key and a decryption key and decrypting a ciphertext, and an encryption device for generating a ciphertext. In the system, a level 1 decryption device determines a level 1 encryption key a 1 and a decryption key b 1 according to the following equation: a 1 × b 1 1 1 (mod φ (n 1 )
Here, for any prime numbers p 1 and q 1 , φ (n 1 ) =
(P 1 −1) × (q 1 −1), and transmits the determined encryption key a 1 to the encryption device and determines the determined decryption key b 1
And φ (n 1 ) are output to a level 2 decryption device, and a level 1 key generation unit and a decryption unit are provided.
The decryption device of i <L) determines the decryption key bi of level i by the following equation:

【数21】 レベルiの暗号化鍵ai を、次式により決定し、 ai × bi ≡ 1 ( mod φ(ni
)、 ここで、任意の素数pi 、qi について、φ(ni )=
(pi −1)×(qi −1)であり、決定した暗号化鍵
i を前記暗号化装置へ送信し、決定した復号化鍵b
i 、φ(n1 )、φ(n2 )、・・・、φ(ni )をレ
ベルi+1の解読装置に出力するレベルiの鍵作成手段
と、解読手段とを備え、レベルLの解読装置は、レベル
Lの復号化鍵bL を、次式により決定し、
(Equation 21) A level i encryption key a i is determined by the following equation: a i × b i 1 1 (mod φ (n i )
Here, for any primes p i and q i , φ (n i ) =
(P i −1) × (q i −1), and transmits the determined encryption key a i to the encryption device and determines the determined decryption key b.
a level i key generating means for outputting i , φ (n 1 ), φ (n 2 ),..., φ (n i ) to a level i + 1 decryption device, and decryption means; The apparatus determines a level L decryption key b L by the following equation:

【数22】 レベルLの暗号化鍵aL を、次式により決定し、 aL × bL ≡ 1 ( mod φ(nL
)、 ここで、任意の素数pL 、qL について、φ(nL )=
(pL −1)×(qL −1)であり、決定した暗号化鍵
L を前記暗号化装置へ送信するレベルLの鍵作成手段
と、解読手段とを備え、前記暗号化装置は、次式により
平文xを暗号化して暗号文yを生成し、
(Equation 22) A level L encryption key a L is determined by the following equation: a L × b L 1 1 (mod φ (n L )
Here, for any prime numbers p L and q L , φ (n L ) =
(P L −1) × (q L −1), comprising: a level L key generation unit that transmits the determined encryption key a L to the encryption device; and a decryption unit. , Encrypts the plaintext x by the following formula to generate a ciphertext y,

【数23】 ここで、am は、レベルm(1≦m≦L)の暗号化鍵で
あり、nm = pm × qm であり、レベルmを出力
する暗号化手段を備え、前記レベル1からレベルLの解
読装置において、前記解読手段は、前記暗号化手段より
レベルmを受信し、次式により暗号文yを解読して平文
zを生成し、
(Equation 23) Here, a m is an encryption key of the level m (1 ≦ m ≦ L) , a n m = p m × q m , comprises an encryption means for outputting a level m, the level from said level 1 L, the decryption means receives the level m from the encryption means, decrypts the ciphertext y by the following equation to generate a plaintext z,

【数24】 ここで、bj は、レベルj(j≧m)の暗号化鍵であ
り、nm = pm × qm であることを特徴とする。
(Equation 24) Here, b j is the encryption key levels j (j ≧ m), characterized in that it is a n m = p m × q m .

【0010】また、本発明は、暗号化鍵と復号化鍵とを
生成する鍵作成装置と、暗号文を生成する暗号化装置
と、暗号文を解読するL個の異なるレベルの解読装置と
から構成される暗号通信システムであって、前記鍵作成
装置は、レベル1の暗号化鍵a 1 と復号化鍵b1 とを、
次式により決定し、 a1 × b1 ≡ 1 ( mod φ(n1
)、 ここで、任意の素数p1 、q1 について、φ(n1 )=
(p1 −1)×(q1 −1)であり、レベルi(1<i
<L)の復号化鍵bi を、次式により決定し、
[0010] Further, according to the present invention, an encryption key and a decryption key are used.
Key generation device for generating and encryption device for generating ciphertext
And L different levels of decryption devices for decrypting ciphertexts
A cryptographic communication system comprising:
The device has a level 1 encryption key a 1 And decryption key b1 And
Determined by the following formula, a1 × b1  ≡ 1 (mod φ (n1 )
 ), Where any prime p1 , Q1 For φ (n1 ) =
(P1 -1) × (q1 -1) and level i (1 <i
<L) decryption key bi Is determined by the following equation,

【数25】 レベルiの暗号化鍵ai を、次式により決定し、 ai × bi ≡ 1 ( mod φ(ni
)、 ここで、任意の素数pi 、qi について、φ(ni )=
(pi −1)×(qi −1)であり、前記決定した暗号
化鍵a1 、a2 、・・・、aL を前記暗号化装置へ送信
し、前記決定した復号化鍵b1 、b2 、・・・、bL
それぞれ、レベル1、レベル2、・・・、レベルLの解
読装置へ出力する鍵作成手段を備え、前記暗号化装置
は、次式により平文xを暗号化して暗号文yを生成し、
(Equation 25) A level i encryption key a i is determined by the following equation: a i × b i 1 1 (mod φ (n i )
Here, for any primes p i and q i , φ (n i ) =
(P i −1) × (q i −1), and transmits the determined encryption keys a 1 , a 2 ,..., A L to the encryption device, and determines the determined decryption key b. 1, b 2, ..., respectively b L, level 1, level 2, ..., includes a key generation unit for outputting to the decrypted device level L, the encryption device, a plain text x using the following equation Encrypt to generate a ciphertext y,

【数26】 ここで、am は、レベルmの暗号化鍵であり、nm
m × qm であり、レベルmを出力する暗号化手段
を備え、前記レベル1〜レベルLの解読装置は、前記暗
号化手段よりレベルmを受信し、次式により暗号文yを
解読して平文zを生成し、
(Equation 26) Here, a m is an encryption key of levels m, n m =
p m × q m , comprising an encryption means for outputting a level m, wherein the level 1 to level L decryption device receives the level m from the encryption means and decrypts the cipher text y by the following equation. To generate plaintext z,

【数27】 ここで、bj は、レベルj(j≧m)の暗号化鍵であ
り、nm = pm × qm である解読手段を備えるこ
とを特徴とする。
[Equation 27] Here, b j is the encryption key levels j (j ≧ m), characterized in that it comprises a decoding means is n m = p m × q m .

【0011】[0011]

【発明の実施の形態】1.第1の実施の形態 本発明の一つの実施の形態としての暗号通信システム1
00について、図面を参照しながら説明する。暗号通信
システム100は、図1に示すように、L個のレベル1
の解読装置110、・・・、レベルiの解読装置12
0、・・・、レベルLの解読装置130と、暗号化装置
140と、通信回線151、・・・、152、・・・、
153と、通信回線161、・・・、162、163、
・・・、164とから構成される。通信回線161、・
・・、162、163、・・・、164は、通信の際に
通信内容を第三者に盗聴されない特別の通信回線であ
る。例えば、公衆網を経由せず、専用に設けられた回線
である。ここで、各解読装置は、階層的な解読権限を有
し、より上位のレベルの解読装置を利用する受信者が、
自分に割り当てられたの復号鍵を用いて、自分に送信さ
れてきた暗号文と下位のレベルの受信者に送信されてき
た暗号文とを解読できる。
BEST MODE FOR CARRYING OUT THE INVENTION First Embodiment Cryptographic communication system 1 according to one embodiment of the present invention
00 will be described with reference to the drawings. As shown in FIG. 1, the cryptographic communication system 100
, The decryption device 12 at level i
, 0,..., Level L decryption device 130, encryption device 140, communication lines 151,.
153, communication lines 161,..., 162, 163,
.., 164. Communication line 161,
, 162, 163, ..., 164 are special communication lines in which communication contents are not eavesdropped by a third party during communication. For example, a line provided exclusively without passing through a public network. Here, each decryption device has a hierarchical decryption authority, and a recipient using a higher-level decryption device has:
Using the decryption key assigned to oneself, the ciphertext sent to oneself and the ciphertext sent to lower-level recipients can be decrypted.

【0012】1.1 暗号化装置140の構成 暗号化装置140は、入力部141、表示部142、暗
号化部143、データ記憶部144、送受信部145か
ら構成される。送受信部145は、通信回線151、・
・・、152、・・・、153を経由して、それぞれレ
ベル1の解読装置110の送受信部111、・・・、レ
ベルiの解読装置120の送受信部121、・・・、レ
ベルLの解読装置130の送受信部131と接続されて
いる。
1.1 Configuration of Encryption Device 140 The encryption device 140 includes an input unit 141, a display unit 142, an encryption unit 143, a data storage unit 144, and a transmission / reception unit 145. The transmission / reception unit 145 includes a communication line 151,.
, 152,..., 153, the transmission / reception units 111,... Of the level 1 decryption device 110, the transmission / reception units 121 of the level i decryption device 120,. The transmission / reception unit 131 of the device 130 is connected.

【0013】1.1.1 入力部141 入力部141は、暗号文の送信者から、暗号化鍵の表示
要求の入力を受け付け、表示要求を表示部142へ出力
する。入力部141は、暗号文の送信者から、平文X1
49の入力を受け付け、受け付けた平文X149をデー
タ記憶部144へ出力する。また、入力部141は、暗
号文の送信者から、平文を暗号化し生成した暗号文を送
信する要求172と、暗号化鍵147と、暗号化鍵14
7のレベルI170と、共通鍵K171との入力を受け
付け、受け付けた要求172と暗号化鍵147と暗号化
鍵147のレベルI170と共通鍵K171とを暗号化
部143へ出力する。
1.1.1 Input Unit 141 The input unit 141 receives an input of an encryption key display request from the sender of the ciphertext, and outputs the display request to the display unit 142. The input unit 141 receives the plaintext X1 from the sender of the ciphertext.
49, and the received plaintext X149 is output to the data storage unit 144. Further, the input unit 141 receives a request 172 for transmitting a ciphertext generated by encrypting a plaintext from the sender of the ciphertext, an encryption key 147, and an encryption key 14.
7 and an input of the common key K171, and outputs the received request 172, the encryption key 147, the level I170 of the encryption key 147, and the common key K171 to the encryption unit 143.

【0014】1.1.2 表示部142 表示部142は、入力部141から暗号化鍵の表示要求
を受け取る。表示部142が、入力部141から暗号化
鍵の表示要求を受け取った場合に、表示部142は、デ
ータ記憶部144から暗号化鍵a1 201、a2 20
2、・・・、aL206を読み出し、読み出した暗号化
鍵a1 201、a2 202、・・・、aL206を暗号
化鍵148として表示する。
1.1.2 Display Unit 142 The display unit 142 receives an encryption key display request from the input unit 141. When the display unit 142 receives the display request of the encryption key from the input unit 141, the display unit 142 transmits the encryption keys a 1 201 and a 2 20 from the data storage unit 144.
, A L 206 are read, and the read encryption keys a 1 201, a 2 202,..., A L 206 are displayed as encryption keys 148.

【0015】1.1.3 データ記憶部144 データ記憶部144は、送受信部145から暗号化鍵a
1 201、a2 202、・・・、aL 206と、後述す
るn1 212、n2 213、・・・、nL 214とを受
け取り、受け取った暗号化鍵a1 201、a2 202、
・・・、aL 206と、n1 212、n2 213、・・
・、nL 214とを記憶し、暗号化部143から暗号文
Y209を受け取り、受け取った暗号文Y209を記憶
する。また、データ記憶部144は、暗号化部143か
らレベルI210、暗号化共通鍵K’211を受け取
り、受け取ったレベルI210、暗号化共通鍵K’21
1を記憶する。また、データ記憶部144は、入力部1
41から平文X208を受け取り、受け取った平文X2
08を記憶する。データ記憶部144が記憶している内
容を図2に示す。
1.1.3 Data Storage Unit 144 The data storage unit 144 receives the encryption key a from the transmission / reception unit 145.
1 201, a 2 202, ··· , a and L 206, n 1 212, n 2 213 to be described later, ..., receives the n L 214, received encryption key a 1 201, a 2 202,
..., a L 206, n 1 212, n 2 213, ...
, N L 214, and receives the ciphertext Y209 from the encryption unit 143, and stores the received ciphertext Y209. The data storage unit 144 receives the level I210 and the encrypted common key K′211 from the encryption unit 143, and receives the received level I210 and the encrypted common key K′21.
1 is stored. Also, the data storage unit 144 stores the input unit 1
Receives plaintext X208 from 41 and receives plaintext X2
08 is stored. FIG. 2 shows the contents stored in the data storage unit 144.

【0016】1.1.4 暗号化部143 暗号化部143は、入力部141から平文を暗号化し生
成した暗号文を送信する要求172と、暗号化鍵147
と、暗号化鍵147のレベルI170と、共通鍵K17
1とを受け取る。暗号化部143が、入力部141から
平文を暗号化し生成した暗号文を送信する要求172
と、暗号化鍵147と、暗号化鍵147のレベルI17
0と、共通鍵K171とを受け取ると、暗号化部143
は、データ記憶部144から平文X208と、レベルI
170に対応するni とを読み出し、前記受け取った共
通鍵K171により、所定の暗号化アルゴリズムを用い
て、読み出した平文X208を暗号化して暗号文Y20
9を生成する。
1.1.4 Encryption Unit 143 The encryption unit 143 encrypts a plaintext from the input unit 141 and transmits a request 172 to transmit the generated encrypted text, and an encryption key 147.
And the level I170 of the encryption key 147 and the common key K17
1 and receive. A request 172 for encrypting the plaintext from the input unit 141 and transmitting the generated encrypted text.
, An encryption key 147, and a level I17 of the encryption key 147
0 and the common key K171, the encryption unit 143
Is the plaintext X208 from the data storage unit 144 and the level I
Reads the n i corresponding to 170, the common key K171 said received using a predetermined encryption algorithm, encryption to encrypt the read plaintext X208 sentence Y20
9 is generated.

【0017】次に、暗号化部143は、次に示す式を満
たすような暗号化共通鍵K’211を算出する。
Next, the encryption unit 143 calculates an encrypted common key K ′ 211 that satisfies the following equation.

【数28】 ここで、Ai は、前記受け取った暗号化鍵147であ
る。また、暗号化部143は、送受信部145へ、暗号
送信開始の指示を出力する。さらに、暗号化部143
は、レベルI170、暗号化共通鍵K’211、暗号文
Yをデータ記憶部144へ出力する。
[Equation 28] Here, A i is the received encryption key 147. Further, encryption section 143 outputs an instruction to start encryption transmission to transmission / reception section 145. Further, the encryption unit 143
Outputs the level I 170, the encrypted common key K ′ 211, and the cipher text Y to the data storage unit 144.

【0018】1.1.5 送受信部145 送受信部145は、レベル1の解読装置110の送受信
部111、・・・、レベルiの解読装置120の送受信
部121、・・・、レベルLの解読装置130の送受信
部131から、それぞれ、暗号化鍵a1 201、・・
・、暗号化鍵ai204、・・・、暗号化鍵a1 206
と、n1 212、n2 213、・・・、n L 214とを
受け取り、受け取った暗号化鍵a1 201、・・・、暗
号化鍵ai204、・・・、暗号化鍵aL 206と、n
1 212、n2 213、・・・、n L 214とをデータ
記憶部144へ出力する。また、送受信部145は、暗
号化部143から暗号送信開始の指示を受け取る。送受
信部145が暗号化部143から暗号送信開始の指示を
受け取ると、送受信部145は、データ記憶部144か
ら、レベルI210、暗号化共通鍵K’211、暗号文
Y209を読み出し、読み出したレベルI210、暗号
化共通鍵K’211、暗号文Y209を、レベルI21
0で特定される解読装置の送受信部へ送信する。
1.1.5 Transmitting / Receiving Unit 145 The transmitting / receiving unit 145 transmits and receives the level 1 decryption device 110
, The transmission and reception of the decryption device 120 of level i
.., The transmission and reception of the level L decryption device 130
From the unit 131, the encryption key a1201, ...
・, Encryption key ai204,..., Encryption key a1206
And n1212, nTwo213,..., N L214 and
Received and received encryption key a1201, ..., dark
Encryption key ai204,..., Encryption key aL 206 and n
1212, nTwo213,..., N L214 and data
Output to the storage unit 144. Also, the transmitting / receiving unit 145
An encryption transmission start instruction is received from the encryption unit 143. Sending and receiving
The communication unit 145 issues an instruction to start encryption transmission from the encryption unit 143.
Upon receipt, the transmission / reception unit 145
Level I210, encrypted common key K'211 and ciphertext
Y209 is read, and the read level I210, encryption
The encrypted common key K'211 and the ciphertext Y209 to the level I21
The data is transmitted to the transmission / reception unit of the decryption device specified by “0”.

【0019】1.2 レベル1の解読装置110 レベル1の解読装置110は、送受信部111、鍵作成
部112、解読部113、データ記憶部114、入力部
115、表示部116から構成される。送受信部111
は、通信回線151を経由して、暗号化装置140の送
受信部145と接続されており、鍵作成部112は、通
信回線161を経由して図示していないレベル2の解読
装置の鍵作成部と接続されている。
1.2 Level 1 Decryption Device 110 The level 1 decryption device 110 includes a transmission / reception unit 111, a key creation unit 112, a decryption unit 113, a data storage unit 114, an input unit 115, and a display unit 116. Transmitting / receiving unit 111
Is connected to the transmission / reception unit 145 of the encryption device 140 via the communication line 151, and the key generation unit 112 is connected to the key generation unit of the level-2 decryption device (not shown) via the communication line 161. Is connected to

【0020】1.2.1 鍵作成部112 鍵作成部112は、以下に示すように、レベル1の暗号
化鍵a1 及びレベル1の復号鍵b1 を生成する。鍵作成
部112は、任意の2つの素数p1 、q1 を選び、 (式12) n1 = p1 × q1 、 及び (式13) φ(n1 ) = (p1 −1) × (q1 −1)、 を用いて、 n1と φ(n1 )とを算出する。次に、鍵
作成部112は、任意の整数a1 を選び、拡張ユークリ
ッドアルゴリズムにより、 (式14) a1 × b1 ≡ 1 (mod φ(n1 )) となる整数b1 を算出する。拡張ユークリッドアルゴリ
ズムについては、公知であるので、説明を省略する。な
お、拡張ユークリッドアルゴリズムについては、拡張ユ
ークリッドの互助法として、現代暗号理論pp17〜1
8(電子通信学会、昭和62年発行)に説明されてい
る。鍵作成部112は、算出された整数b1 を復号化鍵
611としてデータ記憶部114へ出力し、暗号化鍵と
しての整数a1 と算出されたn1 とを送受信部111へ
出力し、前記復号化鍵b1 611と算出されたφ
(n1 )とを通信回線161を経由して、レベル2の解
読装置の鍵作成部へ送信する。
1.2.1 Key Generation Unit 112 The key generation unit 112 generates a level 1 encryption key a 1 and a level 1 decryption key b 1 as described below. The key generation unit 112 selects any two prime numbers p 1 and q 1 , and (expression 12) n 1 = p 1 × q 1 and (expression 13) φ (n 1 ) = (p 1 −1) × (Q 1 −1), is used to calculate n 1 and φ (n 1 ). Then, key generator 112, selects any integer a 1, by the extended Euclidean algorithm, calculates the integer b 1 to be (Equation 14) a 1 × b 1 ≡ 1 (mod φ (n 1)). Since the extended Euclidean algorithm is known, its description is omitted. The extended Euclidean algorithm is described as a modern cryptographic theory pp17-1 as a mutual aid method of the extended Euclidean algorithm.
8 (IEICE, published in 1987). The key creation unit 112 outputs the calculated integer b 1 to the data storage unit 114 as the decryption key 611, and outputs the integer a 1 as the encryption key and the calculated n 1 to the transmission / reception unit 111. The decryption key b 1 611 and the calculated φ
(N 1 ) is transmitted to the key generation unit of the level-2 decryption device via the communication line 161.

【0021】1.2.2 送受信部111 送受信部111は、鍵作成部112から出力された暗号
化鍵a1 と算出されたn1 とを、暗号化装置140の送
受信部145へ送信する。また、送受信部111は、暗
号化装置140の送受信部145から送信される暗号文
Y614と暗号化共通鍵K’613とレベルI612と
を受信し、受信した暗号文Y614と暗号化共通鍵K’
613とレベルI612とをデータ記憶部114へ出力
する。
1.2.2 Transmission / Reception Unit 111 The transmission / reception unit 111 transmits the encryption key a 1 output from the key generation unit 112 and the calculated n 1 to the transmission / reception unit 145 of the encryption device 140. Further, the transmission / reception unit 111 receives the ciphertext Y614, the encrypted common key K'613, and the level I612 transmitted from the transmission / reception unit 145 of the encryption device 140, and receives the received ciphertext Y614 and the encrypted common key K '.
613 and the level I 612 are output to the data storage unit 114.

【0022】1.2.3 データ記憶部114 データ記憶部114は、鍵作成部112から出力された
復号化鍵b1 611を受け取り、受け取った復号化鍵b
1 611を記憶する。また、データ記憶部114は、送
受信部111から出力された暗号文Y614と暗号化共
通鍵K’613とレベルI612とを受け取り、受け取
った暗号文Y614と暗号化共通鍵K’613とレベル
I612とを記憶する。データ記憶部114が記憶する
内容610を図3に示す。内容610には、復号化鍵b
1 611、レベルI612、暗号化共通鍵K’613、
暗号文Y614、n1 616が含まれる。さらに、デー
タ記憶部114は、解読部113から出力された図示し
ていない平文を記憶する。
1.2.3 Data Storage Unit 114 The data storage unit 114 receives the decryption key b 1 611 output from the key creation unit 112, and receives the decryption key b
1 611 is stored. Further, the data storage unit 114 receives the ciphertext Y614, the encrypted common key K'613, and the level I612 output from the transmitting / receiving unit 111, and receives the received ciphertext Y614, the encrypted common key K'613, and the level I612. Is stored. FIG. 3 shows the contents 610 stored in the data storage unit 114. The content 610 includes the decryption key b
1 611, level I 612, encrypted common key K'613,
Ciphertext Y614, n 1 616 is included. Further, the data storage unit 114 stores plain text (not shown) output from the decryption unit 113.

【0023】1.2.4 解読部113 解読部113は、入力部115から復号化鍵117を受
け取る。また、解読部113が入力部115から復号化
鍵117を受け取ると、解読部113は、データ記憶部
114に記憶されている暗号化共通鍵K’613、暗号
文Y614、n1 616を読み出す。次に、解読部11
3は、入力部115から受け取った復号化鍵117と暗
号化共通鍵K’613とn1 616とを用いて、つぎの
式を満たす共通鍵K”を生成する。 (式15) K” ≡ K’^ B1 (mod (n1 ) ) ここで、B1 は、復号化鍵117である。
1.2.4 Decryption Unit 113 The decryption unit 113 receives the decryption key 117 from the input unit 115. Moreover, when the decryption unit 113 receives the decryption key 117 from the input unit 115, decryption unit 113 encrypts the common key stored in the data storage unit 114 K'613, reads the ciphertext Y614, n 1 616. Next, the decryption unit 11
3 uses the decryption key 117, the encrypted common key K ′ 613, and n 1 616 received from the input unit 115 to generate a common key K ″ that satisfies the following equation: (Equation 15) K ″ { K ′ ^ B 1 (mod (n 1 )) Here, B 1 is the decryption key 117.

【0024】共通鍵K”を生成する際に、暗号化共通鍵
K’613を暗号化した暗号化鍵に対応していない復号
化鍵を用いたときには、誤った共通鍵K”が生成され
る。さらに、解読部113は、生成された共通鍵K”を
用いて、暗号文Y614を解読し、平文Zを生成する。
このとき、誤った共通鍵K”が用いられた場合には、意
味のない平文Zが生成される。解読部113は、生成し
た平文Zをデータ記憶部114へ出力する。
If a decryption key that does not correspond to the encryption key obtained by encrypting the encryption common key K ′ 613 is used to generate the common key K ″, an incorrect common key K ″ is generated. . Further, the decryption unit 113 decrypts the ciphertext Y614 using the generated common key K ″ to generate a plaintext Z.
At this time, if an incorrect common key K ″ is used, a meaningless plaintext Z is generated. The decryption unit 113 outputs the generated plaintext Z to the data storage unit 114.

【0025】1.2.5 入力部115 入力部115は、レベル1の受信者からレベル1の復号
化鍵の表示要求の入力を受け付け、表示要求を表示部1
16へ出力する。また、入力部115は、レベル1の受
信者から、復号化鍵117の入力を受け付け、受け付け
た復号化鍵117を解読部113へ出力する。
1.2.5 Input Unit 115 The input unit 115 receives an input of a display request for a level 1 decryption key from a level 1 recipient, and sends the display request to the display unit 1.
16 is output. Also, the input unit 115 receives an input of the decryption key 117 from the level 1 recipient and outputs the received decryption key 117 to the decryption unit 113.

【0026】1.2.6 表示部116 表示部116は、入力部115からレベル1の復号化鍵
の表示要求を受け取る。表示部116が、入力部115
からレベル1の復号化鍵の表示要求を受け取った場合
に、表示部116は、データ記憶部114から復号化鍵
1 611を読み出し、読み出した復号化鍵b1 611
を復号化鍵118として表示する。
1.2.6 Display Unit 116 The display unit 116 receives a display request for the level 1 decryption key from the input unit 115. The display unit 116 is an input unit 115
When receiving a display request of the decoding key from level 1, the display unit 116 reads the decryption key b 1 611 from the data storage unit 114, the read decryption key b 1 611
Is displayed as the decryption key 118.

【0027】1.3 レベルiの解読装置120 レベルiの解読装置120は、送受信部121、鍵作成
部122、解読部123、データ記憶部124、入力部
125、表示部126から構成される。送受信部121
は、通信回線152を経由して、暗号化装置140の送
受信部145と接続されており、鍵作成部122は、通
信回線162を経由して図示していないレベル(i−
1)の解読装置の鍵作成部と接続されており、通信回線
163を経由して図示していないレベル(i+1)の解
読装置の鍵作成部と接続されている。ここで、1<i<
Lであり、以下の説明は、レベル2以上、レベルL未満
の解読装置に適用される。
1.3 Level i Decryption Device 120 The level i decryption device 120 includes a transmission / reception unit 121, a key creation unit 122, a decryption unit 123, a data storage unit 124, an input unit 125, and a display unit 126. Transmitting / receiving section 121
Is connected to the transmission / reception unit 145 of the encryption device 140 via the communication line 152, and the key generation unit 122 transmits the level (i-
It is connected to the key generation unit of the decryption device of 1), and is connected to the key generation unit of the level (i + 1) decryption device (not shown) via the communication line 163. Here, 1 <i <
L, and the following description is applied to a decoding device of level 2 or higher and lower than level L.

【0028】1.3.1 鍵作成部122 鍵作成部122は、以下に示すように、レベルiの暗号
化鍵ai 及びレベルiの復号鍵bi を生成する。鍵作成
部122は、任意の2つの素数pi 、qi を選び、 (式16) ni = pi × qi 、 及び (式17) φ(ni ) = (pi −1) × (qi −1)、 を用いて、 ni とφ(ni )とを算出する。次に、鍵
作成部122は、
[0028] 1.3.1 key generator 122 key generation unit 122, as described below, to generate a decryption key b i encryption key a i and level i of level i. The key creation unit 122 selects any two prime numbers p i and q i , and (Equation 16) ni = p i × q i , and (Equation 17) φ (n i ) = (p i −1) × (q i -1), is used to calculate the n i and phi (n i). Next, the key creation unit 122

【数29】 を算出し(ステップS904)、次に、鍵作成部122
は、拡張ユークリッドアルゴリズムにより、 (式19) ai × bi ≡ 1 (mod φ(ni )) となる整数ai を算出する。鍵作成部122は、算出さ
れた整数bi を復号化鍵641としてデータ記憶部12
4へ出力し、暗号化鍵としての整数ai と算出されたn
i とを送受信部121へ出力し、前記復号化鍵bi 64
1と算出されたφ(n1 )、φ(n2 )、・・・、φ
(ni )とを通信回線161を経由して、レベルi+1
の解読装置の鍵作成部へ送信する。
(Equation 29) Is calculated (step S904), and then the key generation unit 122
Calculates an integer a i that satisfies (Equation 19) a i × b i 1 1 (mod φ (n i )) by an extended Euclidean algorithm. The key creation unit 122 uses the calculated integer b i as the decryption key 641
4 and an integer a i as the encryption key and the calculated n
i to the transmission / reception unit 121 and outputs the decryption key b i 64
Φ (n 1 ), φ (n 2 ),..., Φ calculated as 1
(N i ) via communication line 161 to level i + 1
To the key generation unit of the decryption device.

【0029】1.3.2 送受信部121 送受信部121は、鍵作成部122から出力された暗号
化鍵ai と算出されたni とを、暗号化装置140の送
受信部145へ送信する。また、送受信部121は、暗
号化装置140の送受信部145から送信される暗号文
Y644と暗号化共通鍵K’643とレベルI642と
を受信し、受信した暗号文Y644と暗号化共通鍵K’
643とレベルI642とをデータ記憶部124へ出力
する。
[0029] 1.3.2 transceiver 121 transmitting and receiving unit 121, and n i and the calculated encryption key a i outputted from the key generator 122, and transmits to the transceiver unit 145 of the encryption device 140. The transmitting / receiving section 121 receives the ciphertext Y644, the encrypted common key K'643, and the level I642 transmitted from the transmitting / receiving section 145 of the encryption device 140, and receives the received ciphertext Y644 and the encrypted common key K '.
643 and the level I642 are output to the data storage unit 124.

【0030】1.3.3 データ記憶部124 データ記憶部124は、鍵作成部122から出力された
復号化鍵bi 641を受け取り、受け取った復号化鍵b
i 641を記憶する。また、データ記憶部124は、送
受信部121から出力された暗号文Y644と暗号化共
通鍵K’643とレベルI642とを受け取り、受け取
った暗号文Y644と暗号化共通鍵K’643とレベル
I642とを記憶する。データ記憶部124が記憶する
内容640を図3に示す。内容640には、復号化鍵b
i 641、レベルI642、暗号化共通鍵K’643、
暗号文Y644、平文Z645、ni 646が含まれ
る。
[0030] 1.3.3 Data storage unit 124 data storing unit 124 receives the decryption key b i 641 outputted from the key generator 122, a decryption key b received
i 641 is stored. The data storage unit 124 receives the ciphertext Y644, the encryption common key K'643, and the level I642 output from the transmission / reception unit 121, and receives the received ciphertext Y644, the encryption common key K'643, the level I642, Is stored. FIG. 3 shows the contents 640 stored in the data storage unit 124. The content 640 includes the decryption key b
i 641, level I 642, encryption common key K′643,
A ciphertext Y644, a plaintext Z645, and n i 646 are included.

【0031】1.3.4 解読部123 解読部123は、入力部125から復号化鍵127を受
け取る。また、解読部123が入力部125から復号化
鍵127を受け取ると、解読部123は、データ記憶部
124に記憶されている暗号化共通鍵K’643、暗号
文Y644、ni 646を読み出す。次に、解読部12
3は、入力部125から受け取った復号化鍵127と暗
号化共通鍵K’643とni 646とを用いて、つぎの
式を満たす共通鍵K”を生成する。
1.3.4 Decryption Unit 123 The decryption unit 123 receives the decryption key 127 from the input unit 125. Moreover, when the decryption unit 123 receives the decryption key 127 from the input unit 125, decryption unit 123 encrypts the common key stored in the data storage unit 124 K'643, I read the ciphertext Y644, n i 646. Next, the decryption unit 12
3 uses the decryption key 127, the encrypted common key K'643, and the n i 646 received from the input unit 125 to generate a common key K ″ satisfying the following expression.

【数30】 ここで、Bi は、復号化鍵127である。[Equation 30] Here, Bi is the decryption key 127.

【0032】共通鍵K”を生成する際に、暗号化共通鍵
K’643を暗号化した暗号化鍵に対応していない復号
化鍵を用いたときには、誤った共通鍵K”が生成され
る。さらに、解読部123は、生成された共通鍵K”を
用いて、暗号文Y644を解読し、平文Z645を生成
する。このとき、誤った共通鍵K”が用いられた場合に
は、意味のない平文Zが生成される。解読部123は、
生成した平文Z645をデータ記憶部124へ出力す
る。
If a decryption key that does not correspond to the encryption key obtained by encrypting the encryption common key K'643 is used to generate the common key K ", an incorrect common key K" is generated. . Further, the decryption unit 123 decrypts the ciphertext Y644 using the generated common key K ″ to generate a plaintext Z645. At this time, if an incorrect common key K ″ is used, No plaintext Z is generated. The decryption unit 123
The generated plaintext Z645 is output to the data storage unit 124.

【0033】1.3.5 入力部125 入力部125は、レベルiの受信者からレベルiの復号
化鍵の表示要求の入力を受け付け、表示要求を表示部1
26へ出力する。また、入力部125は、レベルiの受
信者から、復号化鍵127の入力を受け付け、受け付け
た復号化鍵127を解読部123へ出力する。
1.3.5 Input Unit 125 The input unit 125 receives an input of a request for displaying the decryption key of level i from the receiver of level i, and sends the display request to the display unit 1.
26. Also, the input unit 125 receives an input of the decryption key 127 from the recipient at the level i, and outputs the received decryption key 127 to the decryption unit 123.

【0034】1.3.6 表示部126 表示部126は、入力部125からレベルiの復号化鍵
の表示要求を受け取る。表示部126が、入力部125
からレベルiの復号化鍵の表示要求を受け取った場合
に、表示部126は、データ記憶部124から復号化鍵
i 641を読み出し、読み出した復号化鍵bi 641
を復号化鍵128として表示する。
1.3.6 Display Unit 126 The display unit 126 receives from the input unit 125 a request to display a level i decryption key. The display unit 126 is an input unit 125
When receiving a display request of the decoding key level i from the display unit 126 reads the decryption key b i 641 from the data storage unit 124, the read decryption key b i 641
Is displayed as the decryption key 128.

【0035】1.4 レベルLの解読装置130 レベルLの解読装置130は、送受信部131、鍵作成
部132、解読部133、データ記憶部134、入力部
135、表示部136から構成される。送受信部131
は、通信回線153を経由して、暗号化装置140の送
受信部145と接続されており、鍵作成部132は、通
信回線164を経由して図示していないレベル(L−
1)の解読装置の鍵作成部と接続されている。
1.4 Level L Decryption Device 130 The level L decryption device 130 includes a transmission / reception unit 131, a key creation unit 132, a decryption unit 133, a data storage unit 134, an input unit 135, and a display unit 136. Transmitting / receiving unit 131
Is connected to the transmission / reception unit 145 of the encryption device 140 via the communication line 153, and the key generation unit 132 transmits the level (L-
It is connected to the key generation unit of the decryption device of 1).

【0036】1.4.1 鍵作成部132 鍵作成部132は、以下に示すように、レベルLの暗号
化鍵aL 及びレベルLの復号鍵bL を生成する。鍵作成
部132は、任意の2つの素数pL 、qL を選び、 (式21) nL = pL × qL 、 及び (式22) φ(nL ) = (pL −1) × (qL −1)、 を用いて、 nL とφ(nL )とを算出し、
1.4.1 Key Creation Unit 132 The key creation unit 132 generates a level L encryption key a L and a level L decryption key b L as described below. The key creation unit 132 selects any two prime numbers p L and q L , and (Expression 21) n L = p L × q L , and (Expression 22) φ (n L ) = (p L −1) × (Q L −1), is used to calculate n L and φ (n L ),

【数31】 を算出する。次に、鍵作成部132は、拡張ユークリッ
ドアルゴリズムにより、 (式24) aL × bL ≡ 1 (mod φ(nL )) となる整数aL を算出する。鍵作成部132は、算出さ
れた整数bL を復号化鍵661としてデータ記憶部13
4へ出力し、暗号化鍵としての整数aL と算出されたn
L とを送受信部131へ出力する。
(Equation 31) Is calculated. Next, the key creation unit 132 calculates an integer a L that satisfies (Equation 24) a L × b L 1 1 (mod φ (n L )) by the extended Euclidean algorithm. The key creation unit 132 uses the calculated integer b L as the decryption key
4 and an integer a L as the encryption key and the calculated n
And L to the transmission / reception unit 131.

【0037】1.4.2 送受信部131 送受信部131は、鍵作成部132から出力された暗号
化鍵aL と算出されたnL とを、暗号化装置140の送
受信部145へ送信する。また、送受信部131は、暗
号化装置140の送受信部145から送信される暗号文
Y664と暗号化共通鍵K’663とレベルI662と
を受信し、受信した暗号文Y664と暗号化共通鍵K’
663とレベルI662とをデータ記憶部134へ出力
する。
1.4.2 Transmission / Reception Unit 131 The transmission / reception unit 131 transmits the encryption key a L output from the key creation unit 132 and the calculated n L to the transmission / reception unit 145 of the encryption device 140. The transmitting / receiving unit 131 receives the ciphertext Y664, the encrypted common key K'663, and the level I662 transmitted from the transmitting / receiving unit 145 of the encryption device 140, and receives the received ciphertext Y664 and the encrypted common key K '.
663 and the level I662 are output to the data storage unit 134.

【0038】1.4.3 データ記憶部134 データ記憶部134は、鍵作成部132から出力された
復号化鍵bL 661を受け取り、受け取った復号化鍵b
L 661を記憶する。また、データ記憶部134は、送
受信部131から出力された暗号文Y664と暗号化共
通鍵K’663とレベルI662とを受け取り、受け取
った暗号文Y664と暗号化共通鍵K’663とレベル
I662とを記憶する。データ記憶部134が記憶する
内容660を図3に示す。内容660には、復号化鍵b
L 661、レベルI662、暗号化共通鍵K’663、
暗号文Y664、平文Z665、nL 666が含まれ
る。
1.4.3 Data Storage Unit 134 The data storage unit 134 receives the decryption key b L 661 output from the key creation unit 132, and receives the received decryption key b L 661.
L 661 is stored. Further, the data storage unit 134 receives the encrypted text Y664, the encrypted common key K′663, and the level I662 output from the transmitting / receiving unit 131, and receives the received encrypted text Y664, the encrypted common key K′663, and the level I662. Is stored. FIG. 3 shows the contents 660 stored in the data storage unit 134. The content 660 includes the decryption key b
L 661, level I662, encrypted common key K'663,
Ciphertext Y664, include plain text Z665, n L 666.

【0039】1.4.4 解読部133 解読部133は、入力部135から復号化鍵137を受
け取る。また、解読部133が入力部135から復号化
鍵137を受け取ると、解読部133は、データ記憶部
134に記憶されている暗号化共通鍵K’663、暗号
文Y664、nL 666を読み出す。次に、解読部13
3は、入力部135から受け取った復号化鍵137と暗
号化共通鍵K’663とnL 666とを用いて、つぎの
式を満たす共通鍵K”を生成する。 (式25) K” ≡ K’^ BL (mod (nL ) ) ここで、BL は、復号化鍵137である。
1.4.4 Decryption Unit 133 The decryption unit 133 receives the decryption key 137 from the input unit 135. Moreover, when the decryption unit 133 receives the decryption key 137 from the input unit 135, decryption unit 133 encrypts the common key stored in the data storage unit 134 K'663, reads the ciphertext Y664, n L 666. Next, the decryption unit 13
3 uses the decryption key 137, the encrypted common key K'663, and the n L 666 received from the input unit 135 to generate a common key K ″ that satisfies the following equation: (Equation 25) K ″ { K ′ ^ B L (mod (n L )) Here, B L is the decryption key 137.

【0040】共通鍵K”を生成する際に、暗号化共通鍵
K’663を暗号化した暗号化鍵に対応していない復号
化鍵を用いたときには、誤った共通鍵K”が生成され
る。さらに、解読部133は、生成された共通鍵K”を
用いて、暗号文Y664を解読し、平文Z665を生成
する。このとき、誤った共通鍵K”が用いられた場合に
は、意味のない平文Zが生成される。解読部133は、
生成した平文Z665をデータ記憶部134へ出力す
る。
If a decryption key that does not correspond to the encryption key obtained by encrypting the encryption common key K'663 is used to generate the common key K ", an incorrect common key K" is generated. . Further, the decryption unit 133 decrypts the ciphertext Y664 using the generated common key K ″ to generate a plaintext Z665. At this time, if an incorrect common key K ″ is used, the No plaintext Z is generated. The decryption unit 133
The generated plaintext Z665 is output to the data storage unit 134.

【0041】1.4.5 入力部135 入力部135は、レベルLの受信者からレベルLの復号
化鍵の表示要求の入力を受け付け、表示要求を表示部1
36へ出力する。また、入力部135は、レベルLの受
信者から、復号化鍵137の入力を受け付け、受け付け
た復号化鍵137を解読部133へ出力する。
1.4.5 Input Unit 135 The input unit 135 receives an input of a request for displaying a level L decryption key from a receiver of level L, and sends the display request to the display unit 1.
36. Further, the input unit 135 receives an input of the decryption key 137 from the receiver at the level L, and outputs the received decryption key 137 to the decryption unit 133.

【0042】1.4.6 表示部136 表示部136は、入力部135からレベルLの復号化鍵
の表示要求を受け取る。表示部136が、入力部135
からレベルLの復号化鍵の表示要求を受け取った場合
に、表示部136は、データ記憶部134から復号化鍵
L 661を読み出し、読み出した復号化鍵bL 661
を復号化鍵138として表示する。
1.4.6 Display Unit 136 The display unit 136 receives a request to display a level L decryption key from the input unit 135. The display unit 136 is connected to the input unit 135.
When receiving a display request of the decoding key level L from the display unit 136 reads the decryption key b L 661 from the data storage unit 134, the read decryption key b L 661
Is displayed as the decryption key 138.

【0043】1.5 暗号通信システム100の動作 暗号通信システム1000の鍵の作成の動作、暗号化の
動作、解読の動作について説明する。 1.5.1 鍵の作成の動作 ここでは、暗号通信システム100による鍵の作成の動
作について、説明する。暗号通信システム100では、
図4のフローチャートに示すように、レベル1の解読装
置110により鍵の作成が行われ(ステップS70
1)、レベル2からレベルL−1までレベルiの解読装
置120により鍵の作成が行われ(ステップS702〜
S704)、レベルLの解読装置130により鍵の作成
が行われる(ステップS705)。次に、各レベルの解
読装置による鍵の作成の動作について、説明する。
1.5 Operation of Cryptographic Communication System 100 The operation of creating a key, the operation of encryption, and the operation of decryption of the cryptographic communication system 1000 will be described. 1.5.1 Key Creation Operation Here, a key creation operation by the cryptographic communication system 100 will be described. In the cryptographic communication system 100,
As shown in the flowchart of FIG. 4, a key is created by the decryption device 110 of level 1 (step S70).
1) A key is created by the decryption device 120 at the level i from the level 2 to the level L-1 (steps S702 to S702).
In step S704, a key is created by the level-L decrypting device 130 (step S705). Next, the operation of generating a key by the decryption device at each level will be described.

【0044】(1) レベル1の解読装置110による
鍵の作成の動作レベル1の解読装置110は、図5のフ
ローチャートに示すように、鍵を作成 する。レベル1の解読装置110の鍵作成部112は、
鍵作成部112は、任意の2つの素数p1 、q1 を選び
(ステップS801)、 (式26) n1 = p1 × q1 、 及び (式27) φ(n1 ) = (p1 −1) × (q1 −1)、 を用いて、 n1と φ(n1 )とを算出する(ステップ
S802)。次に、鍵作成部112は、任意の整数a1
を選び(ステップS803)、拡張ユークリッドアルゴ
リズムにより、 (式28) a1 × b1 ≡ 1 (mod φ(n1 )) となる整数b1 を算出する(ステップS803)。
(1) Operation of Key Creation by Level 1 Decryption Device 110 The level 1 decryption device 110 generates a key as shown in the flowchart of FIG. The key generation unit 112 of the level 1 decryption device 110
The key generation unit 112 selects any two prime numbers p 1 and q 1 (step S801), and (expression 26) n 1 = p 1 × q 1 and (expression 27) φ (n 1 ) = (p 1 −1) × (q 1 −1), is used to calculate n 1 and φ (n 1 ) (step S802). Next, the key creation unit 112 determines that any integer a 1
The select (step S803), by the extended Euclidean algorithm, calculates the integer b 1 to be (Equation 28) a 1 × b 1 ≡ 1 (mod φ (n 1)) ( step S803).

【0045】鍵作成部112は、算出された整数b1
復号化鍵611としてデータ記憶部114へ出力し、デ
ータ記憶部114は、整数b1 を記憶する(ステップS
805)。鍵作成部112は、暗号化鍵としての整数a
1 と算出されたn1 とを送受信部111へ出力し、送受
信部111は、整数a1 と算出されたn1 とを暗号化装
置へ送信する(ステップS806)。鍵作成部112
は、前記復号化鍵b1 611と算出されたφ(n1 )と
を通信回線161を経由して、レベル2の解読装置の鍵
作成部へ送信する(ステップS807)。
The key creation unit 112 outputs the calculated integer b 1 to the data storage unit 114 as the decryption key 611, and the data storage unit 114 stores the integer b 1 (step S1).
805). The key generation unit 112 generates an integer a as an encryption key.
The transmission unit 111 outputs 1 and the calculated n 1 to the transmission / reception unit 111, and the transmission / reception unit 111 transmits the integer a 1 and the calculated n 1 to the encryption device (step S806). Key creation unit 112
Transmits the decryption key b 1 611 and the calculated φ (n 1 ) to the key generation unit of the level 2 decryption device via the communication line 161 (step S807).

【0046】(2) レベルiの解読装置120による
鍵の作成の動作 レベルiの解読装置120は、図6のフローチャートに
示すように、鍵を作成する。鍵作成部122は、レベル
i−1の解読装置の鍵作成部から、整数bi-1 とφ(n
1 )、φ(n2 )、・・・、φ(ni-1 )とを受信し
(ステップS901)、鍵作成部122は、任意の2つ
の素数pi 、qi を選び(ステップS902)、 (式29) ni = pi × qi 、 及び (式30) φ(ni ) = (pi −1) × (qi −1)、 を用いて、 ni とφ(ni )とを算出し(ステップS
903)、
(2) Operation of Generating Key by Decryption Device 120 of Level i The decryption device 120 of level i generates a key as shown in the flowchart of FIG. The key generation unit 122 outputs the integer b i−1 and φ (n) from the key generation unit of the level i−1 decryption device.
1 ), φ (n 2 ),..., Φ (n i-1 ) (step S901), and the key generation unit 122 selects any two prime numbers p i and q i (step S902). ), (formula 29) n i = p i × q i and, (formula 30) φ (n i) = (p i -1) × (q i -1), with, n i and phi (n i ) and (Step S)
903),

【数32】 を算出し(ステップS904)、鍵作成部122は、拡
張ユークリッドアルゴリズムにより、 (式32) ai × bi ≡ 1 (mod φ(ni )) となる整数ai を算出する(ステップS905)。
(Equation 32) Is calculated (step S904), and the key generation unit 122 calculates an integer a i that satisfies (expression 32) a i × b i ≡ 1 (mod φ (n i )) by an extended Euclidean algorithm (step S905). .

【0047】次に、鍵作成部122は、算出された整数
i を復号化鍵641としてデータ記憶部124へ出力
し、データ記憶部124は、復号化鍵641を記憶する
(ステップS906)。鍵作成部122は、暗号化鍵と
しての整数ai と算出されたni とを送受信部121へ
出力し、送受信部121は、整数ai と算出されたn i
とを暗号化装置140へ送信する(ステップS90
7)。鍵作成部122は、前記復号化鍵bi 641と算
出されたφ(n1 )、φ(n2 )、・・・、φ(n i
とを通信回線161を経由して、レベルi+1の解読装
置の鍵作成部へ送信する(ステップS908)。
Next, the key creation unit 122 calculates the calculated integer
biAs the decryption key 641 to the data storage unit 124
Then, the data storage unit 124 stores the decryption key 641
(Step S906). The key creation unit 122 sends the encryption key
Integer aiCalculated asiTo the transmitting / receiving unit 121
The transmitting and receiving unit 121 outputs the integer aiCalculated as i
Is transmitted to the encryption device 140 (step S90).
7). The key creation unit 122 calculates the decryption key bi641
The released φ (n1), Φ (nTwo),..., Φ (n i)
Through the communication line 161 to decode the level i + 1
The key is transmitted to the key generation unit (step S908).

【0048】(3) レベルLの解読装置130による
鍵の作成の動作レベルLの解読装置130は、図7のフ
ローチャートに示すように、鍵を作成する。鍵作成部1
32は、レベルL−1の解読装置の鍵作成部から、整数
L-1 とφ(n1 )、φ(n2 )、・・・、φ
(nL-1 )とを受信し(ステップS1001)、鍵作成
部132は、任意の2つの素数pL 、qL を選び(ステ
ップS1002)、 (式33) nL = pL × qL 、 及び (式34) φ(nL ) = (pL −1) × (qL −1)、 を用いて、 nL とφ(nL )とを算出し(ステップS
1003)、
(3) Operation of Key Generation by Level L Decryption Device 130 The level L decryption device 130 generates a key as shown in the flowchart of FIG. Key generator 1
32 indicates the integer b L-1 and φ (n 1 ), φ (n 2 ),..., Φ from the key generation unit of the level L-1 decryption device.
(N L -1 ) (step S1001), the key creation unit 132 selects any two prime numbers p L and q L (step S1002), and (Equation 33) n L = p L × q L , And (Formula 34) φ (n L ) = (p L −1) × (q L −1), to calculate n L and φ (n L ) (step S).
1003),

【数33】 を算出する(ステップS1004)。[Equation 33] Is calculated (step S1004).

【0049】次に、鍵作成部132は、拡張ユークリッ
ドアルゴリズムにより、 (式36) aL × bL ≡ 1 (mod φ(nL )) となる整数aL を算出する(ステップS1005)。鍵
作成部132は、算出された整数bL を復号化鍵661
としてデータ記憶部134へ出力し、データ記憶部13
4は、整数bL を記憶する(ステップS1006)。鍵
作成部132は、暗号化鍵としての整数aL と算出され
たnL とを送受信部131へ出力し、送受信部131
は、整数aL と算出されたnL とを暗号化装置140へ
送信する(ステップS1007)。
Next, the key creation unit 132 calculates an integer a L that satisfies (Equation 36) a L × b L 1 1 (mod φ (n L )) by the extended Euclidean algorithm (step S1005). The key creation unit 132 converts the calculated integer b L into a decryption key 661
Is output to the data storage unit 134, and the data storage unit 13
4 stores the integer b L (step S1006). The key creation unit 132 outputs the integer a L as the encryption key and the calculated n L to the transmission / reception unit 131, and
Transmits the integer a L and the calculated n L to the encryption device 140 (step S1007).

【0050】1.5.2 暗号化装置140による暗号
化の動作 ここでは、暗号化装置140による暗号化の動作につい
て、図8に示すフローチャートを用いて説明する。暗号
化部143は、入力部141から暗号化鍵147のレベ
ルI170受け取り(ステップS1101)、入力部1
41から共通鍵K171を受け取る(ステップS110
2)。暗号化部143は、データ記憶部144から平文
X208と、レベルI170に対応するni とを読み出
し、前記受け取った共通鍵K171により、所定の暗号
化アルゴリズムを用いて、読み出した平文X208を暗
号化して暗号文Y209を生成する(ステップS110
3)。次に、暗号化部143は、次に示す式を満たすよ
うな暗号化共通鍵K’211を算出する(ステップS1
104)。 (式37) K’ ≡ K ^ Ai (mod ni ) 次に、暗号化部143は、レベルI170、暗号化共通
鍵K’211、暗号文Yをデータ記憶部144へ出力
し、送受信部145は、これらをレベルI170で特定
される解読装置へ送信する(ステップS1104)。
1.5.2 Encryption Operation by Encrypting Apparatus 140 The following describes an encryption operation performed by the encrypting apparatus 140 with reference to the flowchart shown in FIG. The encryption unit 143 receives the level I170 of the encryption key 147 from the input unit 141 (Step S1101),
The common key K171 is received from the server 41 (step S110).
2). The encryption unit 143 reads the plaintext X208 and n i corresponding to the level I170 from the data storage unit 144, and encrypts the read plaintext X208 using the received common key K171 using a predetermined encryption algorithm. To generate a ciphertext Y209 (step S110).
3). Next, the encryption unit 143 calculates an encrypted common key K′211 that satisfies the following equation (step S1).
104). (Equation 37) K '≡ K ^ A i (mod n i) Next, the encryption unit 143, level I170, and outputs the encrypted common key K'211, the ciphertext Y to the data storage unit 144, transceiver 145 sends these to the decryption device identified by level I170 (step S1104).

【0051】1.5.3 解読装置による暗号化の動作 ここでは、解読装置による暗号文の解読の動作につい
て、図9に示すフローチャートを用いて説明する。ここ
で、iは1からLまでの値をとり、以下に示す解読装置
による暗号文の解読の動作は、レベル1の解読装置11
0からレベルLの解読装置130までに共通の動作であ
る。なお、以下の説明においては、レベルiの解読装置
120の要素を用いている。送受信部121は、レベル
I、暗号化共通鍵K’、暗号文Y、ni を暗号化装置1
40から受信し(ステップS1201)、データ記憶部
124は、受信したレベルI、暗号化共通鍵K’、暗号
文Y、ni を記憶する(ステップS1202)。解読部
123は、入力部125から復号化鍵127を受け取
り、解読部123は、データ記憶部124に記憶されて
いる暗号化共通鍵K’、暗号文Y、ni を用いて、次の
式を満たす共通鍵K”を生成する(ステップS120
3)。 (式38) K” ≡ K’^ Bi (mod (ni ) ) ここで、Bi は、復号化鍵127である。次に、解読部
123は、生成された共通鍵K”を用いて、暗号文Y6
44を解読し、平文Z645を生成し、データ記憶部1
24は、平文Zを記憶する(ステップS1204)。
1.5.3 Encrypting Operation by Decryption Device Here, the operation of decryption of a ciphertext by the decryption device will be described with reference to the flowchart shown in FIG. Here, i takes a value from 1 to L, and the operation of decrypting the cipher text by the decryption device described below is performed by the level 1 decryption device 11.
This operation is common from 0 to the level L decoding device 130. In the following description, the elements of the level i decoding device 120 are used. The transmitting / receiving unit 121 transmits the level I, the encrypted common key K ′, the ciphertext Y, and ni to the encryption device 1.
Received from 40 (step S1201), the data storage unit 124, the received level I, the encrypted common key K ', and stores the ciphertext Y, n i (step S1202). Decryption unit 123 receives the decryption key 127 from the input unit 125, decryption unit 123 encrypts the common key K stored in the data storage unit 124 ', the ciphertext Y, with n i, the following equation Is generated (step S120).
3). (Equation 38) K ″ ≡K ′ ^ B i (mod (n i )) Here, Bi is the decryption key 127. Next, the decryption unit 123 uses the generated common key K ″. And ciphertext Y6
44, and generates a plaintext Z645.
24 stores the plaintext Z (step S1204).

【0052】1.6 平文Zが平文Xと一致することの
証明 以上に説明した方法により決定したレベルiの暗号化鍵
i を用いて、平文Xを暗号化して生成された暗号文Y
を、i≦jとなるレベルjの復号化鍵bj を用いて解読
できる。このことは、以下により正しいことが証明され
る。 (1) i=jの場合 (式39) Z ≡ Y^( bj ) (mod ni ) ≡ X^( ai ・bj ) (mod ni ) ≡ X^( ai ・bi ) (mod ni ) = X
[0052] 1.6 plaintext Z by using the encryption key a i at level i determined by the method described above proof that matches the plaintext X, the ciphertext Y of plaintext X is generated by encrypting
Can be decrypted using the decryption key b j at level j where i ≦ j. This is proved correct by: (1) For i = j (Equation 39) Z ≡ Y ^ (b j) (mod n i) ≡ X ^ (a i · b j) (mod n i) ≡ X ^ (a i · b i) (mod n i) = X

【0053】 (2) i<jの場合 (式40) Z ≡ Y^( bj ) (mod ni ) ≡ X^( ai j ) (mod ni ) ここで、[0053] (2) i <For j (Equation 40) Z ≡ Y ^ (b j) at (mod n i) ≡ X ^ (a i b j) (mod n i) Here,

【数34】 であるので、(Equation 34) So that

【数35】 (Equation 35)

【数36】 [Equation 36]

【数37】 このようにして、平文Zが平文Xと一致することが証明
される。
(37) In this way, it is proved that the plaintext Z matches the plaintext X.

【0054】1.7 2階層のレベルからなる例 ここでは、2階層のレベルからなる場合について、解読
装置の鍵作成部による暗号化鍵と復号化鍵の生成と、暗
号化装置の暗号化部による暗号化と、解読装置の解読部
による解読について、具体例を用いて説明する。レベル
1の解読装置の鍵作成部は、以下のようにして、暗号化
鍵a1 と復号化鍵b1 とを生成する。2つの素数とし
て、p1 =3、q1 =53とすると、 が得られる。 となるa1 、b1 として、暗号化鍵a1 =7、復号化鍵
1 =15が得られる。
1.7 Example of Two Hierarchical Levels Here, in the case of two hierarchical levels, generation of an encryption key and a decryption key by the key generation unit of the decryption device, and encryption unit of the encryption device Will be described using a specific example. Key generator of the level 1 decryption apparatus, as follows, to produce a cryptographic key a 1 and decryption key b 1. Assuming that p 1 = 3 and q 1 = 53 as two prime numbers, Is obtained. As a 1 and b 1 , an encryption key a 1 = 7 and a decryption key b 1 = 15 are obtained.

【0055】次に、レベル2の解読装置の鍵作成部は、
以下のようにして、暗号化鍵a2 と復号化鍵b2 とを生
成する。復号化鍵b2 は、次のようにして算出される。 次に、2つの素数として、p2 =11、q2 =37とす
ると、 となるa2 として、暗号化鍵a2 =239が得られる。
Next, the key generation unit of the level 2 decryption apparatus
As it follows, to produce a cryptographic key a 2 and decryption key b 2. Decryption key b 2 is calculated as follows. Next, assuming that p 2 = 11 and q 2 = 37 as two prime numbers, As a 2 as the encryption key a 2 = 239 is obtained.

【0056】暗号化装置の暗号化部は、レベル2の受信
者にのみ解読できるように、平文X=19を暗号化する
場合には、n2 =407と暗号化鍵a2 =239を用い
る。従って、暗号文Yは、次のようにして算出できる。 Y≡X^239(mod 407) =348 レベル2の解読装置の解読部は、n2 =407と復号化
鍵b2 =119を用いて、平文Zを次のようにして算出
する。 Z≡348^119(mod 407) =19 暗号化装置の暗号化部は、レベル1及びレベル2の受信
者の両方に解読できるように、平文X=19を暗号化す
る場合には、n1 =159と暗号化鍵a1 =7を用い
る。従って、暗号文Yは、次のようにして算出できる。 Y≡X^7(mod 159) =133 レベル1の解読装置の解読部は、n1 =159と復号化
鍵b1 =15を用いて、平文Zを次のようにして算出す
る。 Z≡133^15(mod 159) =19 レベル2の解読装置の解読部は、n1 =159と復号化
鍵b2 =119を用いて、平文Zを次のようにして算出
する。 Z≡133^119(mod 159) =19
When encrypting plaintext X = 19, the encrypting unit of the encrypting apparatus uses n 2 = 407 and encryption key a 2 = 239 so that only the recipient of level 2 can decrypt it. . Therefore, the ciphertext Y can be calculated as follows. Y≡X ^ 239 (mod 407) = 348 The decryption unit of the decryption apparatus at level 2 calculates the plaintext Z as follows using n 2 = 407 and the decryption key b 2 = 119. Z≡348 ^ 119 (mod 407) = 19 The encryption unit of the encryption device encrypts n 1 when encrypting plaintext X = 19 so that both level 1 and level 2 recipients can decrypt it. = 159 and the encryption key a 1 = 7. Therefore, the ciphertext Y can be calculated as follows. Y≡X ^ 7 (mod 159) = 133 The decryption unit of the decryption apparatus at level 1 calculates the plain text Z as follows using n 1 = 159 and the decryption key b 1 = 15. Z≡133 ^ 15 (mod 159) = 19 The decryption unit of the level-2 decryption device calculates the plaintext Z as follows using n 1 = 159 and the decryption key b 2 = 119. Z≡133 ^ 119 (mod 159) = 19

【0057】2.その他の実施の形態 なお、本発明を上記実施の形態に基づいて説明してきた
が、本発明は上記実施の形態に限定されないのはもちろ
んである。すなわち、以下のような場合も本発明に含ま
れる。 (1) 図10に示すように、暗号通信システム130
0は、暗号化装置1340、鍵作成装置1350、レベ
ル1の解読装置1310、・・・、レベルiの解読装置
1320、・・・、レベルLの解読装置1330から構
成される。鍵作成装置1350は、鍵作成部1351か
ら構成される。暗号化装置1340は、入力部134
1、表示部1342、暗号化部1343、データ記憶部
1344、送受信部1345から構成される。レベル1
の解読装置1310は、送受信部1311、鍵受信部1
312、解読部1313、データ記憶部1314、入力
部1315、表示部1316から構成される。レベル2
からレベルLの解読装置も、レベル1の解読装置131
0と同様の構成である。
2. Other Embodiments Although the present invention has been described based on the above embodiment, it is needless to say that the present invention is not limited to the above embodiment. That is, the following cases are also included in the present invention. (1) As shown in FIG.
0 is composed of an encryption device 1340, a key generation device 1350, a level 1 decryption device 1310, ..., a level i decryption device 1320, ..., a level L decryption device 1330. The key creation device 1350 includes a key creation unit 1351. The encryption device 1340 includes an input unit 134
1, a display unit 1342, an encryption unit 1343, a data storage unit 1344, and a transmission / reception unit 1345. Level 1
The decryption device 1310 includes a transmission / reception unit 1311 and a key reception unit 1
312, a decoding unit 1313, a data storage unit 1314, an input unit 1315, and a display unit 1316. Level 2
To the level L decryption device, the level 1 decryption device 131
The configuration is the same as that of 0.

【0058】鍵作成部1351は、各解読装置の鍵受信
部と通信の際に通信内容を第三者に盗聴されない特別の
通信回線を経由して接続されている。暗号化装置の送受
信部1345は、各解読装置の送受信部と通信回線を経
由して接続されている。鍵作成装置1350の鍵作成部
1351は、レベル1からレベルLまでの鍵及びその他
の情報を生成し、各レベルの鍵及びその他の情報を対応
する各レベルの解読装置の鍵受信部へ送信する。鍵作成
装置1350の鍵作成部1351の鍵の生成方法、生成
される鍵及びその他の情報は、暗号通信システム100
の各レベルの解読装置の鍵作成部と同じである。各レベ
ルの解読装置の鍵受信部は、鍵作成部1351から送信
される鍵及びその他の情報を受信し、受信した鍵及びそ
の他の情報を各レベルの解読装置の送受信部及びデータ
記憶部に出力する。各レベルの解読装置の送受信部及び
データ記憶部に出力する鍵及びその他の情報は、暗号通
信システム100の各レベルの解読装置の鍵作成部と同
じである。
The key creation unit 1351 is connected to the key reception unit of each decryption device via a special communication line that does not eavesdrop on the communication contents during communication. The transmission / reception unit 1345 of the encryption device is connected to the transmission / reception unit of each decryption device via a communication line. The key generation unit 1351 of the key generation device 1350 generates keys from level 1 to level L and other information, and transmits the keys and other information of each level to the corresponding key receiving unit of the decryption device of each level. . The key generation method of the key generation unit 1351 of the key generation device 1350, the generated key and other information are described in the cryptographic communication system 100.
Is the same as the key generation unit of the decryption device of each level. The key receiving unit of each level decryption device receives the key and other information transmitted from the key generation unit 1351, and outputs the received key and other information to the transmission / reception unit and data storage unit of each level decryption device. I do. The keys and other information output to the transmission / reception unit and the data storage unit of each level of the decryption device are the same as those of the key generation unit of each level of the decryption device of the cryptographic communication system 100.

【0059】各レベルの解読装置のその他の構成要素
は、暗号通信システム100の各レベルの解読装置のそ
の他の同じ名前の構成要素と同じ機能を有する。また、
暗号化装置1340の各構成要素は、暗号通信システム
100の暗号化装置140の同じ名前の各構成要素と同
じ機能を有する。鍵作成部1351の鍵作成の動作を図
11及び図12のフローチャートを用いて説明する。鍵
作成部1351は、任意の2つの素数p1 、q1 を選び
(ステップS1401)、 (式43) n1 = p1 × q1 、 及び (式44) φ(n1 ) = (p1 −1) × (q1 −1)、 を用いて、 n1と φ(n1 )とを算出する(ステップ
S1402)。次に、鍵作成部1351は、任意の整数
1 を選び(ステップS1403)、拡張ユークリッド
アルゴリズムにより、 (式45) a1 × b1 ≡ 1 (mod φ(n1 )) となる整数b1 を算出する(ステップS1404)。鍵
作成部1351は、整数a1 、整数b1 をレベル1の解
読装置1310の鍵受信部1312へ出力する。
The other components of the decryption device at each level have the same function as the other components of the decryption device at each level of the cryptographic communication system 100 having the same name. Also,
Each component of the encryption device 1340 has the same function as each component of the encryption device 140 of the encryption communication system 100 having the same name. The operation of key generation by the key generation unit 1351 will be described with reference to the flowcharts of FIGS. The key generation unit 1351 selects any two prime numbers p 1 and q 1 (step S1401), (Expression 43) n 1 = p 1 × q 1 , and (Expression 44) φ (n 1 ) = (p 1 −1) × (q 1 −1), is used to calculate n 1 and φ (n 1 ) (step S1402). Then, key generator 1351, select any integer a 1 (step S1403), the extended Euclidean algorithm, (Equation 45) a 1 × b 1 ≡ 1 (mod φ (n 1)) and made integral b 1 Is calculated (step S1404). The key creation unit 1351 outputs the integer a 1 and the integer b 1 to the key receiving unit 1312 of the level 1 decryption device 1310.

【0060】鍵作成部1351は、レベルiを2とし
(ステップS1406)、iがLよりも大きい場合は
(ステップS1407)、処理を終了する。iがLより
も小さいか等しい場合は(ステップS1407)、鍵作
成部1351は、任意の2つの素数pi 、qi を選び
(ステップS1501)、 (式46) ni = pi × qi 、 及び (式47) φ(ni ) = (pi −1) × (qi −1)、 を用いて、 ni とφ(ni )とを算出し(ステップS
1502)、
The key creation unit 1351 sets the level i to 2 (step S1406), and when i is greater than L (step S1407), ends the processing. If i is less than or equal to L (step S1407), the key creation unit 1351, any two prime numbers p i, select q i (step S1501), (Formula 46) n i = p i × q i , and (formula 47) φ (n i) = (p i -1) × (q i -1), with, n i and phi (n i) and calculates (step S
1502),

【数38】 を算出し(ステップS1503)、鍵作成部1351
は、拡張ユークリッドアルゴリズムにより、 (式49) ai × bi ≡ 1 (mod φ(ni )) となる整数ai を算出する(ステップS1504)。
(38) Is calculated (step S1503), and the key creation unit 1351 is calculated.
Calculates an integer a i that satisfies (Equation 49) a i × b i ≡ 1 (mod φ (n i )) by the extended Euclidean algorithm (step S1504).

【0061】鍵作成部1351は、整数ai 、整数bi
をレベルiの解読装置1320の鍵受信部1312へ出
力し(ステップS1505)、iに1を加算し(ステッ
プS1506)、ステップS1407へ制御を戻す。 (2)上記で説明した実施の形態では、通信回線を経由
して、暗号化鍵、復号化鍵、暗号文を送信するとしてい
るが、暗号化鍵、復号鍵、暗号文をフロッピィディスク
などの記録媒体に書き込み、前記記録媒体を配布するよ
うにしてもよい。 (3)別の実施の形態の一つは、上記手順により示され
る暗号通信方法をコンピュータに実行させる暗号通信プ
ログラムを含むコンピュータ読み取り可能な記録媒体で
ある。さらに、前記暗号通信プログラムを通信回線を介
して伝送するとしてもよい。
The key creation unit 1351 calculates the integer a i and the integer b i
Is output to the key receiving unit 1312 of the decryption device 1320 at level i (step S1505), 1 is added to i (step S1506), and the control returns to step S1407. (2) In the above-described embodiment, the encryption key, the decryption key, and the ciphertext are transmitted via the communication line. However, the encryption key, the decryption key, and the ciphertext are transmitted to a floppy disk or the like. You may make it write on a recording medium and distribute the said recording medium. (3) Another embodiment is a computer-readable recording medium including an encryption communication program for causing a computer to execute the encryption communication method indicated by the above procedure. Further, the encryption communication program may be transmitted via a communication line.

【0062】[0062]

【発明の効果】以上に説明したように、本発明は、公開
された暗号化鍵を用いて生成された暗号文を送信し、復
号鍵を用いて前記送信された暗号文を解読する暗号通信
システムであって、所定の演算に基づいて、第1のレベ
ルの暗号化鍵を用いて暗号化された暗号文が前記第1の
レベルと等しいか又はそれより高い第2のレベルの復号
鍵を用いて解読でき複数個のレベルからなる暗号化鍵と
復号鍵とを前記複数個生成し、前記生成された複数個の
レベルからなる暗号化鍵を送信する鍵生成手段と、前記
暗号化鍵を受信し、受信した暗号化鍵のうち第3のレベ
ルの暗号化鍵を用いて、平文を暗号化して暗号文を生成
し、生成した暗号文を送信する暗号化手段と、前記生成
された復号鍵のうち第4のレベルの復号鍵を用いて、前
記第4のレベルが前記第3のレベルより高いか又は等し
い場合に、前記送信された暗号文を解読する解読手段と
を備える。この構成によると、階層的な解読権限を有す
る複数のレベルの受信者に暗号文を送信する場合におい
て、上位レベルの受信者の復号鍵を用いて、下位のレベ
ルの受信者の暗号鍵を用いて暗号化された暗号を解読で
き、鍵の管理及び配送コストを低減できるという効果が
ある。
As described above, the present invention provides a cipher communication in which a cipher text generated using a publicly available encryption key is transmitted, and the transmitted cipher text is decrypted using a decryption key. A ciphertext encrypted using a first level encryption key, based on a predetermined operation, to generate a second level decryption key equal to or higher than said first level. Key generating means for generating a plurality of encryption keys and decryption keys comprising a plurality of levels which can be decrypted by using the encryption key and transmitting the generated encryption keys comprising a plurality of levels; and Encrypting means for encrypting the plaintext using the third-level encryption key among the received encryption keys to generate a ciphertext, and transmitting the generated ciphertext; and the generated decryption. Using a fourth level decryption key of the keys, the fourth level If the serial third higher than or equal to the level of, and a decoding means for decoding the transmitted ciphertext. According to this configuration, when transmitting the ciphertext to a plurality of levels of recipients having hierarchical decryption authority, using the decryption key of the upper-level recipient and using the encryption key of the lower-level recipient Thus, there is an effect that the encrypted data can be decrypted and the key management and distribution costs can be reduced.

【0063】ここで、前記鍵生成手段は、レベル1の暗
号化鍵a1 と復号化鍵b1 とを、次式により決定し、 a1 × b1 ≡ 1 ( mod φ(n1
)、 ここで、任意の素数p1 、q1 について、φ(n1 )=
(p1 −1)×(q1 −1)であり、レベルi(i>
1)の復号化鍵bi を、次式により決定し、
Here, the key generation means determines a level 1 encryption key a 1 and a decryption key b 1 by the following equation: a 1 × b 1 1 1 (mod φ (n 1 )
Here, for any prime numbers p 1 and q 1 , φ (n 1 ) =
(P 1 -1) × (q 1 -1), and the level i (i>
The decryption key b i 1), was determined by the following equation,

【数39】 レベルi(i>1)の暗号化鍵ai を、次式により決定
し、 ai × bi ≡ 1 ( mod φ(ni
)、 ここで、任意の素数pi 、qi について、φ(ni )=
(pi −1)×(qi −1)であり、前記暗号化手段
は、次式により平文xを暗号化して暗号文yを生成し、
[Equation 39] The encryption key a i of level i (i> 1) is determined by the following equation, and a i × b i 1 1 (mod φ (n i )
Here, for any primes p i and q i , φ (n i ) =
(P i −1) × (q i −1), and the encryption unit encrypts the plain text x by the following formula to generate a cipher text y,

【数40】 ここで、ai は、レベルiの暗号化鍵であり、ni
i × qi であり、レベルiを出力し、前記解読手
段は、前記暗号化手段よりレベルiを受信し、次式によ
り暗号文yを解読して平文zを生成し、
(Equation 40) Here, a i is an encryption key of level i, and n i =
p i × q i and outputs a level i, and the decryption means receives the level i from the encryption means, decrypts the cipher text y by the following equation to generate a plain text z,

【数41】 ここで、bj は、レベルj(j≧i)の暗号化鍵であ
り、ni = pi × qi であるように構成してもよ
い。この構成によると、階層的な解読権限を有する複数
のレベルの受信者に暗号文を送信する場合において、上
位レベルの受信者の復号鍵を用いて、下位のレベルの受
信者の暗号鍵を用いて暗号化された暗号を解読でき、複
数受信者宛の暗号文に含まれる共通鍵は常に1個でよ
く、鍵の管理及び配送コストを低減できるという効果が
ある。
[Equation 41] Here, b j is an encryption key of level j (j ≧ i), and may be configured such that n i = p i × q i . According to this configuration, when transmitting the ciphertext to a plurality of levels of recipients having hierarchical decryption authority, using the decryption key of the upper-level recipient and using the encryption key of the lower-level recipient Thus, it is possible to decrypt the encrypted data, and the number of common keys included in the cipher text addressed to a plurality of recipients is always one. This has an effect that the key management and the delivery cost can be reduced.

【0064】また、本発明は、暗号化鍵と復号化鍵とを
生成し暗号文を解読するL個の異なるレベルの解読装置
と、暗号文を生成する暗号化装置とから構成される暗号
通信システムであって、レベル1の解読装置は、レベル
1の暗号化鍵a1 と復号化鍵b1 とを、次式により決定
し、 a1 × b1 ≡ 1 ( mod φ(n1
)、 ここで、任意の素数p1 、q1 について、φ(n1 )=
(p1 −1)×(q1 −1)であり、決定した暗号化鍵
1 を前記暗号化装置へ送信し、決定した復号化鍵b1
とφ(n1 )とをレベル2の解読装置に出力するレベル
1の鍵作成手段と、解読手段とを備え、レベルi(1<
i<L)の解読装置は、レベルiの復号化鍵bi を、次
式により決定し、
The present invention also provides a cryptographic communication system comprising L different-level decryption devices for generating an encryption key and a decryption key and decrypting a ciphertext, and an encryption device for generating a ciphertext. In the system, a level 1 decryption device determines a level 1 encryption key a 1 and a decryption key b 1 according to the following equation: a 1 × b 1 1 1 (mod φ (n 1 )
Here, for any prime numbers p 1 and q 1 , φ (n 1 ) =
(P 1 −1) × (q 1 −1), and transmits the determined encryption key a 1 to the encryption device and determines the determined decryption key b 1
And φ (n 1 ) are output to a level 2 decryption device, and a level 1 key generation unit and a decryption unit are provided.
The decryption device of i <L) determines the decryption key bi of level i by the following equation:

【数42】 レベルiの暗号化鍵ai を、次式により決定し、 ai × bi ≡ 1 ( mod φ(ni
)、 ここで、任意の素数pi 、qi について、φ(ni )=
(pi −1)×(qi −1)であり、決定した暗号化鍵
i を前記暗号化装置へ送信し、決定した復号化鍵b
i 、φ(n1 )、φ(n2 )、・・・、φ(ni )をレ
ベルi+1の解読装置に出力するレベルiの鍵作成手段
と、解読手段とを備え、レベルLの解読装置は、レベル
Lの復号化鍵bL を、次式により決定し、
(Equation 42) A level i encryption key a i is determined by the following equation: a i × b i 1 1 (mod φ (n i )
Here, for any primes p i and q i , φ (n i ) =
(P i −1) × (q i −1), and transmits the determined encryption key a i to the encryption device and determines the determined decryption key b.
a level i key generating means for outputting i , φ (n 1 ), φ (n 2 ),..., φ (n i ) to a level i + 1 decryption device, and decryption means; The apparatus determines a level L decryption key b L by the following equation:

【数43】 レベルLの暗号化鍵aL を、次式により決定し、 aL × bL ≡ 1 ( mod φ(nL
)、 ここで、任意の素数pL 、qL について、φ(nL )=
(pL −1)×(qL −1)であり、決定した暗号化鍵
L を前記暗号化装置へ送信するレベルLの鍵作成手段
と、解読手段とを備え、前記暗号化装置は、次式により
平文xを暗号化して暗号文yを生成し、
[Equation 43] A level L encryption key a L is determined by the following equation: a L × b L 1 1 (mod φ (n L )
Here, for any prime numbers p L and q L , φ (n L ) =
(P L −1) × (q L −1), comprising: a level L key generation unit that transmits the determined encryption key a L to the encryption device; and a decryption unit. , Encrypts the plaintext x by the following formula to generate a ciphertext y,

【数44】 ここで、am は、レベルm(1≦m≦L)の暗号化鍵で
あり、nm = pm × qm であり、レベルmを出力
する暗号化手段を備え、前記レベル1からレベルLの解
読装置において、前記解読手段は、前記暗号化手段より
レベルmを受信し、次式により暗号文yを解読して平文
zを生成し、
[Equation 44] Here, a m is an encryption key of the level m (1 ≦ m ≦ L) , a n m = p m × q m , comprises an encryption means for outputting a level m, the level from said level 1 L, the decryption means receives the level m from the encryption means, decrypts the ciphertext y by the following equation to generate a plaintext z,

【数45】 ここで、bj は、レベルj(j≧m)の暗号化鍵であ
り、nm = pm × qm であることを特徴とする。
この構成によると、階層的な解読権限を有する複数のレ
ベルの受信者に暗号文を送信する場合において、上位レ
ベルの受信者の復号鍵を用いて、下位のレベルの受信者
の暗号鍵を用いて暗号化された暗号を解読でき、鍵の管
理及び配送コストを低減できるという効果がある。
[Equation 45] Here, b j is the encryption key levels j (j ≧ m), characterized in that it is a n m = p m × q m .
According to this configuration, when transmitting the ciphertext to a plurality of levels of recipients having hierarchical decryption authority, using the decryption key of the upper-level recipient and using the encryption key of the lower-level recipient Thus, there is an effect that the encrypted data can be decrypted and the key management and distribution costs can be reduced.

【0065】また、本発明は、暗号化鍵と復号化鍵とを
生成する鍵作成装置と、暗号文を生成する暗号化装置
と、暗号文を解読するL個の異なるレベルの解読装置と
から構成される暗号通信システムであって、前記鍵作成
装置は、レベル1の暗号化鍵a 1 と復号化鍵b1 とを、
次式により決定し、 a1 × b1 ≡ 1 ( mod φ(n1
)、 ここで、任意の素数p1 、q1 について、φ(n1 )=
(p1 −1)×(q1 −1)であり、レベルi(1<i
<L)の復号化鍵bi を、次式により決定し、
Further, the present invention provides an encryption key and a decryption key.
Key generation device for generating and encryption device for generating ciphertext
And L different levels of decryption devices for decrypting ciphertexts
A cryptographic communication system comprising:
The device has a level 1 encryption key a 1 And decryption key b1 And
Determined by the following formula, a1 × b1  ≡ 1 (mod φ (n1 )
 ), Where any prime p1 , Q1 For φ (n1 ) =
(P1 -1) × (q1 -1) and level i (1 <i
<L) decryption key bi Is determined by the following equation,

【数46】 レベルiの暗号化鍵ai を、次式により決定し、 ai × bi ≡ 1 ( mod φ(ni
)、 ここで、任意の素数pi 、qi について、φ(ni )=
(pi −1)×(qi −1)であり、前記決定した暗号
化鍵a1 、a2 、・・・、aL を前記暗号化装置へ送信
し、前記決定した復号化鍵b1 、b2 、・・・、bL
それぞれ、レベル1、レベル2、・・・、レベルLの解
読装置へ出力する鍵作成手段を備え、前記暗号化装置
は、次式により平文xを暗号化して暗号文yを生成し、
[Equation 46] A level i encryption key a i is determined by the following equation: a i × b i 1 1 (mod φ (n i )
Here, for any primes p i and q i , φ (n i ) =
(P i −1) × (q i −1), and transmits the determined encryption keys a 1 , a 2 ,..., A L to the encryption device, and determines the determined decryption key b. 1, b 2, ..., respectively b L, level 1, level 2, ..., includes a key generation unit for outputting to the decrypted device level L, the encryption device, a plain text x using the following equation Encrypt to generate a ciphertext y,

【数47】 ここで、am は、レベルmの暗号化鍵であり、nm
m × qm であり、レベルmを出力する暗号化手段
を備え、前記レベル1〜レベルLの解読装置は、前記暗
号化手段よりレベルmを受信し、次式により暗号文yを
解読して平文zを生成し、
[Equation 47] Here, a m is an encryption key of levels m, n m =
p m × q m , comprising an encryption means for outputting a level m, wherein the level 1 to level L decryption device receives the level m from the encryption means and decrypts the cipher text y by the following equation. To generate plaintext z,

【数48】 ここで、bj は、レベルj(j≧m)の暗号化鍵であ
り、nm = pm × qm である解読手段を備えるこ
とを特徴とする。この構成によると、階層的な解読権限
を有する複数のレベルの受信者に暗号文を送信する場合
において、上位レベルの受信者の復号鍵を用いて、下位
のレベルの受信者の暗号鍵を用いて暗号化された暗号を
解読でき、鍵の管理及び配送コストを低減できるという
効果がある。
[Equation 48] Here, b j is the encryption key levels j (j ≧ m), characterized in that it comprises a decoding means is n m = p m × q m . According to this configuration, when transmitting the ciphertext to a plurality of levels of recipients having hierarchical decryption authority, using the decryption key of the upper-level recipient and using the encryption key of the lower-level recipient Thus, there is an effect that the encrypted data can be decrypted and the key management and distribution costs can be reduced.

【0066】また、本発明は、公開された暗号化鍵を用
いて生成された暗号文を送信し、復号化鍵を用いて前記
送信された暗号文を解読する暗号通信方法であって、所
定の演算に基づいて、第1のレベルの暗号化鍵を用いて
暗号化された暗号文が前記第1のレベルと等しいか又は
それより高い第2のレベルの復号化鍵を用いて解読でき
る、複数個のレベルからなる暗号化鍵と復号化鍵とを前
記複数個生成し、前記生成された複数個のレベルからな
る暗号化鍵を送信する鍵生成ステップと、前記暗号化鍵
を受信し、受信した暗号化鍵のうち第3のレベルの暗号
化鍵を用いて、平文を暗号化して暗号文を生成し、生成
した暗号文を送信する暗号化ステップと、前記生成され
た復号化鍵のうち第4のレベルの復号化鍵を用いて、前
記第4のレベルが前記第3のレベルより高いか又は等し
い場合に、前記送信された暗号文を解読する解読ステッ
プとを含むことを特徴とする。この方法を用いると、階
層的な解読権限を有する複数のレベルの受信者に暗号文
を送信する場合において、上位レベルの受信者の復号鍵
を用いて、下位のレベルの受信者の暗号鍵を用いて暗号
化された暗号を解読でき、鍵の管理及び配送コストを低
減できるという効果がある。
The present invention also relates to a cryptographic communication method for transmitting a ciphertext generated using a publicly available encryption key and decrypting the transmitted ciphertext using a decryption key. , The ciphertext encrypted using the first level encryption key can be decrypted using the second level decryption key equal to or higher than the first level, Generating a plurality of encryption keys and decryption keys comprising a plurality of levels, a key generation step of transmitting the generated encryption keys comprising the plurality of levels, receiving the encryption key, An encryption step of encrypting the plaintext to generate a ciphertext using the third-level encryption key among the received encryption keys, and transmitting the generated ciphertext; Using the fourth level of decryption key, the fourth level is If the serial third higher than or equal to the level of, characterized in that it comprises a decryption step for decrypting the transmitted ciphertext. By using this method, when transmitting ciphertext to a plurality of levels of recipients having a hierarchical decryption authority, the decryption key of the upper level recipient is used to replace the encryption key of the lower level recipient. There is an effect that the encryption encrypted by using the key can be decrypted, and the management and delivery cost of the key can be reduced.

【0067】ここで、前記鍵生成ステップは、レベル1
の暗号化鍵a1 と復号化鍵b1 とを、次式により決定
し、 a1 × b1 ≡ 1 ( mod φ(n1
)、 ここで、任意の素数p1 、q1 について、φ(n1 )=
(p1 −1)×(q1 −1)であり、レベルi(i>
1)の復号化鍵bi を、次式により決定し、
Here, the key generation step is performed at level 1
The encryption key a 1 and the decryption key b 1 are determined by the following equation: a 1 × b 1 1 1 (mod φ (n 1 )
Here, for any prime numbers p 1 and q 1 , φ (n 1 ) =
(P 1 -1) × (q 1 -1), and the level i (i>
The decryption key b i 1), was determined by the following equation,

【数49】 レベルi(i>1)の暗号化鍵ai を、次式により決定
し、 ai × bi ≡ 1 ( mod φ(ni
)、 ここで、任意の素数pi 、qi について、φ(ni )=
(pi −1)×(qi −1)であり、前記暗号化ステッ
プは、次式により平文xを暗号化して暗号文yを生成
し、
[Equation 49] The encryption key a i of level i (i> 1) is determined by the following equation, and a i × b i 1 1 (mod φ (n i )
Here, for any primes p i and q i , φ (n i ) =
(P i −1) × (q i −1), and the encrypting step generates a cipher text y by encrypting the plain text x by the following equation:

【数50】 ここで、ai は、レベルiの暗号化鍵であり、ni
i × qi であり、レベルiを出力し、前記解読ス
テップは、前記暗号化ステップよりレベルiを受信し、
次式により暗号文yを解読して平文zを生成し、
[Equation 50] Here, a i is an encryption key of level i, and n i =
p i × q i , outputting a level i, wherein the decryption step receives the level i from the encryption step;
Decrypt ciphertext y by the following formula to generate plaintext z,

【数51】 ここで、bj は、レベルj(j≧i)の暗号化鍵であ
り、ni = pi × qi であるように構成してもよ
い。この方法を用いると、階層的な解読権限を有する複
数のレベルの受信者に暗号文を送信する場合において、
上位レベルの受信者の復号鍵を用いて、下位のレベルの
受信者の暗号鍵を用いて暗号化された暗号を解読でき、
鍵の管理及び配送コストを低減できるという効果があ
る。
(Equation 51) Here, b j is an encryption key of level j (j ≧ i), and may be configured such that n i = p i × q i . Using this method, when sending ciphertext to multiple levels of recipients with hierarchical decryption authority,
Using the decryption key of the upper-level recipient, decrypts the encryption encrypted using the encryption key of the lower-level recipient,
This has the effect of reducing key management and distribution costs.

【0068】また、本発明は、公開された暗号化鍵を用
いて生成された暗号文を送信し、復号化鍵を用いて前記
送信された暗号文を解読する暗号通信方法をコンピュー
タに実行させるためのプログラムを記録するコンピュー
タ読み取り可能な媒体であって、上記の暗号通信方法を
コンピュータに実行させるためのプログラムを含む。こ
の媒体に記録されているプログラムをコンピュータに実
行させることにより、階層的な解読権限を有する複数の
レベルの受信者に暗号文を送信する場合において、上位
レベルの受信者の復号鍵を用いて、下位のレベルの受信
者の暗号鍵を用いて暗号化された暗号を解読でき、鍵の
管理及び配送コストを低減できるという効果がある。
Further, the present invention transmits a cipher text generated using a public encryption key and causes a computer to execute a cryptographic communication method for decrypting the transmitted cipher text using a decryption key. A computer-readable medium that stores a program for causing a computer to execute the above-described cryptographic communication method. By causing a computer to execute the program recorded on this medium, in the case of transmitting ciphertext to a plurality of levels of recipients having hierarchical decryption authority, using a decryption key of a higher-level recipient, There is an effect that the encryption encrypted by using the encryption key of the lower-level recipient can be decrypted, and the key management and delivery cost can be reduced.

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

【図1】本発明の一つの実施の形態としての暗号通信シ
ステムのブロック図である。
FIG. 1 is a block diagram of a cryptographic communication system as one embodiment of the present invention.

【図2】図1に示す暗号通信システムの暗号化装置のデ
ータ記憶部に記憶されている内容を示す。
FIG. 2 shows contents stored in a data storage unit of the encryption device of the encryption communication system shown in FIG.

【図3】図1に示す暗号通信システムの各解読装置のデ
ータ記憶部に記憶されている内容を示す。
FIG. 3 shows contents stored in a data storage unit of each decryption device of the cryptographic communication system shown in FIG. 1;

【図4】図1に示す暗号通信システムの各解読装置によ
る鍵の作成の動作を示すフローチャートである。
FIG. 4 is a flowchart showing an operation of generating a key by each decryption device of the cryptographic communication system shown in FIG. 1;

【図5】図1に示す暗号通信システムのレベル1の解読
装置による鍵の作成の動作を示すフローチャートであ
る。
FIG. 5 is a flowchart showing an operation of creating a key by the level 1 decryption device of the cryptographic communication system shown in FIG. 1;

【図6】図1に示す暗号通信システムのレベルiの解読
装置による鍵の作成の動作を示すフローチャートであ
る。
FIG. 6 is a flowchart showing an operation of generating a key by the level i decryption device of the cryptographic communication system shown in FIG. 1;

【図7】図1に示す暗号通信システムのレベルLの解読
装置による鍵の作成の動作を示すフローチャートであ
る。
FIG. 7 is a flowchart showing an operation of generating a key by the level-L decrypting device of the cryptographic communication system shown in FIG. 1;

【図8】図1に示す暗号通信システムの暗号化装置によ
る暗号化の動作を示すフローチャートである。
FIG. 8 is a flowchart showing an encryption operation performed by the encryption device of the encryption communication system shown in FIG. 1;

【図9】図1に示す暗号通信システムの各解読装置によ
る暗号の解読の動作を示すフローチャートである。
FIG. 9 is a flowchart showing an operation of decrypting a cipher by each decrypting device of the cryptographic communication system shown in FIG. 1;

【図10】本発明の別の一つの実施の形態としての暗号
通信システムのブロック図である。
FIG. 10 is a block diagram of a cryptographic communication system as another embodiment of the present invention.

【図11】図10に示す暗号通信システムの鍵の作成動
作を示すフローチャートである。
FIG. 11 is a flowchart showing a key generation operation of the cryptographic communication system shown in FIG.

【図12】図10に示す暗号通信システムの鍵の作成動
作を示すフローチャートである。
FIG. 12 is a flowchart showing a key generation operation of the cryptographic communication system shown in FIG. 10;

【図13】従来の暗号通信システムの暗号文の構成を示
す図である。
FIG. 13 is a diagram showing a configuration of a cipher text in a conventional cryptographic communication system.

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 公開された暗号化鍵を用いて生成された
暗号文を送信し、復号鍵を用いて前記送信された暗号文
を解読する暗号通信システムであって、 所定の演算に基づいて、第1のレベルの暗号化鍵を用い
て暗号化された暗号文が前記第1のレベルと等しいか又
はそれより高い第2のレベルの復号鍵を用いて解読でき
複数個のレベルからなる暗号化鍵と復号鍵とを前記複数
個生成し、前記生成された複数個のレベルからなる暗号
化鍵を送信する鍵生成手段と、 前記暗号化鍵を受信し、受信した暗号化鍵のうち第3の
レベルの暗号化鍵を用いて、平文を暗号化して暗号文を
生成し、生成した暗号文を送信する暗号化手段と、 前記生成された復号鍵のうち第4のレベルの復号鍵を用
いて、前記第4のレベルが前記第3のレベルより高いか
又は等しい場合に、前記送信された暗号文を解読する解
読手段とを備えることを特徴とする暗号通信システム。
1. A cryptographic communication system for transmitting a ciphertext generated using a publicly available encryption key and decrypting the transmitted ciphertext using a decryption key, based on a predetermined operation. A ciphertext encrypted using a first level encryption key and having a plurality of levels which can be decrypted using a second level decryption key equal to or higher than the first level. Key generating means for generating a plurality of encryption keys and decryption keys, and transmitting an encryption key comprising the generated plurality of levels; receiving the encryption key, and Encryption means for encrypting the plaintext using the encryption key of level 3 to generate a ciphertext, and transmitting the generated ciphertext; and a decryption key of the fourth level among the generated decryption keys. If the fourth level is higher than the third level or And a decryption means for decrypting the transmitted ciphertext when necessary.
【請求項2】 前記鍵生成手段は、レベル1の暗号化鍵
1 と復号化鍵b1 とを、次式により決定し、 a1 × b1 ≡ 1 ( mod φ(n1
)、 ここで、任意の素数p1 、q1 について、 φ(n1 )=(p1 −1)×(q1 −1)であり、レベ
ルi(i>1)の復号化鍵bi を、次式により決定し、 【数1】 レベルi(i>1)の暗号化鍵ai を、次式により決定
し、 ai × bi ≡ 1 ( mod φ(ni
)、 ここで、任意の素数pi 、qi について、 φ(ni )=(pi −1)×(qi −1)であり、前記
暗号化手段は、次式により平文xを暗号化して暗号文y
を生成し、 【数2】 ここで、ai は、レベルiの暗号化鍵であり、ni
i × qi であり、レベルiを出力し、前記解読手
段は、前記暗号化手段よりレベルiを受信し、次式によ
り暗号文yを解読して平文zを生成し、 【数3】 ここで、bj は、レベルj(j≧i)の暗号化鍵であ
り、ni = pi × qi であることを特徴とする請
求項1記載の暗号通信システム。
2. The key generation means determines a level 1 encryption key a 1 and a decryption key b 1 according to the following equation: a 1 × b 1 1 1 (mod φ (n 1 )
Here, for any prime numbers p 1 and q 1 , φ (n 1 ) = (p 1 −1) × (q 1 −1) and the decryption key b i at level i (i> 1) Is determined by the following equation: The encryption key a i of level i (i> 1) is determined by the following equation, and a i × b i 1 1 (mod φ (n i )
Here, for any prime numbers p i and q i , φ (n i ) = (p i −1) × (q i −1), and the encryption means encrypts the plain text x by the following equation. And ciphertext y
Is generated, and Here, a i is an encryption key of level i, and n i =
p i × q i , outputs a level i, and the decryption means receives the level i from the encryption means, decrypts the cipher text y by the following formula to generate a plain text z, and Here, b j is the encryption key levels j (j ≧ i), the cryptographic communication system according to claim 1, wherein the a n i = p i × q i .
【請求項3】 暗号化鍵と復号化鍵とを生成し暗号文を
解読するL個の異なるレベルの解読装置と、暗号文を生
成する暗号化装置とから構成される暗号通信システムで
あって、レベル1の解読装置は、レベル1の暗号化鍵a
1 と復号化鍵b1 とを、次式により決定し、 a1 × b1 ≡ 1 ( mod φ(n1
)、 ここで、任意の素数p1 、q1 について、φ(n1 )=
(p1 −1)×(q1 −1)であり、決定した暗号化鍵
1 を前記暗号化装置へ送信し、決定した復号化鍵b1
とφ(n1 )とをレベル2の解読装置に出力するレベル
1の鍵作成手段と、解読手段とを備え、レベルi(1<
i<L)の解読装置は、レベルiの復号化鍵bi を、次
式により決定し、 【数4】 レベルiの暗号化鍵ai を、次式により決定し、 ai × bi ≡ 1 ( mod φ(ni
)、 ここで、任意の素数pi 、qi について、φ(ni )=
(pi −1)×(qi −1)であり、決定した暗号化鍵
i を前記暗号化装置へ送信し、決定した復号化鍵b
i 、φ(n1 )、φ(n2 )、・・・、φ(ni )をレ
ベルi+1の解読装置に出力するレベルiの鍵作成手段
と、解読手段とを備え、レベルLの解読装置は、レベル
Lの復号化鍵bL を、次式により決定し、 【数5】 レベルLの暗号化鍵aL を、次式により決定し、 aL × bL ≡ 1 ( mod φ(nL
)、 ここで、任意の素数pL 、qL について、φ(nL )=
(pL −1)×(qL −1)であり、決定した暗号化鍵
L を前記暗号化装置へ送信するレベルLの鍵作成手段
と、解読手段とを備え、前記暗号化装置は、次式により
平文xを暗号化して暗号文yを生成し、 【数6】 ここで、am は、レベルm(1≦m≦L)の暗号化鍵で
あり、nm = pm × qm であり、レベルmを出力
する暗号化手段を備え、前記レベル1からレベルLの解
読装置において、前記解読手段は、前記暗号化手段より
レベルmを受信し、次式により暗号文yを解読して平文
zを生成し、 【数7】 ここで、bj は、レベルj(j≧m)の暗号化鍵であ
り、nm = pm × qm であることを特徴とする暗
号通信システム。
3. A cryptographic communication system comprising: L different levels of decryption devices for generating an encryption key and a decryption key to decrypt a ciphertext; and an encryption device for generating a ciphertext. , The level 1 decryption apparatus uses the level 1 encryption key a
1 and the decryption key b 1 are determined by the following equation: a 1 × b 1 1 1 (mod φ (n 1 )
Here, for any prime numbers p 1 and q 1 , φ (n 1 ) =
(P 1 −1) × (q 1 −1), and transmits the determined encryption key a 1 to the encryption device and determines the determined decryption key b 1
And φ (n 1 ) are output to a level 2 decryption device, and a level 1 key generation unit and a decryption unit are provided.
The decryption device of i <L) determines the decryption key b i of level i by the following equation: A level i encryption key a i is determined by the following equation: a i × b i 1 1 (mod φ (n i )
Here, for any primes p i and q i , φ (n i ) =
(P i −1) × (q i −1), and transmits the determined encryption key a i to the encryption device and determines the determined decryption key b.
a level i key generating means for outputting i , φ (n 1 ), φ (n 2 ),..., φ (n i ) to a level i + 1 decryption device, and a decryption means; The apparatus determines the level L decryption key b L according to the following equation: A level L encryption key a L is determined by the following equation: a L × b L 1 1 (mod φ (n L )
Here, for any prime numbers p L and q L , φ (n L ) =
(P L −1) × (q L −1), comprising: a level L key generation unit that transmits the determined encryption key a L to the encryption device; and a decryption unit. And encrypts the plaintext x by the following formula to generate a ciphertext y. Here, a m is an encryption key of the level m (1 ≦ m ≦ L) , a n m = p m × q m , comprises an encryption means for outputting a level m, the level from said level 1 In the decryption device of L, the decryption means receives the level m from the encryption means, decrypts the ciphertext y by the following formula to generate a plaintext z, Here, b j is the encryption key levels j (j ≧ m), cryptographic communication system, characterized in that the n m = p m × q m .
【請求項4】 暗号化鍵と復号化鍵とを生成する鍵作成
装置と、暗号文を生成する暗号化装置と、暗号文を解読
するL個の異なるレベルの解読装置とから構成される暗
号通信システムであって、前記鍵作成装置は、レベル1
の暗号化鍵a1 と復号化鍵b1 とを、次式により決定
し、 a1 × b1 ≡ 1 ( mod φ(n1
)、 ここで、任意の素数p1 、q1 について、φ(n1 )=
(p1 −1)×(q1 −1)であり、レベルi(1<i
<L)の復号化鍵bi を、次式により決定し、 【数8】 レベルiの暗号化鍵ai を、次式により決定し、 ai × bi ≡ 1 ( mod φ(ni
)、 ここで、任意の素数pi 、qi について、φ(ni )=
(pi −1)×(qi −1)であり、前記決定した暗号
化鍵a1 、a2 、・・・、aL を前記暗号化装置へ送信
し、前記決定した復号化鍵b1 、b2 、・・・、bL
それぞれ、レベル1、レベル2、・・・、レベルLの解
読装置へ出力する鍵作成手段を備え、前記暗号化装置
は、次式により平文xを暗号化して暗号文yを生成し、 【数9】 ここで、am は、レベルmの暗号化鍵であり、nm
m × qm であり、レベルmを出力する暗号化手段
を備え、前記レベル1〜レベルLの解読装置は、前記暗
号化手段よりレベルmを受信し、次式により暗号文yを
解読して平文zを生成し、 【数10】 ここで、bj は、レベルj(j≧m)の暗号化鍵であ
り、nm = pm × qm である解読手段を備えるこ
とを特徴とする暗号通信システム。
4. A cipher comprising: a key generation device for generating an encryption key and a decryption key; an encryption device for generating a ciphertext; and L different-level decryption devices for decrypting the ciphertext. A communication system, wherein the key generation device is a level 1
The encryption key a 1 and the decryption key b 1 are determined by the following equation: a 1 × b 1 1 1 (mod φ (n 1 )
Here, for any prime numbers p 1 and q 1 , φ (n 1 ) =
(P 1 -1) × (q 1 -1), and the level i (1 <i
<L) The decryption key b i is determined by the following equation. A level i encryption key a i is determined by the following equation: a i × b i 1 1 (mod φ (n i )
Here, for any primes p i and q i , φ (n i ) =
(P i −1) × (q i −1), and transmits the determined encryption keys a 1 , a 2 ,..., A L to the encryption device, and determines the determined decryption key b. 1, b 2, ..., respectively b L, level 1, level 2, ..., includes a key generation unit for outputting to the decrypted device level L, the encryption device, a plain text x using the following equation Encrypted to generate a ciphertext y, Here, a m is an encryption key of levels m, n m =
p m × q m , comprising an encryption means for outputting a level m, wherein the level 1 to level L decryption device receives the level m from the encryption means and decrypts the cipher text y by the following equation. To generate a plaintext z, and Here, b j is the encryption key levels j (j ≧ m), cryptographic communication system, characterized in that it comprises a decoding means is n m = p m × q m .
【請求項5】 公開された暗号化鍵を用いて生成された
暗号文を送信し、復号化鍵を用いて前記送信された暗号
文を解読する暗号通信方法であって、 所定の演算に基づいて、第1のレベルの暗号化鍵を用い
て暗号化された暗号文が前記第1のレベルと等しいか又
はそれより高い第2のレベルの復号化鍵を用いて解読で
きる、複数個のレベルからなる暗号化鍵と復号化鍵とを
前記複数個生成し、前記生成された複数個のレベルから
なる暗号化鍵を送信する鍵生成ステップと、 前記暗号化鍵を受信し、受信した暗号化鍵のうち第3の
レベルの暗号化鍵を用いて、平文を暗号化して暗号文を
生成し、生成した暗号文を送信する暗号化ステップと、 前記生成された復号化鍵のうち第4のレベルの復号化鍵
を用いて、前記第4のレベルが前記第3のレベルより高
いか又は等しい場合に、前記送信された暗号文を解読す
る解読ステップとを備えることを特徴とする暗号通信方
法。
5. A cryptographic communication method for transmitting a ciphertext generated using a publicly available encryption key and decrypting the transmitted ciphertext using a decryption key, comprising the steps of: A plurality of levels wherein a ciphertext encrypted using a first level encryption key can be decrypted using a second level decryption key equal to or higher than said first level. A key generation step of generating the plurality of encryption keys and decryption keys consisting of: and transmitting the generated plurality of levels of encryption keys; and receiving the encryption key and receiving the received encryption key. An encryption step of encrypting the plaintext to generate a ciphertext by using a third-level encryption key among the keys and transmitting the generated ciphertext; and a fourth step of the generated decryption key. The fourth level is used for the third level using the decryption key of the level. Decrypting the transmitted cipher text if the value is higher than or equal to the cipher text.
【請求項6】 前記鍵生成ステップは、レベル1の暗号
化鍵a1 と復号化鍵b1 とを、次式により決定し、 a1 × b1 ≡ 1 ( mod φ(n1
)、 ここで、任意の素数p1 、q1 について、φ(n1 )=
(p1 −1)×(q1 −1)であり、レベルi(i>
1)の復号化鍵bi を、次式により決定し、 【数11】 レベルi(i>1)の暗号化鍵ai を、次式により決定
し、 ai × bi ≡ 1 ( mod φ(ni
)、 ここで、任意の素数pi 、qi について、φ(ni )=
(pi −1)×(qi −1)であり、前記暗号化ステッ
プは、次式により平文xを暗号化して暗号文yを生成
し、 【数12】 ここで、ai は、レベルiの暗号化鍵であり、ni
i × qi であり、レベルiを出力し、前記解読ス
テップは、前記暗号化ステップよりレベルiを受信し、
次式により暗号文yを解読して平文zを生成し、 【数13】 ここで、bj は、レベルj(j≧i)の暗号化鍵であ
り、ni = pi × qi であることを特徴とする請
求項5記載の暗号通信方法。
6. The key generation step determines a level 1 encryption key a 1 and a decryption key b 1 by the following equation: a 1 × b 1 1 1 (mod φ (n 1 )
Here, for any prime numbers p 1 and q 1 , φ (n 1 ) =
(P 1 -1) × (q 1 -1), and the level i (i>
The decryption key b i 1), was determined by the following equation, Equation 11] The encryption key a i of level i (i> 1) is determined by the following equation, and a i × b i 1 1 (mod φ (n i )
Here, for any primes p i and q i , φ (n i ) =
(P i −1) × (q i −1), and the encrypting step generates a cipher text y by encrypting the plain text x according to the following equation: Here, a i is an encryption key of level i, and n i =
p i × q i , outputting a level i, wherein the decryption step receives the level i from the encryption step;
The plaintext z is generated by decrypting the ciphertext y by the following formula, and Here, b j is the encryption key levels j (j ≧ i), n i = p i × cryptographic communication method according to claim 5, wherein the a q i.
【請求項7】 公開された暗号化鍵を用いて生成された
暗号文を送信し、復号化鍵を用いて前記送信された暗号
文を解読する暗号通信方法をコンピュータに実行させる
ためのプログラムを記録するコンピュータ読み取り可能
な媒体であって、請求項5〜6記載の何れかの暗号通信
方法をコンピュータに実行させるためのプログラムを含
むことを特徴とする記録媒体。
7. A program for transmitting a ciphertext generated using a publicly available encryption key and causing a computer to execute a cryptographic communication method for decrypting the transmitted ciphertext using a decryption key. A recording medium readable by a computer, comprising a program for causing a computer to execute the encryption communication method according to claim 5.
JP10182965A 1998-06-29 1998-06-29 Cipher communication system, cipher communication method and storage medium recording cipher communication program Pending JP2000019959A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10182965A JP2000019959A (en) 1998-06-29 1998-06-29 Cipher communication system, cipher communication method and storage medium recording cipher communication program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10182965A JP2000019959A (en) 1998-06-29 1998-06-29 Cipher communication system, cipher communication method and storage medium recording cipher communication program

Publications (1)

Publication Number Publication Date
JP2000019959A true JP2000019959A (en) 2000-01-21

Family

ID=16127431

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10182965A Pending JP2000019959A (en) 1998-06-29 1998-06-29 Cipher communication system, cipher communication method and storage medium recording cipher communication program

Country Status (1)

Country Link
JP (1) JP2000019959A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002366030A (en) * 2001-06-04 2002-12-20 Cognitive Research Laboratories Inc Method and device and recording medium for hierarchical enciphering/decoding
JP2005539423A (en) * 2002-09-16 2005-12-22 サムスン エレクトロニクス カンパニー リミテッド Metadata encryption / decryption method, encrypted metadata management method and system
JP4896145B2 (en) * 2005-10-26 2012-03-14 トムソン ライセンシング System and method for distributing satellite services at multiple security levels

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002366030A (en) * 2001-06-04 2002-12-20 Cognitive Research Laboratories Inc Method and device and recording medium for hierarchical enciphering/decoding
JP2005539423A (en) * 2002-09-16 2005-12-22 サムスン エレクトロニクス カンパニー リミテッド Metadata encryption / decryption method, encrypted metadata management method and system
JP4896145B2 (en) * 2005-10-26 2012-03-14 トムソン ライセンシング System and method for distributing satellite services at multiple security levels
US8666071B2 (en) 2005-10-26 2014-03-04 Thomson Licensing System and method for delivering satellite services at multiple security levels
US9008307B2 (en) 2005-10-26 2015-04-14 Thomson Licensing System and method for delivering satellite services at multiple security levels

Similar Documents

Publication Publication Date Title
CN105743646B (en) A kind of Identity based encryption method and system
US20110307698A1 (en) Masking the output of random number generators in key generation protocols
US6813358B1 (en) Method and system for timed-release cryptosystems
JP2003503864A (en) Method and apparatus for authenticating a first instance and a second instance
US7760872B2 (en) Public key cryptographic methods and systems
JP3308561B2 (en) E-mail communication method and sender terminal
US7382877B2 (en) RSA cryptographic method and system
US20050060545A1 (en) Secure provision of image data
JPH1022992A (en) Multi-address cipher communication method for message and storage medium
EP2395698A1 (en) Implicit certificate generation in the case of weak pseudo-random number generators
JP2002152189A (en) Open key distributing method, and open key transmitting device and open key receiving device used for the same method
JP4485122B2 (en) Public key cryptosystem, signature system, cryptographic communication system, secret key generator, public key generator, and computer program
KR20030047148A (en) Method of messenger security based on client/server using RSA
JP2000019959A (en) Cipher communication system, cipher communication method and storage medium recording cipher communication program
JP3895245B2 (en) Encryption method and encryption system based on user identification information capable of updating key
JP2005176144A (en) Terminal device, communication system and communication method
US20020116612A1 (en) Cryptocommunication system, transmission apparatus, and reception apparatus
JP2004246350A (en) Enciphering device, deciphering device, enciphering system equipped with the same, enciphering method, and deciphering method
JP3694242B2 (en) Signed cryptographic communication method and apparatus
Zheng Signcryption or how to achieve cost (signature & encryption)<< cost (signature)+ cost (encryption)
JP2006203739A (en) Encryption method, and apparatus and program utilizing its method
Patel et al. A critical analysis on encryption techniques used for data security in cloud computing and IOT (internet of things) based smart cloud storage system: a survey
JPH0856219A (en) Ciphering communication system
JP2000098886A (en) Public key cryptosystem
JPH1195660A (en) Anonymous communication method of electronic document, its program record medium, and device therefor