Key distribution system for distributing a cipher key between two subsystems by one-way communication

Abstract: In a key distribution system comprising a first subsystem (11), a second subsystem (12), and a public file (13), the first subsystem transmits distribution information (ID A , Y A ) to the second subsystem via a communication channel (16). The first subsystem (11) comprises a reading unit (22) for accessing the public file by reception identification information (ID B ) inputted from an input unit (21) to read reception public information (X B ). A first cipher key generator (28) generates a first cipher key (K A ) by applying a first predetermined transformation on the reception public information and the reception identification information on the basis of first and second constants (n, t), and a random number (r). A distribution code generator (29) generates a key distribution code (Y A ) by applying a second predetermined transformation on transmission public information (X A ) and a third constant (α) on the basis of the first constant, first secret information (r A ), and the random number. The second subsystem comprises a second cipher key generator (35) for generating a second cipher key (K B ) by applying a third predetermined transformation on the key distribution code and the transmission identification information on the basis of the first and the second constants and second secret information (r B ). The second cipher key coincides with the first cipher key.

Description: This invention relates to a key distribution system for distributing a cipher key between two subsystems via a communication channel by one-way communication. Various key distribution systems are already known. By way of example, a key distribution system is disclosed in a paper which is contributed by W. Diffie and M. E. Hellman to the IEEE Transactions on Information Theory, Vol. IT-22, No. 6, pages 644-654, November issue, 1976, under the title of "New Directions in Cryptography". The key distribution system according to the Diffie et al paper is called the Diffie-Hellman public key distribution system. The Diffie-Hellman public key distribution system comprises a public file or directory in which public information for each of users or conversers is stored. It will be assumed that two conversers are named A and B. Let p be a large prime number of about 256 bits in binary representation, which is publicly known. Let α be a fixed primitive element of the finite field GP(p), i.e. an integer such that its successive powers modulo p (α, α 2 (mod p), α 3 (mod p), ...) fill the finite field GP(p) except zero, where a (mod b) means a remainder of division of the number a by the number b. The public file stores public information Y A of the converser A and public information Y B of the converser B. The public information Y A and Y B are selected so as to be equal to α X A (mod p) and α X B (mod p), respectively, where X A and X B represent secret numbers of the conversers A and B that are chosen uniformly the set of integers {1, 2, ..., (p - 1)}. Before the converser A sends enciphered messages to the converser B, the converser A prepares an enciphering key K A generated from the public information Y B and the secret information X A . The enciphering key K A represents a number obtained by calculating Y B X A (mod p). The converser B also prepares an enciphering key K B in accordance to Y A X B (mod p) in a similar manner. Inasmuch as the enciphering keys K A and K B are equal to each other, they will therefore be their common cipher key. However, the Diffie-Hellman public key distribution system is disadvantageous in that a third party or an eavesdropper has possibility to impersonate one of the conversers A and B by doctoring or tampering with the public information. Another key distribution system is disclosed in United States Patent No. 4,876,716 issued to Eiji Okamoto. The key distribution system according to the Okamoto's U.S. Patent is referred to an identity-based key distribution system. This is because a cipher key is generated by using each converser's identification information instead of the public file used in the Diffie-Hellman public key distribution system. The identification information may be any information such as converser's name and address. It is unfeared that tampering with the public information is made. This is because the identification information is used as the public information. The identity based key distribution system comprises a first subsystem, a second subsystem, and an insecure communication channel such as a telephone line which connects the first subsystem with the second subsystem. It is assumed that the first and the second subsystems are used by users or conversers A and B, respectively. Let n be a modulus of size at least 512 bits which is a product of two sufficiently large prime numbers p and q, and e and d be two exponents such that exd = 1 (mod (p-1)x(q-1)) . Let α be an integer which is both a primitive element in the finite fields GP(p) and GP(q). It will also be assumed that conversers A and B are assigned with identification information ID A and ID B' respectively. In this event, the conversers A and B have or know the secret integer numbers S A and S B which are defined as numbers obtainable from ID A d (mod n) and ID B d (mod n), respectively. When the conversers A and B wish to obtain a work or session cipher key K, i.e. a key which is randomly chosen at each communication, the first subsystem of the converser A generates a random number γ and sends to the second subsystem of the converser B a first key distribution code X A representative of a number obtained by computing S A xα γ (mod n). The second subsystem of the converser B also generates a random number t and sends to the first subsystem of the converser A a second distribution code X B representative of a number obtained by calculating S B xα t (mod n). Then, the first subsystem of the converser A calculates (X B e /ID B ) γ (mod n) and keeps the resulting number as the work cipher key K. Similarly, the second subsystem of the converser B calculates (X A e /ID A ) t (mod n) and keeps the resulting number as the work cipher key K. As described above, the identity-based key distribution system must carry out a mutual or two-way communication between the first and the second subsystems in order to distribute or exchange the work cipher key K. As a result, the identity-based key distribution system is defective in that communication overhead increases in a known electronic mail system which can transmit messages enciphered with the work cipher key K via the insecure communication channel. EP-A-0385511 relates to a cipher-key distribution system. The system for distributing a cipher key for use in cipher communication by one party with another comprises a common file for storing public information in a position indicated by receiving party identifying information, and first and second subsystems. The first subsystem comprises means for reading said public information out of said common file; random number generating means; first cipher-key generating means; said receiving secret information holding means; key distributing code generating means and transmitting means for transmitting the key distributing code generated by the key distributing code generating means and the information for identifying the communicating party. The second subsystem comprises means for receiving the key distributing code and the identifying information from said transmitting means of the first subsystem; constant holding means; secret information holding means: and second cipher-key generating means for generating a cipher key, which is identical with the cipher-key generated by said first cipher-key generating means, on the basis of the key distributing code and identifying information from said receiving means, the constant from said constant holding means and the secret information from said secret information holding means. It is therefore an object of this invention to provide a key distribution system and a method of distributing a cipher key between two subsystems, wherein it is possible to distribute the cipher key between these two subsystems by one-way communication. It is another object of this invention to provide a key distribution system and a method of distributing a cipher key between two subsystems, wherein it is possible to easily manage secret information. It is still another object of this invention to provide a key distribution system and a method of distributing a cipher key between two subsystems, wherein it is unfeared to be breakable by a user's conspiracy attack. It is yet another object of this invention to provide a key distribution system and a method of distributing a cipher key between two subsystems, which is operable in high security. Other objects of this invention will become clear as the description proceeds. On describing the gist of an aspect of this invention, it is possible to understand that a key distribution method is for distributing a cipher key between a first subsystem for a first converser and a second subsystem for a second converser via a communication channel by using a public file which stores public information corresponding to identification information assigned to conversers. The first and the second conversers are assigned with first and second identification information, respectively. The first and the second identification information correspond to first and second public information, respectively. The first and the second subsystems have first and second secret information, respectively. Each of said first and said second secret information being used as secret information for transmission and secret information for reception in common. According to an aspect of this invention, the above-understood key distribution method comprises the following steps: (a) accessing, in the first subsystem, the public file by the second identification information to read the second public information; (b) generating, in the first subsystem, a random number; (c) generating, in the first subsystem, a first cipher key by applying a first predetermined transformation on the second public information and the second identification information on the basis of first and second constants and the random number; (d) generating, in the first subsystem, a key distribution code by applying a second predetermined transformation on the first public information and a third constant on the basis of the first constant, the first secret information, and the random number; (e) transmitting, as distribution information, the key distribution code and the first identification information from the first subsystem to the second subsystem via the communication channel; (f) receiving, in the second subsystem, the distribution information from the first subsystem; and (g) generating, in the second subsystem, a second cipher key by applying a third predetermined transformation on the key distribution code and the first identification information on the basis of the first and the second constants and the second secret information, the second cipher key being equal to the first cipher key. On describing the gist of another aspect of this invention, it is possible to understand that a key transmitting subsystem is for use in a key distribution system. The key transmitting subsystem is for transmitting distribution information to a key receiving subsystem of the key distribution system via a communication channel. The key receiving subsystem is for receiving the distribution information to generate a cipher key. The key transmitting subsystem is in use by a transmission converser whilst the key receiving subsystem is in use by a reception converser. The key distribution system comprises a public file which stores public information corresponding to identification information assigned to conversers. The transmission converser is assigned with transmission identification information corresponding to transmission public information whilst the reception converser is assigned with reception identification information corresponding to reception public information. According to another aspect of this invention, the afore-understood key transmitting subsystem comprises: accessing means supplied with the reception identification information and connected to the public file for accessing the public file by the reception identification information to read the reception public information; random number generating means for generating a random number; constant holding means for holding first through third constants; secret information holding means for holding secret information for the transmission converser; public information holding means for holding the transmission public information; identification information holding means for holding the transmission identification information; cipher key generating means connected to the accessing means, the random number generating means, and the constant holding means for generating the cipher key by applying a first predetermined transformation on the reception public information and the reception identification information on the basis of the first and the second constants, and the random number; code generating means connected to the random number generating means, the secret information holding means, the constant holding means, and the public information holding means for generating a key distribution code by applying a second predetermined transformation on the transmission public information and the third constant on the basis of the first constant, the secret information, and the random number; and transmitting means connected to the code generating means and the identification information holding means for transmitting, as the distribution information, the key distribution code and the transmission identification information to the key receiving subsystem via the communication channel. On describing the gist of still another aspect of this invention, it is possible to understand that a key receiving subsystem is for use in a key distribution system comprising a key transmitting subsystem for transmitting distribution information to the key receiving subsystem via a communication channel. The key receiving subsystem is for receiving the distribution information to generate a cipher key. The key transmitting subsystem is in use by a transmission converser while the key receiving subsystem is in use by a reception converser. The key distribution system comprises a public file which stores public information corresponding to identification information assigned to conversers. The transmission converser is assigned with transmission identification information corresponding to transmission public information whilst the reception converser is assigned with reception identification information corresponding to reception public information. According to still another aspect of this invention, the above-understood key receiving subsystem comprises: receiving means connected to the key transmitting subsystem via the communication channel for receiving, as the distribution information, a key distribution code and the transmission identification information from the key transmitting subsystem via the communication channel, the distribution code representing a number generated by using the transmission public information; constant holding means for holding first and second constants; secret information holding means for holding secret information for the second converser; the secret information being used as that for transmission and that for reception in common; and cipher key generating means connected to the receiving means, the constant information holding means, and the secret information holding means for generating the cipher key by applying a predetermined transformation on the key distribution code and the transmission identification information on the basis of the first and the second constants and the secret information. Brief Description of the Drawing: Fig. 1 is a block diagram of a key distribution system according to a preferred embodiment of the instant invention; Fig. 2 shows a flow chart for use in describing operation of issuing various information used in the key distribution system illustrated in Fig. 1; and Fig. 3 is a block diagram of a subsystem used as the first and the second subsystems in Fig. 1. Description of the Preferred Embodiment: Referring to Fig. 1, description will begin with a key distribution system according to a preferred embodiment of the invention. The key distribution system comprises a first subsystem 11, a second subsystem 12, and a public file 13. The first subsystem 11 and the second subsystem 12 are connected each other via first and second insecure communication channels 16 and 17 each of which may be a telephone line. The first subsystem 11 and the public file 13 are connected to each other via a connection line 18. In the manner which will later become clear, the first subsystem 11 transmits distribution information to the second subsystem 12 via the first insecure communication channel 16. The second subsystem 12 receives the distribution information to generate a cipher key. Therefore, the first subsystem 11 is called a key transmitting subsystem whilst the second subsystem 12 is referred to a key receiving subsystem. The key transmitting subsystem 11 is in use by a first or transmission converser A whilst the key receiving subsystem 12 is in use by a second or reception converser B. The public file 13 stores public information corresponding to identification information assigned to conversers. The transmission converser A is assigned with first or transmission identification information ID A corresponding to first or transmission public information X A whilst the reception converser B is assigned with second or reception identification information ID B corresponding to second or reception public information X B . The key transmitting subsystem 11 comprises an input unit 21 and a reading unit 22. The input unit 21 inputs the reception identification information ID B to provide the reading unit 22 with the reception identification information ID B . The reading unit 22 is connected to the public file 13. Responsive to the reception identification information ID B' the reading unit 22 reads the reception public information X B out of the public file 13. The reading unit 22 produces the reception identification information ID B and the reception public information X B . Therefore, a combination of the input unit 21 and the reading unit 22 serves as an accessing arrangement supplied with the reception identification information ID B and connected to the public file 13 for accessing the public file 13 by the reception identification information ID B to read the reception public information X B . The key transmitting subsystem 11 further comprises a random number generator 23, a first constant register 24, a first secret information register 25, a public information register 26, and an identification information register 27. The random number generator 23 generates a random number r. The first constant register 24 holds first through third constants n, t, and α which will later become clear. The first secret information register 25 holds first or transmission secret information r A for the transmission converser A. The public information register 26 holds the transmission public information X A . The identification information register 27 holds the transmission identification information ID A . The key transmitting subsystem 11 furthermore comprises a first cipher key generator 28, a distribution code generator 29, a transmitting unit 30, and an enciphering unit 31. The first cipher key generator 28 is connected to the reading unit 22, the random number generator 23, and the constant register 24. In the manner which will later be described, the first cipher key generator 28 generates a first cipher key K A by applying a first predetermined transformation on the reception public information X B and the reception identification information ID B on the basis of the first and the second constants n and t, and the random number r. The distribution code generator 29 is connected to the random number generator 23, the first secret information register 25, the first constant register 24, and the public information register 26. In the manner which will later be described, the distribution code generator 29 generates a key distribution code Y A by applying a second predetermined transformation on the transmission public information X A and the third constant α on the basis of the first constant n, the first secret information r A , and the random number r. The transmitting unit 30 is connected to the distribution code generator 29 and the identification information register 27. The transmitting unit 30 transmits, as the distribution information, the key distribution code Y A and the transmission identification information ID A to the key receiving subsystem 12 via the first insecure communication channel 16. The enciphering unit 31 is supplied with transmission messages and is connected to the first cipher key generator 28. The enciphering unit 31 enciphers the transmission messages with the first cipher key K A to produce enciphered messages. The enciphered messages are delivered to the key receiving subsystem 12 via the second insecure communication channel 17. The key receiving subsystem 12 comprises a receiving unit 32, a second constant register 33, and a second secret information register 34. The receiving unit 32 is connected to the key transmitting subsystem 11 via the first insecure communication channel 16. The receiving unit 32 receives, as the distribution information, the key distribution code Y A and the transmission identification information ID A from the key transmitting subsystem 11 via the first insecure communication channel 16. The second constant register 33 holds the first and the second constants n and t. The second secret information register 34 holds second or reception secret information r B for the second converser B. The key receiving subsystem 12 further comprises a second cipher key generator 35 and a deciphering unit 36. The second cipher key generator 35 is connected to the receiving unit 32, the first constant register 33, and the second secret information register 34. The second cipher key generator 35 generates a second cipher key K B by applying a third predetermined transformation on the key distribution code Y A and the transmission identification information ID A on the basis of the first and the second constants n and t and the second secret information r B . In the manner which will later become clear, the second cipher key K B coincides with the first cipher key K A . The deciphering unit 36 is supplied with the enciphered messages via the second insecure communication channel 17 and is connected to the second cipher key generator 35. The deciphering unit 36 deciphers the enciphered messages with the second cipher key K B to produce reception messages which coincide with the transmission messages. Referring to Fig. 2, description will be made as regards operation of issuing the first through the third constants n, t, and α, an i-th identification information ID i , an i-th subsidiary secret information s i , an i-th secret information r i , and an i-th public information X i , where i represents a positive integer. In the example being illustrated, the positive integer i is one selected from one and two. In the manner which will later be described, a key distribution center 37 distributes the first through the third constants n, t, and α, the i-th identification information ID i , and the i-th subsidiary secret information s i to an i-th subsystem 38, like the first and the second subsystems 11 and 12 in Fig. 1. At first, the key distribution center 37 generates two sufficiently large prime numbers p and q (a step S1) and then calculates the first constant, i.e. a modules n which is a product of the two prime numbers p and q (a step S2). For instance, the two prime numbers p and q may be of size at least 256 bits. The second constant t is selected as an exponent such that exd = 1 (mod (p-1)x(q-1)) and the third constant α is selected as a positive integer which is both a primitive element in finite fields GP(p) and GP(q) (a step S3). The third constant α is less than the first constant n. The i-th subsystem 38 issues a subscriber's request to the key distribution center 37 (a step S4). The i-th subsystem 38 judges whether the subscriber's request is present or absent (a step S5). The i-th subsystem 38 applies for the i-th identification information ID i therefor (a step S6). When the subscriber's request is present (YES of the step S5), the key distribution center 37 sets the i-th identification information ID i on applying for the i-th identification information ID i (a step S7). At a step S8, the key distribution center 37 calculates the i-th subsidiary secret information s i on the i-th identification information ID i by using the first and the second constants n and t as follows: s i = (ID i ) -(1/t) (mod n). That is, the first and the second identification information ID A and ID B are related to first and second subsidiary secret information S A and S B by using the first and the second constants n and t as follows: s A = (ID A ) -(1/t) (mod n); and s B = (ID B ) -(1/t) (mod n). Subsequently, the key distribution center 37 secretly distributes the first through the third constants n, t, and α, the i-th identification information ID i , and the i-th subsidiary secret information s i to the i-th subsystem 38 (a step S9). The i-th subsystem 38 receives the first through the third constants n, t, and α, the i-th identification information ID i , and the i-th subsidiary secret information s i from the key distribution center 37 (a step S10). The i-th subsystem 38 generates a random number as the i-th secret information r i (a step S11). Therefore, the first and the second conversers A and B have the first and the second secret information r A and r B , respectively. At a step S12, the i-th subsystem 38 calculates the i-th public information X i on the i-th subsidiary secret information s i and the third constant α by using the first constant n and the i-th secret information r i as follows: X i = s i x α r i (mod n). That is, the first and the second public information X A and X B are represented by using the first and the second subsidiary secret information s A and s B , the first and the third constants n and α, and the first and the second secret information r A and r B as follows: X A = s A x α r A (mod n); and X B = s B x α r B (mod n). At a step S13, the i-th public information X i is stored into the public file 13 (Fig. 1) on a designated address which coincides with the i-th identification information ID i and into an i-th public information register, like the public information register 26 (Fig. 1). Subsequently, the i-th subsystem 38 stores the i-th secret information r i into an i-th secret information register, like 25 and 34 in Fig. 1, stores the first through the third constants n, t, and α into an i-th constant register, like 24 and 33 in Fig. 1, and stores the i-th identification information ID i into an i-th identification information register, like 27 in Fig. 1 (a step S14). The i-th identification information ID i represents herein a number obtained by considering as a numeric value a code obtained by encoding the address, the name and so on of the i-th converser. Turning to Fig. 1, description will be made as regards operation of the key distribution system. It will be assumed that the first (key transmitting) subsystem 11 of the first (transmission) converser A accesses the public file 13. In the first subsystem 11, the reception identification information ID B is supplied to the reading unit 22 through the input unit 21. The reading unit 22 accesses the public file 13 by the reception identification information ID B to read the reception public information X B . The reception public information X B and the reception identification information ID B are supplied from the reading unit 22 to the first cipher key generator 28. The first cipher key generator 28 is also supplied with the random number r generated by the random number generator 23 and with the first and the second constants n and t which are held in the first constant register 24. The first cipher key generator 28 generates the first cipher key K A by applying the first predetermined transformation on the reception public information X B and the reception identification information ID B on the basis of the first and the second constants n and t, and the random number r. The first predetermined transformation is represented by: K A = (X B t x ID B ) r (mod n). Incidentally, the following relationship is satisfied. That is: X B t = s B t x α r B xt = (ID B ) -1 x α r B xt . To substitute the equation (8) into the equation (7), the first cipher key K A is represented by using the third constant α, the second secret information r B , the random number r, and the second constant t as follows: K A = α r B xrxt . The random number r is also supplied to the distribution code generator 29. The distribution code generator 29 is supplied with the first secret information r A from the first secret information register 25, with the first and the third constants n and α from the first constant register 24, and with the transmission public information X A from the public information register 26. The distribution code generator 29 generates, as an intermediate cipher key, the key distribution code Y A by applying the second predetermined transformation on the transmission public information X A and the third constant α on the basis of the first constant n, the first secret information r A , and the random number r. The second predetermined transformation is represented by: Y A = X A x α r-r A (mod n). The key distribution code Y A is supplied to the transmitting unit 30. The transmitting unit 30 is also supplied with the transmission identification information ID A held in the identification information register 27. The transmitting unit 30 transmits, as the distribution information, the key distribution code Y A and the transmission identification information ID A to the key receiving subsystem 12 via the first insecure communication channel 16. In the key receiving subsystem 12, the receiving unit 32 receives, as the distribution information, the key distribution code Y A and the transmission identification information ID A from the key transmitting subsystem 11 via the first insecure communication channel 16. The key distribution code Y A and the transmission identification information ID A are supplied to the second cipher key generator 35 from the receiving unit 32. The second cipher key generator 35 is also supplied with the first and the second constants n and t held in the second constant register 33 and with the second secret information r B held in the second secret information register 34. The second cipher key generator 35 generates the second cipher key K B by applying the third predetermined transformation on the key distribution code Y A and the transmission identification information ID A on the basis of the first and the second constants n and t and the second secret information r B . The third predetermined transformation is represented by: K B = (Y A t x ID A ) r B (mod n). Incidentally, the following relationship is satisfied. That is: Y A t = s A t x α rxt = (ID A ) -1 x α rxt . To substitute the equation (12) into the equation (11), the second cipher key K B is represented by using the third constant α, the second secret information r B , the random number r, and the second constant t as follows: K B = α r B xrxt . As apparent from the two equations (9) and (13), the second cipher key K B coincides with the first cipher key K A . As a result, it is unnecessary for the second (key receiving) subsystem 12 to send distribution information to the first (key transmitting) subsystem 11. This is because the second or reception public information X B for the second or reception converser B is stored in the public file 13 and the first subsystem 11 can access the public file 13 by the second or reception identification information ID B to read the reception public information X B . Accordingly, the first subsystem 11 for the first converser A can distribute the cipher key to the second subsystem 12 for the second converser B in spite of presence or absence of the second converser B. In addition, the first subsystem 11 can transmit, to the second subsystem 12, the enciphered messages as well as the key distribution code Y A and the transmission identification information ID A . Furthermore, an i-th converser assigned with the i-th identification information ID i , in general, has the i-th secret information r i which is held in the secret information register, like 25 and 34 in Fig. 1 and which is used as secret information for transmission and secret information for reception in common. As a result, it is possible to easily manage the secret information. In order to impersonate the i-th converser by tampering with the i-th public information X i , an eavesdropper must find the i-th public information X i and the i-th secret information r i which satisfy the following relationship: X i t x ID i = α txr i (mod n). However, it is difficult for the eavesdropper to find the i-th public information X i and the i-th secret information r i by a converser's conspiracy attack. This reason will be described more in detail in a reference, for example, an article contributed by Eiji Okamoto to "Advances in Cryptology-CRIPTO '87", pages 194-202, under the title of "Key Distribution Systems Based on Identification Information". This reference describes that the subsidiary secret information s i and the i-th secret information r i are not revealed although the i-th public information X i is opened in the public. Referring now to Fig. 3, description will be made as regards a subsystem, like the first and the second subsystems 11 and 12 in Fig. 1. The subsystem comprises a terminal unit (TMU) 41, a read only memory unit (ROM) 42, a random access memory unit (RAM) 43, a random number generator (RNG) 44, a common bus 45, and a signal processor (SP) 46. The terminal unit 41 may be a personal computer equipped with communication processing functions. The common bus 45 interconnects the terminal unit 41, the read only memory unit 42, the random access memory unit 43, the random number generator 44, and the signal processor 46. The random number generator 44 may be a key source disclosed in United States Patent No. 4,200,770 issued to Hellman et al. The signal processor 46 may be a processor available from CYLINK Corporation under the trade name CY 1024 KEY MANAGEMENT PROCESSOR. The random number generator 44 generates the random number r in response to a command given from the signal processor 46. Therefore, the random number generator 44 acts in cooperation with the signal processor 46 as the random number generator 23 in Fig. 1. The read only memory unit 42 stores the first through the third constants n, t, and α, the i-th subsidiary secret information s i , the i-th secret information r i , and the i-th identification information ID i . The read only memory unit 42 is therefore operable as the constant register, like 24 or 33 in Fig. 1, the secret information register, like 25 or 34 in Fig. 1, and the identification information register, like 27 in Fig. 1. Instead of storing the i-th secret information r i into the read only memory unit 42, the i-th secret information r i may be stored in the random access memory unit 43 from the terminal unit 41 everytime conversers or users communicate. The random access memory unit 43 stores the i-th public information X i . Therefore, the random access memory unit 43 acts as the public information register 26 in Fig. 1. The read only memory unit 42 also stores a program which is divisible into a first subprogram for transmission and a second subprogram for reception. The random access memory unit 43 is used to temporarily store intermediate calculation results. According to the first subprogram stored in the read only memory unit 42, the signal processor 46 serves in cooperation with the random access memory unit 43 as the first cipher key generator 28 and the distribution code generator 29 in Fig. 1. According to the second subprogram stored in the read only memory unit 42, the signal processor 46 acts in cooperation with the random access memory unit 43 as the second cipher key generator 35 in Fig. 1. The terminal unit 41 is operable as either the transmitting unit 30 in Fig. 1 or the receiving unit 32 in Fig. 1. Each of the first and the second subsystems 11 and 12 may be a data processing unit such as a general purpose computer and an integrated circuit (IC) card.

Claims: A method of distributing a cipher key between a first subsystem (11) for a first converser and a second subsystem (12) for a second converser via a communication channel (16) by using a public file (13) which stores public information corresponding to identification information assigned with to conversers, said first and said second conversers being assigned with first and second identification information (ID A , ID B ), respectively, said first and said second identification information corresponding to first and second public information (X A , X B ), respectively said first and said second subsystems having first and second secret information (r A , r B ), respectively, said method comprising the following steps: (a) accessing (22), in said first subsystem (11), said public file (13) by said second identification information (IDB) to read said second public information (X B ); (b) generating (23), in said first subsystem (11), a random number (r); (c) generating (28), in said first subsystem (11), a first cipher key (K A ) by applying a first predetermined transformation on said second public information (X B ) and said second identification information (ID B ) on the basis of first and second constants (n, t) and said random number (r); (d) generating (29), in said first subsystem (11), a key distribution code (Y A ) by applying a second predetermined transformation; (e) transmitting (30), as distribution information, said key distribution code (Y A ) and said first identification information (ID A ) from said first subsystem (11) to said second subsystem (12) via said communication channel (16); (f) receiving (32), in said second subsystem (12), said distribution information (ID A , Y A ) from said first subsystem (11); and (g) generating (35), in said second subsystem (12), a second cipher key (K B ) by applying a third predetermined transformation on said key distribution code (Y A ) and said first identification information (ID A ) on the basis of said first and said second constants (n, t) and said second secret information (r B ), said second cipher key (K B ) being equal to said first cipher key (K A ), characterized in that said step (d) generates said key distribution code (Y A ) by applying the second predetermined transformation on said first public information (X A ) and a third constant (α) on the basis of said first constant (n), said first secret information (r A ), and said random number (r), whereby each of said first and said second secret information is used as secret information for transmission and secret information for reception in common. A key distribution method as claimed in Claim 1, wherein r is said random number, n, t, and α are said first, said second, and said third constants, ID A and ID B are said first and said second identification information, X A and X B are said first and said second public information, r A and r B are said first and said second secret information, K A and K B are said first and said second cipher keys, Y A is said key distribution code, said first predetermined transformation is represented by: K A = (X B t x ID B ) r (mod n); said second predetermined transformation is represented by: Y A = X A x α r-r A (mod n); and said third predetermined transformation is represented by: K B = (Y A t x ID A ) r B (mod n). A key distribution method as claimed in Claim 2, wherein said first and said second identification information ID A and ID B are related to first and second subsidiary secret information s A and s B by using said first and said second constants n and t as follows: s A = (ID A ) -(1/t) (mod n); and S B = (ID B ) -(1/t) (mod n); and said first and said second public information X A and X B are represented by using said first and said second subsidiary secret information s A and s B , said first and said third constants n and α, and said first and said second secret information r A and r B as follows: X A = s A x α r A (mod n); and X B = s B x α r B (mod n). A key transmitting subsystem (11) for use in a key distribution system, said key transmitting subsystem (11) being for transmitting distribution information to a key receiving subsystem (12) of said distribution system via a communication channel (16), said key receiving subsystem being for receiving said distribution information to generate a cipher key (K B ), said key transmitting subsystem (11) being in use by a transmission converser whilst said key receiving subsystem is in use by a reception converser, said key distribution system comprising a public file (13) which stores public information corresponding to identification information assigned to conversers, said transmission converser being assigned with transmission identification information (ID A ) corresponding to transmission public information (X A ) whilst said reception conversers is assigned with reception identification information (ID B ) corresponding to reception public information (X B ), said key transmitting subsystem (11) comprising: accessing means (22) supplied with said reception identification information (ID B ) and connected to said public file (13) for accessing said public file (13) by said reception identification information (ID B ) to read said reception public information (X B ); random number generating means (23) for generating a random number (r); constant holding means (24) for holding first through third constants (n, t,α); secret information holding means (25) for holding secret information (r A ) for said transmission converser; identification information holding means (27) for holding said transmission identification information (ID A ); cipher key generating means (28) connected to said accessing means (22), said random number generating means (23), and said constant holding means (24) for generating said cipher key (K A ) by applying a first predetermined transformation on said reception public information (X B ) and said reception identification information (ID B ) on the basis of said first and said second constants (n, t), and said random number (r); code generating means (29) for generating a key distribution code (Y A ); and transmitting means (30) connected to said code generating means (29) and said identification information holding means (27) for transmitting, as said distribution information, said key distribution code (Y A ) and said transmission identification information (ID A ) to said receiving subsystem (12) via said communication channel (16). characterized in that said key transmitting subsystem (11) further comprises public information holding means (26) for holding said transmission public information (X A ), said code generating means (29) being connected to said random number generating means (23), said secret information holding means (25), said constant holding means (24), and said public information holding means (26) to generate said key distribution code (Y A ) by applying a second predetermined transformation on said transmission public information (X A ) and said third constant (α) on the basis of said first constant (n), said secret information (r A ), and said random number (r), whereby the secret information (r A ) is used as that for transmission and that for reception in common. A key transmitting subsystem as claimed in Claim 4, wherein r is said random number, n, t, and α are said first, said second, and said third constants, ID A and ID B are said transmission and said reception identification information, X A and X B are said transmission and said reception public information, r A is said secret information, K A is said cipher key, Y A is said key distribution code, said first predetermined transformation is represented by: K A = (X B t x ID B ) r (mod n); and said second predetermined transformation is represented by: Y A = X A x α r-r A (mod n). A key receiving subsystem (12) for use in a key distributing system comprising a transmitting subsystem (11) for transmitting distribution information to said key receiving subsystem (12) via a communication channel (16), said key receiving subsystem being for receiving said distribution information to generate a cipher key (K B ), said key transmitting subsystem (11) being in use by a transmission converser whilst said key receiving subsystem is in use by a reception converser, said key distribution system comprising a public file (13) which stores public information corresponding to identification information assigned to conversers, said transmission converser being assigned with transmission identification information (ID A ) corresponding to transmission public information (X A ) whilst said reception converser is assigned with reception identification information (ID B ) corresponding to reception public information (X B ), said key receiving subsystem (12) comprising: receiving means (32) connected to said key transmitting subsystem (11) via said communication channel (16) for receiving, as said distribution information, a key distribution code (Y B ) and said transmission identification information (ID A ) from said key transmitting subsystem (11) via said communication channel (16); constant bolding means (33) for holding first and second constants (n, t); secret information holding means (34) for holding secret information (r B ) for said reception converser; cipher key generating means (35) connected to said receiving means (32), said constant information holding means (33), said secret information holding means (34) for generating said cipher key (K B ) by applying a predetermined transformation on said key distribution code (Y B ) and said transmission identification information (ID A ) on the basis of said first and said second constants (n, t) and said secret information (r B ), characterized in that said distribution code represents a number generated by said transmission public information (X A ), whereby the secret information (r B ) is used as that for transmission and that for reception in common. A key receiving subsystem as claimed in Claim 6, wherein n and t are said first and said second constants, ID A is said transmission identification information, r B is said secret information, Y A is said key distribution code, K B is said cipher key, and said predetermined transformation is represented by: K B = (Y A t x ID A ) r B (mod n).

Inventors: TANAKA KAZUE, TANAKA, KAZUE, TANAKA, KAZUE, C/O NEC CORPORATION
Applicants: NIPPON ELECTRIC CO, NEC CORPORATION
Application year: 1992
Main classification: H04L9
IPC codes: H04L9, G09C1