SYSTEM FOR GENERATING A SHARED CRYPTOGRAPHIC KEY AND A COMMUNICATION SYSTEM USING THE SHARED CRYPTOGRAPHIC KEY

Abstract: The key predistribution system generates a cryptographic key (k) shared by entities (A,B) that establish communications. A centre algorithm (G) which the centre only knows is formed under the conditions determined among a number of entities that establish communications under the control of the centre and discriminators (YA,YB) of the entities (A,B) are adapted to the centre algorithm to form secret algorithms (XA,XB) specific to each of the entities. Then the secret algorithms are loaded onto cipher forming means (2,3) such as IC cards. The cipher formes (2,3) are mounted on the individual entities (A,B) and the discriminators (YB,YA) of the other entities are applied to each other to calculate the cryptographic key (k), thereby forming the shared cryptographic key.

Description: TECHNICAL FIELD The present invention relates to a communication system using text coded using cryptokeys, more particularly it relates to a cryptokey generation system which is able to maintain a high level of privacy and security, easy to operate, and enables common use by a plurality of entities, and to a communication system enabling communication by cryptotext using such common (shared) cryptokeys. Diverse entities are covered by the present invention, such as human beings, apparatuses, machines, software, and the systems of which these form composite elements. Therefore, the cryptokey generation apparatus of the present invention generates cryptokeys able to be commonly used by these entities. Further, the communications system of the present invention may be applied to various forms of communication using the above-mentioned shared keys, for example, communication between a CPU chip and ROM chip, communications among IC cards, communications among IC cards, terminals, bank centers, and humans, communications among communication equipment of moving bodies, communications among personal radios, communications among telephones, communications among people, communications among host computers, terminals, and data bases, communications among computers in parallel computers, communications between CATV broadcasting stations and subscribers, satellite broadcasts, and other communications systems. BACKGROUND ART Various enciphering techniques have been proposed in the past with regard to data security, that is, maintenance of secrecy of data and establishment of privacy, authentication of entities, authentication of communication parties, and the like. Enciphering techniques may be roughly classified into common key enciphering systems and public key systems (Imai et al, "Cryptography", Journal of the Television Society, Vol. 39, No. 12 (1985), pp. 1140 to 1147). In the common key enciphering system, a secret common key is determined in advance between the message sender and receiver, the sender transmits after enciphering plain text using the common key, and the receiver deciphers the same by the common key to return it to plain text. The public key system is generally known as the public key distribution system, the public key enciphering system, and the public key digital signature system. Details on these enciphering techniques are available in (1) A.G. Konheim, "Cryptography: A Primer", Wiley, New York, 1981, (2) C.H. Meyer et al, "Cryptograph", Wiley, New York, 1982, (3) D.E. Denning, "Cryptography and Data Security", Addison-Wesley, Reading, 1982, (4) D.W. Davies et al, "Security for Computer Networks", Wiley, Chichester, 1984, etc. The afore-mentioned common key enciphering system is the most popular, but since the entities share the cryptokey with all envisioned communication parties by other enciphering means or physical means, when there are a large number of entities, problems arise in distribution of the key. That is, it is desirable to frequently change the common key, so tremendous problems arise when there are a large number of envisioned communication parties, making this unsuitable for cipher communications with large numbers of unspecified parties. The afore-mentioned public key system is employed to solve the above-mentioned problem in key distribution. Explaining its gist, the entities prepare public data based on their own secret data and record the same in public files which freely allow reading, but are carefully controlled with regard to writing and erasure. At the time of transmission, they compute the cryptokey to be shared from their own secret data and the other party's public data. According to this system, in transmission, any entity can share the cryptokey by referring to the public files, making this suitable for application to cipher communications with large numbers of unspecified parties. Despite this advantage, a problem arises in that the system requires public files or a corresponding organization for management of public data. Further, considerable work is entailed when an entity referes to the public data of another party, and therefore the operability is poor. The security achieved by cipher texts depends strongly on the factor that the entities party to the communications have the same cryptokey and entities other than those parties do not have the cryptokey, and thus a truly secure, efficient cryptokey sharing system is yet to be achieved. DISCLOSURE OF THE INVENTION The present invention has as its object the provision of a shared cyptokey generation system enabling an acquisition of a highly secret cipher text by a simple operation. Further, the present invention has as its object the provision of a communication system enabling a transmission of cipher texts using a cryptokey generated by the above. A common cryptokey generation system for generating a common cryptokey according to the invention to be used in securely communicating text from a first entity to a second entity, the first and second entities being remote from one another is characterised by and having respective unique first and second entity identifiers, the system comprising: a secret algorithm generation means for transforming the entity identifiers into a center algorithm, and for using the center algorithm to generate first and second secret algorithms, uniquely corresponding to the respective first and second entities; and first and second cryptokey generation means associated with the respective first and second entities and remote from each other for generating the common cryptokey, each of the first and second cryptokey generation means having storage means for storing the respective first and second algorithms and processing means operatively coupled to the storage means for processing the respective first and second secret algorithms in combination with the respective second and first entity identifiers to generate the common cryptokey. According to a second aspect of the invention a common cryptokey generation system is provided for generating a common cryptokey to be used in securely communicating text from a transmitting entity to a plurality of receiving entities, each of the transmitting and receiving entities being remote from one another characterised by each entity having a unique entity identifier, the system comprising: a secret algorithim generation means for transforming the entity identifiers into a center algorithm, and for using the center algorithm to generate a plurality of entity algorithms, each of the entity algorithms uniquely corresponding to one of the entities: and a plurality of cryptokey generation means, each of the cryptokey generation means being uniquely associated with one of the transmitting and receiving entities and remote from others of the cryptokey generation means, for generating the common cryptokey, each of the cryptokey generation means having storage means for storing the corresponding entity algorithm and processing means operatively coupled to the storage means for processing the corresponding entity algorithm in combination with the entity identifiers of others of the entities to generate the common cryptokey. A method for generating a common cryptokey to be used in securely communicating text from a first entity to at least one second entity, the first and second entities being remote from one anotheraccording to the invention is characterised by having respective unique first and second entity identifiers the method comprising: transforming the entity identifiers into a center algorithm, and using the center algorithm to generate first and second algorithms uniquely corresponding to the respective first and second entities; prestoring the first and second algorithms at the respective first and second entities; at the first entity, in response to an externally-applied command, processing the first algorithm in combination with the or each second entity identifier to generate the common cryptokey, enciphering the text using the common cryptokey, and transmitting a message including the enciphered text and the first and second entity identifiers to the or each second entity; and at the or each second entity, processing the second algorithm or algorithms in combination with the first entity identifier to generate the common cryptokey, and deciphering the enciphered text with the common cryptokey at the or each second entity. In a first embodiment of the present invention, there is provided a shared cryptokey generation system provided with a secret algorithm generation apparatus, which, under requirements determined among a plurality of entities sharing a cryptokey, generates a center algorithm held secret by a center alone and applies identfiers, determined individually for each of the above mentioned plurality of entities, made public, and used semifixedly, to the above-mentioned center algorithm to produce secret algorithms distinct for each of the above-mentioned plurality of entities and a plurality of cryptokey generation means which have memories which store at least the above-mentioned secret algorithms and which are connected to the secret algorithm generation apparatus during the generation of secret algorithms in the above-mentioned secret algorithm generation apparatus, store the secret algorithms of the corresponding entities in the above-mentioned memory, and apply the identifiers of the party entities to receive or send cipher text to the said secret algorithms to thereby generate a common cryptokey. Optimally, the above-mentioned secret algorithm generation apparatus can be provided with a plurality of first center algorithm generation apparatuses which operate mutually independently to respectively generate independent first center algorithms and an apparatus for combining the plurality of first center algorithms generated by the said first secret algorithm generation apparatuses and generating the distinct secret algorithm for each entity based on the combined center algorithm. In a second embodiment of the present invention, there is provided a communication system using a share cryptokey which is provided with the above-mentioned secret algorithm generation apparatus, the above-mentioned plurality of cryptokey generation means, and at least one pair of sending and receiving entities connected via a transmission system, the sender entity cooperating with the above-mentioned cryptokey generation means and having a means for enciphering plain text using the common cryptokey from said cryptokey generation means, the receiver entity cooperating with the above-mentioned cryptokey generation means and having a means for deciphering into plain text the cipher text sent via the above-mentioned transmission system from the above-mentioned sender entity based on the common cryptokey from said cryptokey generation means, and which transmits cipher text based on the above-mentioned common cryptokey. BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a block diagram of a shared cryptokey generation system and a communication system using the shared cryptokey of a first embodiment of the present invention; Fig. 2 is a view showing the generation of a center algorithm G in a secret algorithm generation apparatus 1 provided in the center of Fig. 1; Fig. 3 shows the generation and distribution of secret algorithms for the entities using identifiers in the center of Fig. 1; Fig. 5 is a view showing an example of the use of an IC card as the code generation means in Fig. 1 covering the entry of an entity A in the network, the issuance of an IC card for the entity A, and the computation of the cryptokey k for the entity A; Fig. 6 and Fig. 7 are views showing one example of the generation of a center algorithm and a secret algorithm in the case of two entities; Fig. 8 and Fig. 9 are views showing one example of the generation of a center algorithm and a secret algorithm in the case of three entities; Fig. 10 is a general view showing another method for generation of the secret algorithm of the present invention for improving the security; Fig. 11 is a block diagram of a shared cryptokey generation system and a communication system using the shared cryptokey of another embodiment of the present invention; and Figs. 12(a) to (c) are general views of a conventional common key enciphering system, a conventional public key system, and a key predistribution system based on the present invention, respectively. BEST MODE FOR CARRYING OUT THE INVENTION Figure 1 illustrates a shared cryptokey generation system and a communication system using the synthesized shared cryptokey of a first embodiment of the present invention. Figure 1 illustrates the case where there are two entities, A and B. Entity A and entity B are connected via a communication circuit 6, e.g., a public line. The sender entity, for example, entity A, is provided with a cipher text generation means 4 comprised of a means 41 for inputting the plain text to be transmitted, a means 42 for enciphering the plain text which is input based on a later-mentioned shared cryptokey k, and a means 43 for transmitting the cipher text. The receiver entity B is provided with a cipher text deciphering means 5 comprised of a means 51 for receiving the cipher text via the public line 6 and judging that it is communication text addressed to itself, a means 52 for deciphering the received cipher text to plain text using the shared key k, and a means 53 for outputting the deciphered plain text. The constructions of the cipher text generation means 4 and cipher text deciphering means 5 are known in the prior art. The enciphering means 42 and the deciphering means 52 may be realized by, for example, those disclosed in Fig. 8 of Japanese Examined Patent Publication (Kokoku) No. 59-45268 (claiming priority of February 24, 1975, based on U.S. Patent Application Serial No. 552684). The center is provided, as a management organization, with an apparatus 1 for a generation of secret algorithms. This issues secret algorithms via means 2 and 3, which issue a shared cryptokey k for the entities A and B, respectively, through, e.g., IC cards. That is, the secret algorithm generation apparatus 1 receives as input the identifiers of entities A and B, for example, y A and y B , which encipher in a predetermined format their names or addresses, generates the center algorithm G as shown in Fig. 2, then holds the algorithm G secret and issues secret algorithms X A and X B . The identifiers y A and y B are, for example, input via ten-keys. The secret algorithms X A and X B of the entities A and B are defined as follows using their own respective identifiers y A and y B : X A = G (y A ) (1-1) X B = G (y B ) (1-2) The secret algorithm generation apparatus 1 has fitted to it cryptokey generation means 2 or 3 with built-in CPUs and memories able to perform reading/writing during the generation of the above-mentioned secret algorithms, e.g., IC cards. The secret algorithms are stored in the memories of the corresponding cryptokey generation means and issued from there. Figure 3 illustrates the state of issuance of secret algorithms X A to X D corresponding to the entities A to D. As is clear, for the entities C and D, the following secret algorithms X C and X D are issued using their respective own identifiers y C and y D : X C = G (y C ) (1-3) X D = G (y D ) (1-4) Each entity, of course, stores its above secret algorithm secretly. The algorithm in the present invention means a method of computation noted in a predetermined language. Computer programs in the common sense and data, logic circuits, graphs, tooling machines, Petri nets known as models of dynamic analysis of distribution systems, LSI patterns, etc. are all types of algorithms in the present invention. The cryptokey generation means 2 and 3 in which the secret algorithms X A and X B issued as mentioned above are loaded are equipped at their respective corresponding own entities. When the entities A and B desire to share a cryptokey k, as shown in Fig. 1 and Fig. 4(a) and (b), the identifier of the other party to share the key, i.e., y B for the entity A and y A for the entity B, are input at the cryptokey generation means 2 and 3 equipped to the entities via the keyboards, etc. at the entities. The cryptokey generation means generate the shared cryptokey as follows by the built-in CPUs based on the secret algorithms stored in the memories and the input identifiers: k = X A (y B ) (2-1) k = X B (y A ) (2-2) The cipher text generation means 4 and the cipher text deciphering means 5 use the shared cryptokey k for enciphering or deciphering. The algorithms G, X A , X B , ... must be determined so as to enable computation of the same cryptokey k by the above procedure. By the constitution mentioned above, the secret algorithms converted by the center algorithm known only to the center are distributed to the entities, thus maintaining secrecy. On the other hand, the entities are equipped with cryptokey generation means in which the secret algorithms are loaded, for example, IC cards, and need merely input the identifier of the other party, so the operation is extremely easy. In this case, the cryptokey k issued based on the identifier of the other party is used for enciphering and deciphering, so secrecy is improved. Further, since there are several sets of identifiers and secret algorithms, for example, (y A , X A ), (y B , X B ), and (y C , X C ), finding a secret algorithm for another identifier, for example, X D for Y D , requires a massive amount of computation and is practically unworkable, which is in general desirable. The condition means that the algorithm G of the center cannot in practice be computed from just (y A , X A ), (y B , X B ), (y C , X C ), ... As another embodiment of the present invention, if the above-mentioned secret algorithms are accommodated in a computer physically protected by one or a plurality of IC cards 2a, etc. as shown in Fig. 5, it is possible to construct a cryptokey sharing system having an even higher security. In this case, the entities cannot take out their own secret algorithms. Even the action itself of several entities colluding and assembling their secret algorithms to derive the center algorithm G or an algorithm equivalent to G can be prevented. However, in the present invention, G is comprised so that security is maintained even if a plurality of secret algorithms are used, so even if the physical security of the IC cards, etc. is broken, the system as a whole is secure. Further, the procedure for generating the shared cryptokeys may be performed internally in the IC cards, etc. in addition to being performed by simply inputting the identifiers, so the burden of work of the entities for sharing the cryptokeys is cut down tremendously. In Fig. 5, an entity A applies to the center for entry into the network, an IC card 2a in which a secret algorithm is embedded is issued via a secret algorithm generation apparatus, the IC card 2a is provided to the entity A, then the identifier y B of the entity B is input and a shared cryptokey k is generated. However, Fig. 5 shows the example of a secret algorithm embedded in a single IC card, but the secret algorithm can be arbitrarily divided and separated in IC cards or magnetic cards, magnetic tape, bar codes, optical memories, IC memories, or floppy disks, and any other data storage medium and/or computer systems, IC cards, one-chip microcomputers, computing processors, and modems comprising the same, and any other apparatuses having computing abilities. Next, an example will be shown of the method of preparation of the center algorithm G and secret algorithms. First, consider the case of two entities A and B sharing a cryptokey. Figure 6 shows the method of construction of the center algorithm G. For G, one first prepares the one-input one-output algorithms G₁ and G₂ and the two-input one-output algorithms H and .  is made one which expresses a correspondence function. One prepares the algorithms α₁ , α₂ , and β which handle the algorithms G₁ , G₂ , H, and , then synthesizes G₂ and H from α₁ to prepare the algorithm F₁ and synthesizes G₁ and H from α₂ to prepare the algorithm F₂. Next, G₁ and G₂ are applied to the identifier y A of the entity A, as a result of which Z A1 and Z A2 and the above-mentioned algorithms F₁ , F₂ , and  are combined by the algorithm β, and the secret algorithm X A of the entity A as shown in Fig. 7 is output. The combination performed by the algorithms α₁ and α₂ in Fig. 6 is known as the algorithm combination method. F₁ and F₂ are expressed by the following equations as combination algorithms: F₁ = H (·, G₂ (*)) (3-1) F₂ = H (G₁(·), *) (3-2) However, the · and * each indicate identifiers (parameters). Here, the algorithms H, G₁ , and G₂ cannot in practice be derived from the combination algorithms F₁ and F₂ and it is difficult to learn the contents of F₁ and F₂. That is, it will be understood, this combination method produces obscure algorithms. The fact that the secret algorithm X A of the entity A of Fig. 7, comprised by the center algorithm G of Fig. 6, and the secret algorithm X B of the entity B, comprised in the same way, function correctly can be confirmed as follows: Other obscure algorithm combination methods are disclosed in (1) Matsumoto et al, "Asymmetric Cryptosystem Using Obscure Expressions of Enciphering Conversion", Papers of 1983 National Conference of Systems Division of Society of Electronic Communications, September 1983, No. S8-5, pp. 1-469 to 1-470 (in Japanese), (2) Matsumoto et al, "On Multivariate Polynomial Tuple Asymmetric Cryptosystems", February 7, 1986, 1986 Code and Data Security Symposium Materials E2, Code and Data Security Research Conference, Special Committee on Data Security of Society of Electronic Communications (in Japanese), (3) Matsumoto et al, "A Cryptographically Useful Theorum on the Connection Between Uni and Multivariate Polynomials", The Transaction of the IECE of Japan, Vol. E68, No. 3, pp. 139 to 146, March 1985, (4) Imai et al, "Algebraic Method for Constructing Asymmetric Cryptosystems", 3rd International Conference on Applied Algebra, Algebraic Algorithms and Symbolic Computation, Error Correcting Codes (July 15 to 19, 1985, Grenoble, France), Springer Verlag, etc. These may also be applied. Next, a specific example of use of the center algorithm G and the matrix of secret algorithms X A , X B , etc. for the two entities A and B is shown. The set comprised of all of the n rows and m column matrixes on the commutative ring R is expressed as µ R (n, m). For R, use may be made, for example of the residue-class ring Z Q = {0, 1, 2, ... q-1}, etc. using the non-negative integer q as the modulo. First, G₁ , G₂ , and H ∈ µ R (n, n) are selected and F₁ and F₂ ∈ µ R of the combination algorithms F₁ = HG₂ T (5-1) F₂ = G₁H (5-2) are calculated. T in equation (5-1) shows a transposition. Next, Z A1 , Z A2 , Z B1 , and Z B2 ∈ µ R (l, n) are calculated as follows for y A , y B ∈ µ R (l, n). Z A1 = Y A G₁ (6-1) Z A2 = y A G₂ (6-2) Z B1 = Y B G₁ (6-3) Z B2 = y B G₂ (6-4) Therefore, That is, Z A1 F₁y B T = y A F₂Z B2 T (8-1) stands. Similarly, the following equation stands: Z B1 F₁y A T = y B F₂Z A2 T (8-2) Therefore, if the multiplication in the commutative ring R is expressed by *, the commutative of * and equations (8-1) and (8-2) give the following: Here, if the algorithms G, X A , and X B are determined as follows: G (y A ) = X A (10-1) G (y B ) = X B (10-2) X A (y B ) = (Z A1 F₁y B T ) * (y B F₂Z A2 T ) (11-1) X B (y A ) = (Z B1 F₁y A T ) * (y A F₂Z B2 T ) (11-2) then from equation (9), X A (y B ) = X B (y A ) (12) stands. Even in the case of three or more entities, it is possible to form the center algorithm G and the secret algorithms X A , X B , X C , ... in the same way as with two entities. An example of this, i.e., the case of three entities, is shown in Fig. 8 and Fig. 9. Finally, while slightly different from the above, a specific example constituted by the same way of thinking as the above is shown for the case of two entities. The symmetric matrix G ∈ µ R (n, n) is selected. That is, G = G T is considered to stand. The center algorithm G and the secret algorithms X A and X B are determined as: G (y A ) = X A (13-1) G (y B ) = X B (13-2) X A (y B ) = X A ( (y B )) T (14-1) X B (y A ) = x B ( (y A )) T (14-2) However, x A =  (y A ) G (15-1) x B =  (y B ) G (15-2) and  is an algorithm which expresses the function from µ R (l, n) to µ R (l, n).  (y A ),  (y B ),  (y C ), ... is made linearly independent on the commutative ring R. At this time, That is, X A (y B ) = X B (y A ) (17) stands. Therefore, the value of the above equation may be made the cryptokey k to be shared. As mentioned in detail above, according to a first aspect of the present invention, a cryptokey common with another party which has never been met (never been communicated with) may be computed simply and securely by just inputting the identifier of the other party, thus enabling easy communications by cipher text among any parties. The above explanation concerned a shared cryptokey generation apparatus and a communication system using a shared cryptokey known as the "key predistribution system (KPS)" invented by the present inventors. Summarizing the above generation of the cryptokey by stages, the generation may be roughly classified into the following three stages (steps): a. Step 1: Preparation of center algorithm b. Step 2: Preparation and distribution of secret algorithms for use by entities c. Step 3: Sharing of key by group of entities Step 1 is an operation required for starting up a system or in renewal. Assume the center is a center p. This refers to the generation of a special algorithm, that is, a center algorithm G P which just the center p holds secret. However, the agreement of all the entities or representatives of the entities is obtained regarding the method for generation of G P . Step 2 is an operation performed by the centers and entities when entities enters the network. Assume the entity is an entity i. The center p applies the center algorithm G P to the identifiers yi of the entity distinct to the same, made public, and used semifixedly so as to prepare the secret algorithms X pi = G P (yi) exclusive for the entity. The secret algorithms X₁i, X₂i, ..., X S i for the entity i are separately, or combined by a suitable method, distributed to the entity i, for example, by IC cards, etc. The entity i keeps secret the sets of secret algorithms received or the combinations of the same X i . Step 3 is an operation performed by the group sharing the cryptokey after the completion of steps 1 and 2. The entities belonging to the group input the identifiers of all the entities belonging to the group other than their own to their own secret algorithms and thereby share the same cryptokey k. For example, when the entity A and entity B wish to share the cryptokey k AB , they respectively compute k AB as follows: k AB = X A (2) (y B ) (18-1) k AB = X B (2) (y A ) (18-2) Further, when entity A, entity B, and entity C wish to share a cryptokey k ABC , they respectively compute k ABC as follows: k ABC = X A (3) (y B , y C ) (19-1) k ABC = X B (3) (y C , y A ) (19-2) k ABC = X C (3) (y A , y B ) (19-3) Here, Xi (e) indicates a secret algorithm of an entity i used when a group consisting of e number of entities shares a key. Next, mention will be made of the general security of the KPS. In the KPS, when distributing the secret algorithms, it is necessary to properly authenticate (identify) the entity to which the secret algorithm is to be transferred. Proper authentication of the entity (confirmation of the right person) is a main precondition of all the code means, however, so the problem of entity authentication is not unique to the KPS. The key shared by a group under the KPS (master key) is distinct to each group and does not change insofar as the center algorithm is not renewed. Therefore, the KPS may be said to be a system for sharing a master key. Even when the master key is divulged outside the group, it is impossible to change to a new master key. Therefore, it is desirable to renew the center algorithm after a suitable period. However, if a group of two entities is sharing a key and use is made of a secret algorithm Xi (3) for sharing of a key for a group of three entities, by switching suitable random numbers, for example, pseudo random numbers and random numbers by the "linear congruence" method, etc., it is possible for the two entities to share a different key each time. For example, the entity A and entity B can share the common key k such as k = X A (3) (y B , r) (20-1) k = X B (3) (r, y A ) (20-2) using the random number r different from the identifiers of each entity. Now then, in the KPS, data regarding the center algorithm is dispersed to the entities in the form of the secret algorithms Xi, so an individual entity or a number of cooperating entities can, by expending a suitable amount of computation, find the center algorithm or the secret algorithm X t or a part thereof for an entity other than the cooperating entities. By having the secret algorithms embedded in some sort of apparatus which is physically protected and has a computing ability, for example, an IC card having a built-in CPU and memory, and having the entities are able to execute the same without knowing their own secret algorithms, the center algorithm and the secret algorithms X t of other entities or parts thereof will not be exposed. Therefore, in an environment where the physical security can be kept complete, any KPS is secure. However, current IC cards and other forms of physical security cannot be said to be complete. In actuality, it is difficult to expect complete physical security, so measures such as making it necessary for a number of entities to collude (cooperate) to obtain sufficient data for determining the center algorithm or X t or parts thereof or making it such that even when sufficient data is obtained, it would take a tremendous amount of computation to obtain the center algorithm or X t or parts thereof will be demanded for a KPS. The former may be said to correspond to so-called unconditional security and the latter to so-called computational security. Verification of unconditional security is in general not difficult, but verification of computational security cannot be easily performed at the present time without assumption of difficulties in resolving suitable problems such as with unique factorization in prime elements. An explanation will now be given of the case of constructing an unconditionally secure KPS, in the sense of security so long as a certain number of entities do not collude, using the linear independence of vectors. In Fig. 10, first center algorithm generation apparatuses 1a to 1d in a plurality of mutually independent centers receive as input the identifier of entity A and generate first center algorithms g p1 (x) to g p4 (x) having a relationship of linear independence of vectors. Next, the apparatus 1e in the overall center combines the first center algorithms and generates the overall center algorithm G P (x). The secret algorithm X A of the entity A is generated based on the center algorithm G P (x) in the apparatus 1e. This system, of course, improves the security compared with the afore-mentioned embodiment using the secret algorithm, which was a case of one center. Below, a detailed explanation will be made of the means for expanding the KPS and improving the security based on linear algebra in the case of one center. Figure 11 shows an example of application of a KPS illustrating schematically the constitution corresponding to Fig. 1. In the figure, the sending side entity A receives as input the identifier y B of the other party and applies the secret algorithm X A to generate the shared key k, then applies the same to the enciphering means 42a to generate a cipher text C from the message m. The combination means 44a combines the cipher text C, other party's identifier y B , and its own identifier y A and sends to the other party information comprised of the "addressee (y B ), sender (y A ), and cipher text (C)" via a transmission means (not shown) and a circuit (channel) 6. The receiving side entity B receives the transmitted data as input via a receiving means (not shown) and judges in the selection means 54a if the communication text is addressed to itself using its own identifier y B . If the communication text is addressed to itself, it sends the other party's identifier y A and cipher text C to a separation means 55a. The separation means 55a separates the other party's identifier y A and cipher text C. The other party's identifier y A is applied to an IC card or other cryptokey generation means 3a and the shared cryptokey k is generated via the secret algorithm X B . The deciphering means 52a restores the message m from the transmitting side by applying the shared cryptokey k to the cipher text C. In this way, by using the KPS, it is possible to simply realize mail communications such as in normal mail, i.e., one-directional cipher communications. Even when there are two or more addresses, it is possible to perform so-called "multiple address authentication" and mail communications. Note that, of course, this may also be applied to dialog type communications such as with telephones. A description will now be given on a KPS based on linear algebra. The case of one center has already been discussed in the embodiment related to Fig. 1 to Fig. 8. The system defined below will be named the "linear scheme". Assume g is a prime number power and m, s, and h are non-negative integers. When the vector Q is Q = GF (q) (21) the vector space formed by all the m-th dimensional row vectors on Q is expressed by Q m . Assume the entity is entity i and the identifier yi thereof is the element of the set I. Assume that if i does not equal j, then yi does not equal yj. Further, R r is an algorithm which expresses the injection from I to Q m (one to one mapping). The center, e.g., the center p, where p = 1, 2, ... or s, selects independently from the other entities randomly and uniformly h number of m-th symmetric matrixes G p1 , G p2 , ... G ph on Q and generates the center algorithm G p . G p is defined as an algorithm for generating the secret algorithm X pi for each yi ∈ I X pi (ξ) = xpiR r (ξ) T (22) However, X pi is an h x m matrix on Q defined by the following: T means transportation. ξ indicates a variable set for inputting an identifier yj of the other party. The entity i acquires the algorithms X pi from the centers and produces from there the secret algorithms Xi exclusive for the entity i in the following way: Xi(ξ) = xiR r (ξ) T (24) The center p must, it is important, transfer the algorithms X pi only to the entity i. Note that if IC cards, etc. are used, it is possible to automatically obtain the secret algorithms Xi. For example, the entity i first obtains the IC cards, initializes them so that anyone can write on them but only the entity i can read them, transfers them to the centers, and has the centers input the X pi , with the sums taken successively in the IC cards. Finally, at the stage of preparation of Xi, the IC cards are returned to the entity i. If any case, in the end, the entity i holds the secret algorithms Xi. When the entity i and entity j desire to share a cryptokey, the entity i calculates xi(yj) as the key and the entity j Xj(yi). Xi(yj) and Xj(yi) are both h-th dimensional column vector: on Q. That the two match can be easily derived from the definitions of Xi and Xj. The above explanation was of the case where a group is comprised of two entities, but in general in the case of a group comprised of a number of entities (e ≧ 2), the same system can be realized by use of multilinear mapping for the e number of entities instead of the afore-mentioned Gpi, i.e., the bilinear mapping. Next, consider the security of the linear scheme. As attacks on the system, it is necessary to consider both attacks by the centers and attacks by the entities. Complete breaking of the system would be equivalent to determining a matrix consisting of the matrixes G₁ , G₂ , ..., G h comprising the said matrix being: G = [G i , G₂ ... G h ] (27) Therefore, so long as all the centers do not collude, i.e., even if several centers collude, the center algorithm G cannot be determined completely. Therefore, none of the cryptokeys of any group can be determined at all. Further, so long as rank G number of entities do not collude, the center algorithm G cannot be completely determined at all. The probability is large of rank G being m or a value close to m. However, it is true that even with collusion of a number of entities less than rank G, the larger the number of colluding entities, the more the amount of data on G, and therefore, the more the amount of data on the secret algorithms of the entities that can be obtained. Therefore, the following conclusion is obtained when considering to what degree colluding entities can determine the cryptokeys of the other entities. Assume the set of all the entities entered in the system is E. At this time, to satisfy the condition that: "Even if all the entities belonging to the partial set E B of E collude, the cryptokey shared between any two entities belonging to E - E B cannot be determined at all," it is necessary and sufficient that "the vector R r (yi) for each i ∈ E - E B be linearly independent from the set of the vectors {R(yi)|j ∈ E B }." Therefore, it is possible to talk about this shifting the problem of security of collusion of the entities to the problem of linear independence in U = {R r (yi)|i ∈ E} In particular, a close connection arises with the "theory of linear coding". In actuality, if the linear code of n code length and m number of inspection symbols, which makes the matrix able to horizonally arrange the transposed vectors of all the vectors belonging to the set U of the vectors the parity inspection matrix, is made C, then "the existence of a coding word of Hamming weight w at C" and "the existence of a case where keys between other entities can be determined by collusion of (w-l) entities" are equivalent. In particular, that "the minimum Hamming weight of C minimum distance be b+2 or more" is a sufficient condition for "any key among entities not being able to be determined at all by collusion of any b entities". Therefore, the algorithm R r may be selected based on an algebraic/algebraic and geometric code theory. In this case, if yi is considered a suitable vector, R r (yi) becomes one which arranges a monomial for the component yi. Therefore, the algorithm X becomes a tuple. As the corresponding linear code, an (e) - GRM coding, BCH coding, RS coding, Goppa coding, etc. are used (Koh et al, "Coding Theory", Corona Co., 1975 (in Japanese)). However, evaluation of R r (computation) cannot be performed efficiently when m is large. However, translating the theorum of Gilbert-Varsharmov in the coding theory into the KPS language, the following is obtained: When the prime number power q and the non-negative integers m and b are given, M n ≦  ( b n ) (28) however, there is a linear scheme which satisfies (X) = Xlog q (q-l) - xlog q X - (l-x) log q (l-x) (29) and has b number or more allowable colluding entities, a storage capacity of the secret algorithms of hmlog 2q (bit), and a total number of entities n. Here, h is any positive integer. Further, it may be derived from the results of the coding theory that the majority of linear schemes have parameters satisfying equation (28). Therefore, the algorithm for generating a reproducible affine random number series at a high speed may be selected as R r . In this regard, there is a difference from the usual method of use of linear coding. In usual applications, due to the need to realize a deciphering algorithm with good efficiency, use is made of codes using some sort of structure, but in the linear scheme for the KPS, there is no need at all to consider the efficiency of the algorithm corresponding to the deciphering, so use may be made of random codes. The results of the above study on the security of the linear scheme are summarized in Table 1. Attack method Target of attack Complete breaking of system Obtaining keys of other group 1. Collusion of several centers Impossible so long as all centers do not collude. 2. Collusion of several entities Possible if rank G number of more of entities collude. Impossible if less than rank G number of entities collude. rank G m. Possible if b+l number or more entities collude. Impossible if b number or less entities collude. b is determined by linear independence of set U. 3. Collusion of several centers and several entities Possible if all centers collude. Same as 2. when there are some centers not colluding. Next, evaluation will be made of the various storage capacities and computation amounts for the linear scheme. The centers store the algorithm R r and h number of symmetric matrixes G pi , G p2 , ... G ph . When entities enter, they calculate R r (yi) and further multiply R(yi) with G pi , G p2 , ... G ph to find Xpi, so the storage capacities and computation amounts shown in Table 2 are required. Table 2 shows the complexity of the linear scheme by the storage capacity and the computation amount. Further, the entities store the algorithm R r and the matrix xi. When sharing keys, they calculates R r (yi) and multiply R r (yj) T to find the cryptokeys, so the storage capacities and computation amounts shown in Table 2 are required. Note that when m and b are given, n, defined by the Gilbert-Varsharmov bound, can approximate n = m2 m/b when b/n is small. Examples of the values when q = 2 and h = 64 are shown in Table 3. From Table 3, it will be seen that when, for example, m = 2¹³ and b = 2⁸, with a linear scheme where the centers store about 4 Gbits and the entities store about 512 Kbits, breaking the system as a whole would require collusion of all of the centers or collusion of about 8192 or more entities. Since it is impossible to determine the key among two entities even with the collusion of up to 256 other entities, 64 bits of keys can be shared among any two entities among the up to about 2⁴⁰ (= 10¹²) entities. As opposed to this, when the primitive system is taken of sharing in advance a key with all entities, the entities must store about 64 Tbits (1[Tbit] = 1024 [Gbit]). To study the features of the KPS based on the present invention, let us compare other conventional systems. In the past, for cipher communications, use has been made of the common key enciphering system shown in Fig. 12(a) and the public key systems shown in Fig. 12(b). Figure 12(b) shows, from left to right, the public key distribution system, public key enciphering system, and public key signature system. On the other hand, the KPS based on the present invention may be schematized as shown in Fig. 12(c). Table 4 shows the results of a comparison of the above systems. In Table 4, systems I a and b correspond to (a) and (b) in Fig. 12a, systems II a, b, and c correspond to (a), (b), and (c) in Fig. 12(b), and system III shows the KPS of the present invention of Fig. 12(c). For the evaluation, the complexity of the entities is shown. For the storage capacity, there is the amount of communications upon entry into the system: communications amount (1), the amount of communications for preparation of cipher communications: communications amount (2), and the amount of computations for the preparation of cipher communications. Further, for the evaluation of the center side, the necessity of the center (yes, no), center load, "big brother" nature of the center (BB), and difficulty of mail communications are given. From Table 4, it will be understood that the KPS of the present invention is superior overall to other conventional systems with regard to cipher communications among large numbers of unspecified entities. System Complexity Center Mail communiccations Storage capacity amount Communications amount (1) Communications amount (2) Computation am't Present Load BB I a Large 0(n) Large 0(n) with σ & α None None No - - Possible b Small 0(l) Small 0(l) with σ & α Small 0(l) with σ & α None Yes Large Large Difficult II a Large 0(n) Large 0(n) with α None None/ small No - - Possible b Small 0(l) Small 0(l) with α Small 0(l) with α None/ small Yes Large Med. Difficult c Small 0(l) Small 0(l) with α Small 0(l) with α None/ small Yes Small Med. Difficult III Medium 0(m) Media 0(S) with σ & α None Small Yes Small Yes Possible (Note) n: Total number of entities of network S: Number of centers m: Security parameters σ: Secrecy required α: Authenticity required Above, a detailed explanation was made of the linear scheme for KPS. There may be other methods for realization of KPS besides the linear scheme. For example, it is conceivable to construct the center algorithm as an obscure algorithm by the algorithm generation method. For details on the obscure algorithm generation method, see the afore-mentioned references. EXPLANATION OF REFERENCE SYMBOLS 1 Secret algorithm generation apparatus 2, 3 Cryptokey generation means 4 Cipher generation means 5 Cipher text deciphering means 6 Circuit 41 Input means 42 Enciphering means 43 Transmission means 44a Combination means 51 Receiving means 52 Deciphering means 53 Output means 54a Selection means 55a Separation means

Claims: A common cryptokey generation system for generating a common cryptokey to be used in securely communicating text from a first entity (A) to a second entity (B), the first and second entities being remote from one another characterised by and having respective unique first and second entity identifiers (Y A , Y B ), the system comprising: a secret algorithm generation means (1) for transforming the entity identifiers into a center algorithm (G), and for using the center algorithm to generate first and second secret algorithms (X A , X B ) uniquely corresponding to the respective first and second entities; and first and second cryptokey generation means (2,3) associated with the respective first and second entities and remote from each other for generating the common cryptokey (K), each of the first and second cryptokey generation means having storage means for storing the respective first and second algorithms and processing means operatively coupled to the storage means for processing the respective first and second secret algorithms in combination with the respective second and first entity identifiers to generate the common cryptokey (K). A common cryptokey generation system according to claim 1, wherein said secret algorithm generation apparatus is provided with a plurality of first center algorithm generation apparatuses (1a to 1d) which operate mutually independently to respectively generate independent first center algorithms (gp1(x),gp2(x),...) and an apparatus (1e) for combining the plurality of first center algorithms generated by the said first secret algorithm generation apparatuses and generating the distinct secret algorithm for each entity based on the combined center algorithm. A common cryptokey generation system according to claim 2, wherein said first center algorithms (G) are generated by the algorithm combination method. A common cryptokey generation system according to claim 2 or 3, wherein said first center algorithms (G) are generated maintaining the linear independence of vectors. A common cyptokey generation system according to claim 1, wherein said center algorithm (G) is generated by the algorithm combination method. A common cryptokey generation system according to claim 1, wherein the cryptokey generation means (2,3) are respectively provided with means for storing the secret algorithms, protecting them physically, and having computating capacities for cryptokey generation. A common cryptokey generation system according to any one of claims 1 to 6, wherein the cryptokey generation means are semiconductor integrated circuit cards (2a) having memories and computing devices. A common cryptokey generation system for generating a common cryptokey to be used in securely communicating text from a transmitting entity (A) to a plurality of receiving entities (B...), each of the transmitting and receiving entities being remote from one another characterised by each entity having a unique entity identifier (Y A , Y B ,...), the system comprising: a secret algorithim generation means (1) for transforming the entity identifiers into a center algorithm (G), and for using the center algorithm to generate a plurality of entity algorithms, each of the entity algorithms (X A ,X B ...) uniquely corresponding to one of the entities: and a plurality of cryptokey generation means (2,3...), each of the cryptokey generation means being uniquely associated with one of the transmitting and receiving entities and remote from others of the cryptokey generation means, for generating the common cryptokey, each of the cryptokey generation means having storage means for storing the corresponding entity algorithm and processing means operatively coupled to the storage means for processing the corresponding entity algorithm in combination with the entity identifiers of others of the entities to generate the common cryptokey (K). A common cryptokey generation system using a share cryptokey according to claim 8, said sender entity being adapted to send, in addition to said cipher text, the receiver identifier and its own identifier and said receiver entities being adapted to extract said receiver identifier from the received data and confirm that the data is addressed to it, and further adapted to extract the sender identifier and apply it to said cryptokey generation means so as to generate a common cryptokey. A common cryptokey generation system as claimed in any one of claims 1 to 5, the first entity (A) having an enciphering device (4) for enciphering the text according to the common cryptokey (K) and transmitting a message including the enciphered text and the first and second entity identifiers, and the second entity (B) having a deciphering device (5) for receiving and deciphering the message according to the common cryptokey, wherein the first cryptokey generation means (2) operatively coupled to the enciphering device for generating the common cryptokey in response to an externally-applied command, the first cryptokey generation means including the first storage means (2A) for storing the first entity algorithm and first processing means operatively coupled to the first storage means and to the enciphering device for processing the first entity algorithm in combination with the second entity identifier to generate the common cryptokey and for communicating the common cryptokey to the enciphering device; and second cryptokey generation means (3) operatively coupled to the deciphering device and remote from the first cryptokey generation means for generating the common cryptokey, the second cryptokey generation means including second storage means for storing the second entity algorithm and second processing means operatively coupled to the second storage means and to the deciphering device for processing the second entity algorithm in combination with the first entity identifier to generate the common cryptokey and for communicating the common cryptokey to the deciphering device. A common cryptokey generation system as claimed in claim 8, the transmitting entity (A) having an enciphering device (42) for enciphering the text according to the common cryptokey (K) and transmitting a message including the enciphered text, the transmitting entity identifier (Y A ), and the entity identifiers (Y B ...) of the receiving entities, and the or each of the receiving entities (B...)having a deciphering device (62) for receiving and deciphering the message according to the common cryptokey, the center algorithm (G) being used to generate a first algorithm uniquely corresponding to the transmitting entity and one or more second algorithms each uniquely corresponding to the respective receiving entity or entities: transmitting entity cryptokey generation means operatively coupled to the enciphering device for generating the common cryptokey in response to an externally-applied command, the transmitting entity cryptokey generation means including first storage means (2A) for storing the first algorithm and first processing means operatively coupled to the first storage means and to the enciphering device for processing the first algorithm in combination with the entity identifiers of the receiving entities to generate the common cryptokey and for communicating the common cryptokey to the enciphering device; and a plurality of receiving entity cryptokey generation means, each of the receiving entity cryptokey generation means being associated with one of the receiving entities and being remote from others of the transmitting and receiving entity cryptokey generation means, for generating the common cryptokey, each of the receiving entity cryptokey generation means having second storage means for storing one of the plurality of second algorithms uniquely corresponding to the respective receiving entity and second processing means operatively coupled to the second storage means and to the deciphering device for processing the one of the second algorithms in combination with the entity identifiers of the transmitting entity identifier and others of the receiving entities to generate the common cryptokey. A method for generating a common cryptokey to be used in securely communicating text from a first entity (A) to at least one second entity (B), the first and second entities being remote from one another and characterised by having respective unique first and second entity identifiers (Y A , Y B ...) the method comprising: transforming the entity identifiers into a center algorithm (G), and using the center algorithm to generate first and second algorithms (G(Y A ),G(Y B ) uniquely corresponding to the respective first and second entities; prestoring the first and second algorithms at the respective first and second entities; at the first entity, in response to an externally-applied command, processing the first algorithm in combination with the or each second entity identifier to generate the common cryptokey, enciphering the text using the common cryptokey, and transmitting a message including the enciphered text and the first and second entity identifiers to the or each second entity; and at the or each second entity, processing the second algorithm or algorithms in combination with the first entity identifier to generate the common cryptokey, and deciphering the enciphered text with the common cryptokey at the or each second entity. A common cryptokey generation system according to claim 1, wherein the algorithm generation means include identifier transformation means for transforming each of the first and second entity identifiers to corresponding elements of a linear space. A common cryptokey generation system according to claim 8, wherein the algorithm generation means include identifier transformation means for transforming each of the transmitting and receiving entity identifiers to corresponding elements of a linear space.

Inventors: IMAI HIDEKI, MATUMOTO TUTOMU, IMAI, HIDEKI, MATUMOTO, TUTOMU
Applicants: ADVANCE KK, KABUSHIKI KAISYA ADVANCE
Application year: 1987
Main classification: H04L9
IPC codes: H04L9