A METHOD AND APPARATUS FOR CRYPTOGRAPHICALLY SECURE ALGEBRAIC KEY ESTABLISHMENT PROTOCOLS

Abstract: The present invention is a method and apparatus for providing cryptographically secure algebraic key establishment protocols that use monoids and groups possessing certain algorithmic properties. Special fast algorithms associated with certain monoids and groups are used to optimize both key agreement and key transport protocols. The cryptographic security of the algorithm is based on the difficulty of solving the conjugacy problem in groups and other known hard algebraic problems. Braid groups and their associated algorithms are the basis for highly rapid key agreement and key transport protocols which employ modest computational resources.

Description: A METHOD AND APPARATUS FOR CRYTOGRAPHICALLY SECURE ALGEBRAIC KEY ESTABLISHMENT PROTOCOLS Inventors: Iris Anshel, Michael M. Anshel, Dorian Goldfeld BACKROUND OF THE INVENTION 1. Field of the Invention The invention relates to algebraic key establishment protocols for cryptographic applications. 2. Description of the Prior Art Key Establishment Protocols The concepts, terminology and framework for understanding cryptographic key establishment protocols is given in Alfred J. Menezes, Paul C. van Oorschot, and Scott A. Vanstone, "Handbook of Applied Cryptography," CRC Press (1997), pages 490-491. A 'protocol' is a multi-party algorithm, defined by a sequence of steps specifying the actions required of two or more parties in order to achieve a specified objective. A 'key establishment' protocol is a protocol whereby a shared secret becomes available to two or more parties, for subsequent cryptographic applications. A 'key transport' protocol is a key establishment protocol where one party creates or obtains a secret value, and securely transfers it to the other participating parties. A 'key agreement' protocol is a key establishment protocol in which a shared secret is derived by two (or more) parties as a function of information contributed by, or associated with, each of the participating parties such that no party can predetermine the resulting value. A 'key-distribution' protocol is a key establishment protocol whereby the established keys are completely determined a priori by initial keying material. A 'dynamic' key establishment protocol is one whereby the key established by a fixed pair (or subset) of the participating parties varies on subsequent executions. Dynamic Ley establishment protocols are also referred to as 'session' key establishment protocols, and it is usually intended that these protocols are immune from known-key attacks. The Diffie-Hellman key agreement protocol (also called 'exponential key exchange') is a fundamental algebraic protocol. It is presented in W. Diffie and M. E. Hellman. "New Directions in Cryptography," IEEE Transaction on Information Theory vol. IT 22 (November 1976), pp. 644-654. The Diffie-Hellman key agreement protocol provided the first practical solution to the key distribution problem, allowing two parties, never having met in advance or sharing keying material, to establish a shared secret by exchanging messages over an open channel. The security rests on the intractability of the Diffie-Hellman problem and the related problem of computing discrete logarithms in the multipUcative group of the finite field GF(p) where p is a large prime, cf. Alfred J. Menezes, Paul C. van Oorschot, and Scott A. Vanstone, "Handbook of Applied Cryptography," CRC Press (1997), page 113. A key establishment protocol is said to have 'perfect forward secrecy' if compromise of long-term keys does not compromise past session keys. The idea of perfect forward security is that previous traffic is locked safely in the past. It may be provided by generating session keys by Diffie-Hellman key agreement, wherein the Diffie-Hellman exponentials are based on short term keys. If long-term secret keys are compromised, future sessions are nonetheless subject to impersonation by an active adversary (cf. Alfred J. Menezes, Paul C. van Oorschot, and Scott A. Vanstone, "Handbook of Applied Cryptography," CRC Press (1997), page 496). 'Point-to-point key update' techniques based on symmetric encryption would make use of a long-term symmetric key K shared a priori by two parties A and B. The Diffie- Hellman key agreement protocol allows for the establishment of such a K. Thus, the Diffie-Hellman key agreement protocol together with the symmetric encryption system provide the primitives in specifying a key transport protocol (cf. Alfred J. Menezes, Paul C. van Oorschot, and Scott A. Vanstone, "Handbook of Applied Cryptography," CRC Press (1997), page 497). Combinatorial Group Theory The definition of a monoid is given in Serge Lang, "Algebra," Third Edition, Addison- Wesley Publishing Company Inc. (1993), page 3. QUOTE Let 5 be a set. A mapping 5 x 5 — ► 5 is sometimes called a law of composition (of 5 into itself). If x, y are elements of 5, the image of the pair (x, y) under the mapping is also called their product under the law of composition, and will be denoted xy. . . Let 5 be a set with a law of composition. If x, y, z are elements of 5, then we may form their product in two ways: (xy)z and x(yz). If (xy)z = x(yz) for all x, y, z in 5 then we say that the law of composition is associative. An element e of 5 such that ex = x = xe for all x € 5 is called a unit element. A unit element is unique, for if e' is another unit element, we have e = ee' = e' by assumption. In most cases, the unit element is written simply 1 (instead of e). . . A monoid is a set G, with a law of composition which is associative, and having a unit element (so that in particular, G is not empty). UNQUOTE The definition of a group is given in Serge Lang, "Algebra," Third Edition, Addison- Wesley Publishing Company Inc. (1993), page 7. QUOTE A group G is a monoid, such that for every element x € G there exists an element y € G such that xy = yx = e. Such an element y is called an inverse for x. Such an inverse is unique. . . We denote this inverse by x~ l . UNQUOTE The basic reference for concepts, terminology, and historical framework in combinatorial group theory is the monograph by Bruce Chandler and Wilhelm Magnus, "The history of combinatorial group theory: a case study in the history of ideas," Springer- Verlag (1982). We quote from page 3: QUOTE Combinatorial .group theory may be characterized as the theory of groups which are given by generators and defining relations, or, as we would say today, by a presentation. UNQUOTE The following problems were posed by M. Dehn in 1911. We quote from the monograph by Bruce Chandler and Wilhelm Magnus, "The history of combinatorial group theory: a case study in the history of ideas," Springer-Verlag (1982), page 19. QUOTE The Word Problem (called Identitaetsproblem by Dehn) Let an arbitrary element of the group be given through its buildup in terms of the generators. Find a method to decide in a finite number of steps whether this element equals the identity element or not. The Conjugacy Problem (called Transformationsproblem by Dehn) Any two elements 5 and T of the group are given. Find a method to decide whether 5 and T are conjugate, i.e. whether there exists an element U of the group which satisfies the relation 5 = UTU ~ l . UNQUOTE The comparison form of the word problem can be stated as follows: Comparison Form of the Word Problem Let u, v be any two elements of the group given. Find a method to decide in a finite number of steps whether u — υ. Assume that G is a group given by a presentation P(G). Let W(G) denote the set of all words in the generators and their inverses given in the presentation of G. The functional form of the word problem is to produce a mapping F from W(G) to W(G) such that for all u, v G W(G) it follows that F(u) = F(υ) if and only if u, υ define the same element of G with respect to the presentation P(G). For each element u € W(G) the element F(u) is termed the canonical form of u. The functional form of the word problem requires an algorithm to produce canonical forms. The Canonical Form Problem Let u be an arbitrary element of the given group. Specify a method to find, in a finite number of steps, a canonical form for u. The functional form of the conjugacy problem requires, in addition, an algorithm to actually produce the conjugating element U. Generalized Conjugacy Problem (functional form) Let s_, so, . . ■ > s n be elements of a group G. Assume that a E G is secret and the set of n pairs of elements of the group G {si , {5 2 , a ~ 1 s 2 a}, . . . {s n , a ~ λ s n a} are publicly announced. Find an algorithm to actually produce such an element a. It is self evident that this problem is harder than the original conjugacy problem. It has been known for some time that there exist groups with solvable word problem and unsolvable conjugacy problem. For example, in D. J. Collins and C. F. Miller III, 'The conjugacy problem and subgroups of finite index," Proc. LMS Series 3, 34, (1977), p. 535- 556) it is shown that there exist finitely presented groups G with solvable word problem which contain a subgroup H of index 2 with an unsolvable conjugacy problem. (Of course, the word problem for H is solvable.) The discrete logarithm problem for a finite cyclic group of order p (a large prime) provides a bridge from combinatorial group theory to cryptographic protocols. A finite cyclic group of order p can be realized as the set of integers coprime to p modulo p, i.e., the finite set of integers {1, 2, . . . , p — 1} which forms a group under multiplication modulo p. Given fixed integers a, b € {1, 2, . . . ,p — 1}, where a is a primitive root modulo p, the discrete logarithm problem is to find an integer x (with 1 < x < p — 1) such that b = a x (mod p). Another realization of a finite cyclic group of order p can be specified by a presentation with one generator α and one defining relation α p = 1 where 1 denotes the identity element. Note that every element g of the group has a unique canonical form g = a x where i is an integer between one and p. It is clear that the discrete logarithm problem for a finite cyclic group of order p is thus identical to the canonical word problem for this group with respect to an arbitrary primitive element a. The present invention employs the problems and algorithms of combinatorial group to create novel cryptographically secure algebraic key establishment protocols. More specifically, the cryptographic security of these protocols depend on the existence of groups with feasible word problem and hard conjugacy problem. Such an approach does not exist in the prior art. SUMMARY OF THE INVENTION It is the primary object of the present invention to provide novel cryptographically secure algebraic key establishment protocols based on a key establishment algebraic system KEAS. Let (U, Θu) denote a monoid whose generating set [ui, u 2 , . . . } is enumerable and whose law of composition is feasibly computable. Let (V, θy) denote another such monoid. A KEAS is a five-tuple (U, V, , 71 ,72) where β : V x V — → V ) 7i : U x V — > V (i = l, 2) are feasibly computable functions satisfying the following properties. (i) For all elements x, yι, y 2 € U ø utøi. lto)) = θ v (β(x, yι ), β(x, y 2 )) (ii) For all elements x, y E U η x (x, β(y, x)) = 7 2 (y, / 5(a;, y)). It is an object of the present invention to provide an apparatus which can perform monoid multiplication for KEAS. It is an object of the present invention to provide a novel algebraic key agreement protocol based on KEAS = (U, V, /3, 7ι, 7 2 ) where U = V = G is a group. It is an object and feature of the present invention to provide a cryptographically secure algebraic key agreement protocol whose security is based on the existence of groups whose word problem can be solved in polynomial time while no polynomial time algorithm to solve the generalized conjugacy problem is known. It is an object and feature of the present invention to provide a cryptographically secure algebraic key agreement protocol which is based on the computation of a list of randomly rewritten conjugates in a group, thus reducing the steps and calculations in executing the protocol. This allows for easy implementation of the algorithms on low level computing devices with table driven modules. It is an object of the present invention to provide an algebraic key agreement protocol based on KEAS = (U, V, β, ηf η/ 2 ) where U = V = G is the braid group. It is an object of the present invention to provide an apparatus which randomly rewrites a word in the braid group in linear time in the word length. A key transport protocol is an algorithm, initiated by an input, defined by a sequence of steps, which enables one party to securely transfer a key to another party. The key transport protocol is said to run in polynomial time if the number of steps required to transfer the key is a polynomial in the bit length of the input. If the polynomial is of the first degree, the key transport protocol is said to run in linear time. It is an object and feature of the present invention to provide a cryptographically secure algebraic key transport protocol based on KEAS which allows for a linear time secure transfer of an encrypted key and requires polynomial time decryption of said encrypted key. It is an object and feature of the present invention to provide a cryptographically secure algebraic key transport protocol based on KEAS = (U, V t ?, 1 , 2 ) where U and V are monoids and U acts on a message space. The key transport protocol is a combination of the algebraic key agreement protocol based on KEAS, together with an apparatus which efficiently compares members of the message space. This allows for linear time secure transfer of an element of the message space and requires a polynomial time algorithm for comparison and retrieval of the message. It is an object and feature of the present invention to provide a cryptographically secure algebraic key transport protocol based on KEAS = (U, V, 3, 1 , 2 ) where the message space = U = V is the braid group which acts on itself by multiplication. This allows for the linear time secure transfer of an element of the message space (randomly rewritten word in the braid group) and requires a polynomial time algorithm to obtain a canonical form and decrypt the message. It is an object and feature of the present invention to provide a cryptographically secure algebraic key transport protocol based on KEAS = (U, V, 3, 7ι , 7 2 ) where the message space = U = V is the braid group which acts on itself by conjugation. This allows for the linear time secure transfer of an element of the message space (randomly rewritten word in the braid group) and requires a polynomial time algorithm to obtain a canonical form and decrypt the message. It is an object of the present invention to provide a cryptographically secure algebraic key transport protocol based on KEAS = (U, V, β, 7 1 , 7 2 ) where U = V is the braid group and the message space is a free group. The system according to the invention is particularly suited towards implementation using currently available digital technology, commercially popular microprocessor based systems, and other affordable digital components. Significant portions of the system may be implemented and significant portions of the method according to the invention may be performed by software in a microcomputer based system. Moreover the system is quite suitable for implementation on emerging computer technologies, e.g., quantum computers. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 shows an exemplary preferred embodiment of an apparatus which performs monoid multiplication. Fig. 2 shows a 5-function module. Fig. 3 shows a 7 1 , 7 2 -function module. Fig. 4 shows a submonoid generator Fig. 5 shows a submonoid random element generator. Fig. 6 shows an exchange of public information of an algebraic key agreement protocol based on monoids. Fig. 7 shows a preferred embodiment of an apparatus which performs the algebraic key agreement protocol based on monoids. Fig. 8 shows an exchange of public information of an algebraic key agreement protocol based on the braid group. Fig. 9 shows a preferred embodiment of a random rewriter for the braid group Fig. 10. shows a preferred embodiment of an apparatus which performs the algebraic key agreement protocol based on the braid group. Fig. 11 shows a preferred embodiment of an apparatus which performs the algebraic key transport protocol for monoids. Fig. 12 shows a preferred embodiment of an apparatus which performs the algebraic key transport protocol for groups. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT A General Algebraic Key Agreement Protocol A preferred embodiment of an apparatus which performs an algebraic key agreement protocol based on KEAS will now be described in detail. The algebraic key-agreement protocol requires an apparatus which can perform monoid multiplication. A preferred exemplary embodiment of such an apparatus is depicted with block diagrams in figure 1, and is described as follows. Let (U, denote a monoid whose generating set {uι, u 2 , . . . } is enumerable and whose law of composition θ υ : UxU — ► U is feasibly computable. The U-Library 11 consists of the set of generators {t.χ , u 2 , • • • 7- A sequence of indices 10 along with the U-Library 11 is presented to the Sequence Encoder 12. The Sequence Encoder chooses 12 u ix , u^ , . . . , u ic from the U-iibrary 11 and presents this to the Free Monoid Multiplier 13 which then concatenates the elements to yield the output i-J ! • Ui 2 • • • Ui e . The monoid U can be viewed as a quotient of the free monoid (generated by the U-Library) modulo a set of rewriting rules. The U-Presentation Code 14 consists of this set of rewriting rules. The Monoid Rewriter 15 computes the equivalence class of Ui t • m 2 • • • Uj β modulo the rewriting rules in the U-Presentation Code 14. The result is a word in the monoid U. An apparatus which performs the internal binary operation of U can now be specified. Given x = u ;ι • u ■ ■ ■ u Ja , and y = U k • U k2 • ■ • U kb , to obtain the product x • y, simply input the long sequence jι , j 2 , ■ ■ - j , &ι, ^ 2 , • • • ^ 6 in fc0 10. The output of the Monoid Rewriter 15 will be x • y. A preferred embodiment of an apparatus which performs the algebraic key-agreement protocol based on KEAS is depicted in block diagrams in figures 1 through 7. Recall that a KEAS is a five-tuple (U, V, β, 7 1 , 7 2 ) where U and V are monoids with feasibly computable laws of composition and £,7 1 ,7 2 are functions satisfying the following properties: (i) For all x, yι, y 2 € U β(x, θ υ ( yι , y 2 )) = θv(β(x, yι ), β(x, y 2 )) (ii) There exists easily computable functions 7; : U x V — ► V (i = 1, 2) such that 71 (x, β(y, x)) = 7 2 (y, β(x, y)). Let x, y € U denote the Input 20. The ^-Function Module 21 computes the value of β(x, y). Let u € U, be the Input 30, and let υ 6 V be the Input 31. The 7 1 -Function Module 32 computes 7ι(u, t/) while the 7 2 -Function Module 32 computes 2 (u, v). With the functions £,7 1 ,7 2 in place the algebraic key agreement protocol can now be described. Given a subset S C U, recall that the submonoid generated by S, denoted < S >, is denned to be the smallest submonoid of U which contains S, i.e., < S >= n submonoids of U containing 5. Remark that < S > coincides with the set of all possible products in products of elements in the set S, including the empty product (which is the identity element). The algebraic key agreement protocol involves two users, A(lice) and B(ob). User A is assigned a set of distinct elements in U, {si, . . . , 5„} which generate a submonoid of U denoted S A = < 5ι, s 2 l . . . , s n > . In the discussion below we utilize functional notation for elements in the monoid U: if x is an element in U, x is expressible as a word in the generators of U and we write x = x( Xi l f Uf, , . . . , u in ) . Remark that each S{ is expressible as a word in the generators of U: for z = 1, 2, . . . . n. Si = Si(Ui l f U.- a , . . . ) . Likewise user B is assigned elements {-i, . . . , t m } which generate a submonoid of U denoted TB = < , t 2 , . . . , t m > . Here again each t j is expressible as a word in the generators of U: for j = 1, 2, . . . , , An apparatus for assigning an arbitrary set tui, w 2 , . . . w m of m words to a user is depicted in figure 4. The key component of this apparatus is a cryptographically secure pseudorandom number generator PRNG. The definition of a PRNG is given in Bruce Schneier, "Applied cryptography protocols,: algorithms, and source code in C," Second Edition 1996, John Wiley, page 45, and is well known in the art. In all subsequent discussions in the preferred embodiment, a PRNG will always refer to such a cryptographically secure pseudorandom number generator. Let τn, k > 1 denote integers. Let L = {L L 2 , . . . L m } denote a vector of positive integers. The Input: m, L 40 together with the Input: A: 42 is presented to a pseudorandom number generator PRNG 41 which creates m lists of integers of lengths Lι, L 2 , .. . L m , respectively; each list {e(i, 1), e(i, 2), . . . , e(t, !<)} (for i = 1, 2, . . . ) consisting of integers randomly chosen from the set {1, 2, ... , fc}. These lists, together with the U-Library 11 are then presented to the Sequence Encoder 12 whose output goes to the Free Monoid Multiplier 13. The output of the Free Monoid Multiplier 13 is then sent to the Monoid Rewriter 15 into which the U-presentation code has already been presented. The final output is wι, w 2 , . .. , Wm which creates a User Submonoid Generator Library 43 and then sent to the User Submonoid Store and Forward Module 44. The process of key exchange begins with both users choosing secret elements in their respective submonoids, a e S A , a = a(s l ,s 2) ... ,s n ) 6€T Bl b = b(t 1 ,t 2 ,... ,t m ). This is depicted in figure 5. Let L,m denote positive integers. The Input: L 50 together with the Input: m 52 is sent to a pseudorandom number generator PRNG 51 which randomly chooses V < L positive integers ei, e 2 , ... , e^ such that each ej < m (for i = 1,2, ...£). This sequence of randomly chosen integers is presented to the Sequence Encoder 12 which also receives the Input of the User Submonoid Generator Library 43 which consists of w , w 2 , w$, ... The Sequence Encoder 12 then chooses w eι , w t ,... w eL , and presents this to the Submonoid Multiplier 54 which computes the product a = w eχ ■ w e2 • • • w eLl and sends it to the User Private Element Store and Forward Module 55. User A now transmits the Input 60 (where each S{ is a word in the generators of U) via the Communication module: Transmit and Receive 62, and user B transmits the Input 61 tχ,t , ... ,t m via the Communication module: Transmit and Receive 62. The received list {tχ,t 2 ,... , t m } together with Alice's secret key, the Input: α 63 is then forwarded to the ^-Function Module 23 yielding the list /?( ,tι),...,£(α,r m ) which is stored in the Store and Forward Module 65. Similarly, the received list {si , s 2 , .... , s n } together with Bob's secret key, the Input: b 64 is then forwarded to the /^-Function Module 23 yielding the list β(b, Sl ),...,β(b,s n ) which is stored in the Store and Forward Module 66. User A now transmits the Input 70 β(a,t l ),... ,β(a,t m ) (which was stored is the Store and Forward Module 65) via the Communication module: Transmit and Receive 62, and similarly user B transmits the Input 71 β(b, Sl ),... ,β(b, Sn ) (which was stored is the Store and Forward Module 66) via the Communication module: Transmit and Receive 62. The received list β(b, si), ... , β(b, s n ), together with the secret list of integers ei, e 2 , • • • , e L > generated by the PRNG 51 to produce Alice's secret key is presented to the V-Monoid MultipUer 72 which then (using property (i) that β satisfies) computes the product β(b,a)=β(b,s eι ).β(b,s e ,)...β(b,s eL ,). The element β(b, a) together with the secret key a are sent to the 7 1 -Function 32 to produce the final output lι(a,β(b,a)). In a completely analogous manner, the received Ust β(a, ti), ... , β(a, t m ), together with the secret list of integers f lt f 2 , ... , f L „ generated by the PRNG 51 to produce Bob's secret key b = t .t -..t fL „ is presented to the V-Monoid MultipUer 72 which then (using property (i) that β satisfies) computes the product β(a,b)=β(a,t )-β(a,t h )...β(a,t fL „). The element £(α, b) together with the secret key b are sent to the 7 2 -Function 33 to produce the final output 72(6, β(a, b)). By property (ii) it immediately foUows that l (α,£(6,α)) = η 2 (b,β(a,b)) which is the common key exchanged between AUce and Bob. Example 1: A first example of an algebraic key agreement protocol of the type detailed above san be obtained by considering the case where U = V = G is a group (a monoid where very element has an inverse). In this case the function β, β:GxG — >G is chosen to be conjugation: β(x,y) =x _1 y x. The functions 7 1 and 7 2 are chosen to be 7ι(u, v) = u ~ v η 2 (u,v) = υ ~l u. It is easy to see that properties (i), (U) hold. The asymmetric key agreement protocol in this situation can be described as foUows. Users A and B pubUcly choose subgroups SA = < sι,s 2> ... ,s m > Sβ = < tι,... ,t n >, and secret elements α € S and b € 5β. User A transmits the coUection of conjugates a " t \ a, a ~ t a, ... , a t m a and similarly user B transmits b- χ s x b, b~ l t 2 b, ... ,b~ l s n b Recalling that the conjugate of the product of two elements is the product of the conjugates of those elements, users A and B are now in a position to compute, respectively,, the elements 6 -1 6, a ~l b a. In order to attain a common key, user A now multipUes b ~l ab on the left by α -1 to obtain [a,b] = a- χ b- l ab, and user B multipUes a ~l b a on the left by 6 _1 to obtain [6, a] and then computes the inverse of [b, a] which is [a, b\. Note that this is consistent with the general system notation in that The fact that there exist groups with solvable word problem and unsolvable conjugacy problem, shows that at least in principle, the key agreement protocol for groups may be algorithmicaUy unbreakable. In practice, however, one really works with a computer with only a finite amount of memory and this is equivalent to working only with words of bounded length in the group G. Thus everything is reduced to a finite amount of computation, so from this point of view all these problems are decidable. The above protocol is secure and feasible provided the group G has a feasibly solvable word problem and hard conjugacy problem. There are many groups, however, where the word problem can be solved in polynomial time (in the word length), while at the same time, there is no known polynomial time algorithm for solving the generaUzed conjugacy problem (functional form). An iUustrative example of such a group is the braid group of N symbols. The braid group was first systematically studied by Emil Artin, "Theorie der Zopfe," Hamb. Abh. 4 (1925), pages 47-72. In that paper, the so called Artin generators x 1 , x 2 ) . . . XΛf for the Braid group of N symbols are introduced. They satisfy the relations jX j = X j Xi, if \j — i\ > 2 and 1 < i, j < N j t - + ιXi = x,- + ιXjXj + ι, if 1 < i < N — 1. A preferred embodiment of an apparatus which performs the key agreement protocol for the braid group is depicted in block diagrams in figures 8 to 10. This apparatus wi now be described in detaU. Users A and B wish to exchange keys via pubUc discussion over an insecure channel. Fix G to be the braid group on N generators. User A randomly chooses elements s \ , S2, . . . t s n € G (Input 80) and transmits them to user B via the Communication Module 62. Similarly, user B randomly chooses elements tι, t 2 , . . . , t m (Input 81) and transmits them to user A via the Communication Module 62. It can be assumed that si, s , . . . , s n , tι, t t . . . t n are pubUcly known. The Input: si, s 2 , . . . , s n 80 is sent to the Random Word Generator 82 which produces a word a which is a secret word in the generators sι , s 2 l . . . , s n . The process for doing this is depicted in a more general setting in figure 5. The Input: f l f t 2 , . . . , t m 81 is sent to the Random Word Generator 83 which produces a word b which is a secret word in the generators t l t t 2 , . . . , t m . The secret word α together with the generators t l t t 2 , . . . , t m are then presented to the Braid Group Conjugation Module 84 which computes the Ust of conjugate elements α _1 tια, a ~ l t 2 a, . . . a ~ l t m a. Similarly, the secret word 6 together with the generators s l , s 2 , . . . , s n are then presented to the Braid Group Conjugation Module 84 which computes the Ust of conjugate elements 6 _ 1 sι6, 6 -1 5 6, . . . 6 _ 1 5 n 6. In both cases, these lists are then sent to the Random Rewriter 85 which randomly rewrites each word in the Ust. The randomly rewritten lists are then sent to the Store and Forward Modules 86, 87. A preferred embodiment of the Random Rewriter 85 is depicted in block diagrams in figure 9. The Input: w 90 is sent to the Free Reducer 91. The Free Reducer 91 searches for subwords of the form x x _1 and x -1 x in the word w (where x is an arbitrary word in the Artin generators of G) and replaces xx -1 and x _1 x by the identity element. The Free Reducer 91 freely reduces the word w to produce the (possibly shorter) word W. The word W is then presented to the Length Function which computes its length L. The length L is then sent to a pseudorandom number generator PRNG 94 which randomly produces an integer j (where 1 < j < L) and a bit e which is either 0 or 1. The freely reduced word W together with the integer j and the bit e are then sent to the Move and Replace Module 92 which produces a new word W in the foUowing manner. RecaU that W is a word in the Artin generators xι, x 2 , . . . , X of length I, say W = x e r \ - x < \ • - - x^ where for t = 1, 2, . . . , each = ±1 and r, € {1, 2, . . . , N}. If e = 0 and j = 1, halt the process. If e = 0 and j > 1 consider the subword (of length 2 at the j ih position) > 2 replace this subword by x ~ l x'jli and set j = j-1. Keep repeating untU either j = 1 or ^ - Tj \ = 1. If \r 3 _ χ - r,| = 1, replace the string xV ' x , by a four symbol subword arising from the Artin relations. The complete Ust of substitutions is given as: x 3 x ]+ι — " J+ I x j +ι x 1 x -1 3, Xj ' r+1 X -1 X -1 X J + 1 X j x l Z j+i → r J+l x 7 x "1 x _1 X X X 3 X + l → X J+1 x x j _ + 1 l X x j- x ] + l x - X X J + 1 x 3 x ]+\ J + l x X 3 -1 -* X j X J+ 1 X- j X_, + i x X J _ + 1 1 x 3 - X j X J+ ι X ■_1 x _1 x _1 x X 3 _1 → X 3 Z j+1 x X"1 x X 3- + 1 l In an analogous manner if e = 1 the algorithm is the same except that one now considers the subword xV } xV,%\ and set j = j + 1. So if e = 0, move to the left; while if e = 1, move to the right searching for two adjacent generators whose indices differ by one. As soon as they are found, they are replaced according to the substitutions listed above. The output W of the Move and Replace Module 92 together with the Input 95 of a positive integer k is then sent to the Iterate and Exit Module 96 which iterates the above procedure k times (by sending W back to the Free Reducer 91) and then exits the procedure sending its output W to the Free Reducer 91. The final freely reduced word is then sent to the Store and Forward Module 97. The Ust a- l t a, a ~x t 2 a, . .. _1 r m , which was stored in the Store and Forward Module 86 becomes Input 100 and is presented to the Communication Module: Transmit and Receive 62. Likewise the Ust b ~l Sl b, b- 1 s 2 b, . . . b ~l s n b, which was stored in the Store and Forward Module 87 becomes Input 101 and is presented to the Communication Module: Transmit and Receive 62. These lists are broadcast over an insecure channel and can be assumed to be pubUcly known. The received Ust b ~l sιb, 6 -1 s 2 δ, . .. b~ l s n b together with user Λ's secret word a are then presented to the Braid Group MultipUer 102 which computes b ~l a b. The conjugate b ~l a b together with user 's secret word a is sent to the 7ι-Function 103 which computes the final output a- l b ~l a b. Correspondingly, the received Ust a ~1 tχa, a~ l t 2 a, . . . a ' ^-^a together with user B's secret word b are then presented to the Braid Group MultipUer 102 which computes α - 1 6 a. The conjugate a~ l b a together with user H's secret word b is sent to the 7 2 -Function 104 which computes the final output a~ l b ~ x a b which is the exchanged key. The total running time of this protocol will be polynomial time in the total bit length of the exchanged Usts: {δ~ 1 5ιδ, 6 _1 s 6, . . . , b ~l s n b}, {a~ l tιa, a ~ l t 2 a, . . . , a ~ l t m a}, provided the integer k (Input 95, which counts the number of iterations used by the random rewriter) is not too large. A General Algebraic Key Transport Protocol A preferred embodiment of an apparatus which performs the general algebraic key transport protocol will now be described in detail. It is assumed that two parties A(Uce) and B(ob) have already participated in an algebraic key agreement protocol of the type described previously (for monoids), so that both A and B are in possession of a common key k which is a word in the monoid U. Note that the common key k may be expressed as a word in the generators of U in many different ways. Each such expression is contained in the same equivalence class of the free monoid modulo the presentation code of U. In order to obtain a unique expression for A: it is necessary to have a unique canonical form for all elements in U. In the key transport protocol which wiU now be presented, it is not assumed that A: is in canonical form. The key transport protocol for monoids is based on the action of the monoid on a set M which we term the message space. The action of the monoid U on M is a function U x M — ► M which we denote (u, m) >→ u(τn) e M for each u G U, m 6 M, which satisfies the foUowing conditions: u(υ(m)) — uυ(m), for aU u, υ € U and m e M l(m) = m, for all m e M. A preferred embodiment of an apparatus which performs the key transport protocol for monoids is depicted in block diagrams in figure 11. First, a common key C = 7ι(α, £(6, α)) = 7 2 (fe, /3( , 6)) G U is exchanged via the Key Agreement Protocol for Monoids 110 which was previously depicted in figures 6 and 7. Fix distinct elements Mι, 2 ) . . . , M D e M which is Input 112. The key transport protocol is a mechanism which ' allows A (the sender) to transfer a message M e {M M 2 , .. . , M D } to B (the receiver). The message M is the Input 111 which is sent to the Monoid Action 113 which computes the action of A; on M which is k(M). The element k(M) is then sent to the Communication Module: Transmit and Receive 62 which transmits k(M) to B. Concurrently, the Input: Mι, M 2 , . . . , Λ p € M 112 together with the key A: (output of the Key Agreement Protocol for Monoids 110) is presented to the Monoid Action 113 which computes the elements A:(Λ ι), A:(Λ 2 ), . . . , k(Mo)- These elements together with k(M) is presented to the Compare and Choose Module 114 which compares them and determines which of the Mi for t = 1, 2, . . . , D is actuaUy M. Thus, the message M has been transferred from A(Uce) to B(ob). Note that in this protocol, it is not necessary to compute canonical forms. AU that is required is an algorithm to decide (Compare and Choose Module 114) if two elements of the set M are the same or not. In a key transport protocol, the bandwidth is denned to be the number of bits pubUcly exchanged between the two parties (via the Communication Module: Transmit and Receive 62) in order to transmit one bit (shared secret). In this protocol, the bandwidth decreases as D increases, but at the expense of an increase in off line computations (Compare and Choose Module 114). In a binary system such as for digital message transmissions, the input 112 may υe arbitrarily selected to be one of two elements Λ χ or 2 . The monoid action may be conducted on the single arbitrary selected element. If the output of the monoid action 113 matches the input k(M), then k(M) may be presumed to represent the selected element. If k(M) does not match the output of the monoid action 113, then M is presumes to be the non-selected element. If our module U is a group G then the basic property of a group (that every element has a unique inverse) allows us to present a different key transport protocol. It is again assumed that two parties A(Uce) and B(ob) have already participated in an algebraic key agreement protocol of the type described previously (for groups), so that both A and B are in possession of a common key A; which is a word in the group G. It is not assumed that A: is in canonical form. A preferred embodiment of an apparatus which performs the key transport protocol for groups is depicted in block diagrams in figure 12. Let A € G, be the common key exchanged via the Key Agreement Protocol for Groups 120 which was previously depicted in figures 8 and 9. Let M £ M be the Input 121. This is sent to the Group Action 123 which computes k(M) which is transmitted to B(ob) via the Communication Module: Transmit and Receive 62. Concurrently, the common key A: which is the output of the Key Agreement Protocol for Groups 120 is sent to the Inverter 122 which inverts the element in the group to produce A; -1 . The element A: -1 together with the received element k(M) is presented to the Group Action 123 which computes Jfc -1 (A;( )) = M. This is sent to- the Canonical Form Module 124 which computes the canonical form in the message space M. Thus the message M has been transferred from A to B. Note that the above key transport protocol for groups wiU generaUy have low bandwidth (provided the bit-length of M is sufficiently large), but the algorithm for canonical forms (Canonical Form Module 123) wiU very often be much more computationally intensive than the comparison algorithms (Comparison Module 113). Example 2: An example of a key transport protocol for monoids is given when the monoid U is the braid group with N generators (see Example 1), U = M, is the same as the message space, and the action is defined by u(m) = u - m (braid multiplication) for all u £ U, m £ M. Note that in this example inverses of elements are not required so that G is viewed as having only the structure of a monoid. A polynomial time algorithm for comparing words in the braid group is given in Patrick Dehornoy, "A fast method for comparing braids," Advances in Mathematics 125 (1997), pages 200-235 and also in Joan S. Birman, Ki Hyoung Ko, and Sang Jin Lee, "A new approach to the word and conjugacy problems in the braid groups," to appear in Advances in Mathematics. With these choices, the key transport protocol is depicted in figure 11 and Dehorney's or the Birman-Ko-Lee algorithm can be used as a basis for the Compare and Choose Module 114. Example 3: An example of a key transport protocol for groups is given when the group G is the braid group with N generators (see Example 1), G = M is the same as the message space, and the action is defined by braid group conjugation: g(τn) = gτng~ l , for all g £ G, m £ M. A polynomial time algorithm for computing canonical forms in the braid group is given in Joan S. Birman, Ki Hyoung Ko, and Sang Jin Lee, "A new approach to the word and conjugacy problems in the braid groups," to appear in Advances in Mathematics. With these choices, the key transport protocol is depicted in figure 12 and the Biπnan- Ko-Lee algorithm can be used as a basis for the Canonical Form Module 124. Example 4: Another example of a key transport protocol for groups is given when G is the braid group with N generators (see Example 1), M is the free group generated by the " set {αi, . . . , aw}, and the action of G on M is given as follows (see Emil Artin, "Theorie der Zδpfe," Hamb. Abh. 4 (1925), pages 47-72): for i = 1, . . . , N, Xi(a t ) = α l+ 1 , x,(α t+ 1 ) = a ' ^a, α l+ 1 Xi(α ; ) = a 3 for j = 1, . . . , i - 1, i + 2, . . . , N. In this instance the algorithm for the Canonical Form Module 124 is simply free reαuction in the free group M, and the algorithm for Group Action 123 is generally exponential in the word length of the acting braid group element.

Claims: CLAIMS 1. An encryption system comprising: a monoid key establishment apparatus responsive to an input monoid, a private element, and a combined input monoid list; a combinatorial action unit connected to said monoid key establishment apparatus responsive to an input message and having an encrypted output. 2. An encryption system according to claim 1, wherein said monoid key establishment system is group based. 3. An encryption system according to claim 1, wherein said monoid key establishment system is braid group based. 4. An encryption system according to claim 1, wherein said combinatorial action unit is a monoid action unit. 5. An encryption system according to claim 4, further comprising a comparison module referencing said encrypted output to an encrypted input. 6. An encryption system according to claim 2, wherein said combinatorial action unit is a group action unit. 7. An encryption system according to claim 3, wherein said combinatorial- action unit is a braid group action unit. 8. An encryption system according to claim 6, wherein said combinatorial action unit further comprises a key inverter. 9. An encryption system according to claim 8, further comprising a canonical form modulator responsive to said encrypted output. 10. An encryption systen according to claim 1, further comprising means for creating a set of input monoids. 11. An encryption system according to claim 10, wherein said means for creating a set of input monoids further comprises a monoid processor responsive to a pseudo random number generator. 12. A key agreement system comprising: a combinatorial group modulator using a private element to act on a group of elements associated with a remote system to generate a local combination; a combinatorial multiplier responsive to a multipUer input and a remotely generated combination wherein said multiplier input is related to said private element; and a key extractor responsive to said private element and an output of said combinatorial multipUer. 13. A key agreement system according to claim 12, further comprising: a combinatorial means for generating a local group of elements; and a private element generator, wherein said private element is generated from one or more elements of said local group elements. 14. A key agreement system according to claim 12, wherein said combinatorial multipUer is a group multiplier. 15. A key agreement system according to claim 12, wherein said combinatorial group modulator comprises: a braid group conjugation module; and a rewriter connected to an output of said braid group conjugation module. 16. A key agreement system according to claim 15, wherein said rewriter is responsive to a pseudorandom number. 17. A key agreement system according to claim 15, wherein said combinatorial multipUer is a braid group multiplier. 18. An encryption method comprising the steps of: transforming an input monoid, a private element, and a combined input monoid list into a monoid key wherein said transforming is based on the word problem for monoids; combinatorially acting on said monoid key and an input message to create - an encrypted output. 19. An encryption method according to claim 18, wherein said step of acting is based on group theory. 20. An encryption method according to claim 18, wherein said step of combinatorially acting is a monoid action. 21. An encryption method according to claim 20, further comprising the step of comparing said encrypted output to an encrypted input. 22. An encryption method according to claim 19, wherein said step of combinatorially acting is a group action based on the conjugacy problem. 23. An encryption method according to claim 17, wherein said step of combinatorially acting is a braid group action. 24. An encryption method according to claim 22, wherein said step of combinatorially acting further comprises a key inversion step. 25. An encryption method according to claim 24, further comprising the step of canonically reformatting said encrypted output. 26. An encryption method according to claim 18, further comprising the step- of creating a set of input monoids. 27. An encryption method according to claim 26, wherein said step of creating a set of input monoids further comprises the step of processing pseudo random numbers into monoids. 28. A method for establishing a key comprising the steps of: transforming a private element and a group of elements associated with a remote system into a local combination based on a combinatorial relationship; combinatorially multiplying a multipUer input and a remotely generated ' combination wherein said multipUer input is related to said private element; and extracting a key from said priva^ element and the result of the step of combinatorially multiplying. 29. A method according to claim 28, wherein said step of combinatoriaUy multiplying further comprises the step of rewriting the result responsive to a pseudorandom input. 30. A method for estabUshing a key according to claim 28, further comprising: a step of generating a local group of elements; and a step of generating the private element, wherein said private element is generated from one or more elements of said local group elements. 31. A method for establishing a key according to claim 28, wherein said step- of combinatorially multiplying is a group multiplication. 32. A method for establishing a key according to claim 28, wherein said step of transforming comprises the steps of: conjugating a combination based on a combinatorial relation by said private element; and rewriting, responsive to a pseudorandom process, the result of the step of conjugating. 33. A method for estabUshing a key according to claim 32, wherein said step of combinatorially multiplying is a braid group multipUcation. 34. A method for establishing a key according to claim 32, wherein the step of conjugating is a braid group conjugation.

Inventors: ANSHEL IRIS, ANSHEL MICHAEL M, GOLDFELD DORIAN, ANSHEL, IRIS, ANSHEL, MICHAEL, M., GOLDFELD, DORIAN
Applicants: ARITHMETICA INC, ARITHMETICA, INC.
Application year: 1999
Main classification: H04L
IPC codes: H04L9