scieee AI-readable full text Open interactive document viewer

Encryption methods using formal power series rings

Baumslag, Gilbert; Brukhov, Yegor; Fine, Benjamin; Rosenberger, Gerhard

Abstract

Recently there has been a great deal of work on noncommutative algebraic cryptography. This involves the use of noncommutative algebraic objects as the platforms for encryption systems. Most of this work, such as the Anshel-Anshel-Goldfeld scheme, the Ko-Lee scheme and the Baumslag-Fine-Xu Modular group scheme use nonabelian groups as the basic algebraic object. Some of these encryption methods have been successful and some have been broken. It has been suggested that at this point further pure group theoretic research, with an eye towards cryptographic applications, is necessary.In the present study we attempt to extend the class of noncommutative algebraic objects to be used in cryptography. In particular we explore several different methods to use a formal power series ring R << x1; :::; xn >> in noncommuting variables x1; :::; xn as a base to develop cryptosystems. Although R can be any ring we have in mind formal power series rings over the rationals Q. We use in particular a result of Magnus that a finitely generated free group F has a faithful representation in a quotient of the formal power series ring in noncommuting variables.

Full text

ENCRYPTION METHODS USING FORMAL POWER SERIES RINGS GILBERT BAUMSLAG, YEGOR BRUKHOV, BENJAMIN FINE AND GERHARD ROSENBERGER Abstract. Recently there has been a great deal of work on noncommutative algebraic cryptography. This involves the use of noncommutative algebraic objects as the platforms for encryption systems. Most of this work, such as the Anshel-Anshel-Goldfeld scheme, the Ko-Lee scheme and the Baumslag-Fine-Xu Modular group scheme use nonabelian groups as the basic algebraic object. Some of these encryption methods have been successful and some have been broken. It has been suggested that at this point further pure group theoretic research, with an eye towards cryptographic applications, is necessary.In the present study we attempt to extend the class of noncommutative algebraic objects to be used in cryptography. In particular we explore several different methods to use a formal power series ring R << x1, ..., xn>> in noncommuting variables x1, ..., xn as a base to develop cryptosystems. Although Rcan be any ring we have in mind formal power series rings over the rationals Q. We use in particular a result of Magnus that a finitely generated free group F has a faithful representation in a quotient of the formal power series ring in noncommuting variables. 1. Introduction Most common public key cryptosystems and public key exchange protocols presently in use, such as the RSA algorithm, Diffie-Hellman, and elliptic curve methods are number theory based and hence depend on the structure of abelian groups. The strength of computing machinery has made these techniques theoretically susceptible to attack and hence recently there has been an active line of research to develop cryptosystems and key exchange protocols using noncommutative cryptographic platforms. This line of investigation has been given the broad title of noncommutative algebraic cryptography. This paper was initiated while one of the authors (B.Fine) was a visitor at the CRM. We’d like to thank the CRM for its hospitality. 1 2 G. BAUMSLAG, Y. BRUKHOV, B. FINE AND G. ROSENBERGER Up to this point the main sources for noncommutative cryptographic platforms has been nonabelian groups. In cryptosystems based on these objects algebraic properties of the platforms are used prominently in both devising cryptosystems and in cryptanalysis. In particular the nonsolvability of certain algorithmic problems in finitely presented groups, such as the conjugator search problem, has been crucial in encryption and decryption. The important sources of nonabelian groups that can be used in cryptosystems are combinatorial group theory and linear group theory. Braid group cryptography, where encryption is done within the classical braid groups, is one prominent example. The one way functions in braid group systems are based on the difficulty of solving group theoretic decision problems such as the conjugacy problem. Although braid group cryptography had initial spectacular success, various potential attacks have been identified. Borovik, Myasnikov, Shpilrain [BMS] and others have studied the statistical aspects of these attacks and have identitifed what are termed black holes in the platform groups outside of which present cryptographic problems. In [BFX] and [X] potential cryptosystems using a combination of combinatorial group theory and linear groups were suggested and a general schema for the these types of cryptosystems was given. In [BFX 2] a public key version of this schema using the classical modular group as a platform was presented. A cryptosystem using the the extended modular group SL2(Z) was developed by Yamamura ([Y]) but was subsequently shown to have loopholes ([BG],[S],[HGS]). In [BFX 2] attacks based on these loopholes were closed. It has been suggested that at this point further pure group theoretic research, and algebraic reserach in general, with an eye towards cryptographic applications, is necessary. In particular, although the present braid group cryptosystems may be attackable the basic group theoretic ideas are important. What is then necessary is to look at other (nonabelian) group theoretical methods as well as additional potential platform groups. Along these line in [BCFRX] an approach was followed based on a nonabelian group having either a large abelian subgroup or two large subgroups which elementwise commute. Using this idea a general key transport protocol modeled on the classical Diffie-Hellman technique but using a nonabelian group was developed. Several potential groups that could be used as platforms were described there, in particular the automorphism group of a free group. In the present study we attempt to extend the class of noncommutative algebraic objects to be used in cryptography. In particular we explore several different methods to use a formal power series ring R << x1, ..., xn>> in noncommuting variables x1, ..., xnas a base to develop cryptosystems. ENCRYPTION METHODS USING FORMAL POWER SERIES RINGS 3 Although Rcan be any ring we have in mind formal power series rings over the rationals Q. We use in particular a result of Magnus that a finitely generated free group Fhas a faithful representation in a quotient of the formal power series ring in noncommuting variables. After describing the Magnus representation and some necessary properties we first show how to develop a Diffie-Hellman–RSA type of encryption system within the formal power series ring using the Magnus representation. In a different direction we describe the algorithm to rewrite an element of the free group in terms of the generators given its image in the power series ring. Using this we show how we can use the free groups within the formal power series ring as a platform group for the free group polyalphabetic cipher developed in [BFX]. The only previous examples were matrix groups over number rings. Under devlopment is a method to impose relations on the noncommutting variables to develop further types of secure encryptions. 2. Formal Power Series Rings and the Magnus Representation Our encryption methods will use the ring of formal power series R << x1, ..., xn>> over a ring Rin noncommuting variables x1, ..., xn. Although this can be done in an even more general context, for this study we will concentrate on rational formal power series, that is we consider the ring Rto be the field of rational numbers Q. Throughout the rest of this paper we let H=Q<< x1, ..., xn>> be the formal power series ring in noncommuting variables x1, ..., xnover Q. One of our primary tools for developing encryption methods will be based upon a faithful representation of a finitely generated free group within a quotient of H. This representation was developed was introduced by W.Magnus [M] and is now known as the Magnus representation. If n≥2 this then provides free subgroups of all countable ranks within this quotient of H. Further by imposing additional relations we can obtain representations of free nilpotent groups. We first describe the Magnus representation and give a proof. The proof will lead us to two algorithms for describing when certain polynomials lie in the image of this representation. Further we describe the unit group of this quotient. First let d > 1 be an integer and impose the relations xd 1=xd 2=... =xd n= 0 on H. We call the resulting quotient H. 4 G. BAUMSLAG, Y. BRUKHOV, B. FINE AND G. ROSENBERGER Notice that the elements of Hare polynomials of degree < d in the noncommuting variables x1, ..., xn. The faithful representation of a free group is given in terms of the monomials α1= 1 + x1, α2= 1 + x2, ..., αn= 1 + xn. Notice that in the formal power series ring Hwe have the well known expansion 1 1 + xi = 1 −xi+x2 i−x3 i+...... Therefore each αiis invertible within Hand hence invertible in H. Within Hhowever the inverse is a polynomial of degree < d and so within H 1 1 + xi = 1 −xi+x2 i−x3 i+... + (−1)d−1xd−1 i. Therefore each αiis in the unit group U(H) of Hand therefore the set {α1, ..., αn}generates a multiplicative subgroup of U(H). Note also that if d, the defining power, is kept secret, then inverses are unknown. Magnus’s result is the following. Theorem 2.1. The elements α1= 1 + x1, ..., αn= 1 + xn freely generate a subgroup of U(H). Therefore the map given by y1→α1, ...., yn→αn provides a faithful representation of the free group on y1, ..., yninto H. We present a proof, since as mentioned the proof will lead us to an algorithm necessary for our encruption methods. Proof. Notice from the comment above that each αiis invertible within H. Therefore each αiis in the unit group U(H) of Hand therefore the set {α1, ..., αn}generates a multiplicative subgroup of U(H). We show that no nontrivial freely reduced word in the αican be the identity and hence the group they generate must be a free group. From the binomial expansion we have for any non-zero integer n, positive or negative, (1 + αi)n= 1 + nαi+ terms in higher powers . Now let W(α1, ..., αn) = αn1 i1αn2 i2. . . αnk ik ENCRYPTION METHODS USING FORMAL POWER SERIES RINGS 5 be a freely reduced word in the αiwith each |ni| ≥ 1 and αij6=αij+1 for j= 1, ..., k −1. For later reference we call kthe block length. In the ring Hwe then have W(α1, ..., αn) = (1 + xi1)n1....(1 + xik)nk and hence W(α1, ..., αn) = = (1 + n1xi1+ higher powers in xi1). . . (1 + nkxik+ higher powers in xik) The variables are noncommuting, so that in analyzing this product we see that there is a unique monomial term of maximal block length kwhere each xijappears to the power 1. That is there is a unique monomial term n1n2...nk(xi1xi2...xik). We stress here that this is of maximal block length since this will be important in the subsequent algorithm. Since each ni6= 0 this term must appear and therefore W(α1, ..., αn)6= 1. It follows that the group generated by α1, .., αnis freely generated by them. ¤ The proof of the faithfulness of the Magnus representation leads us to several algorithms for dealing with the image in the power series ring. We will employ these algorithms in our cryptosystems. For the remainder of this section we will let Fdenote the free subgroup of Hgenerated by the αi. The first algorithm provides a method, given a polynomial in H, which is written in polynomial form, that we know to be in F, to write its unique free group decomposition. That is given f=f(x1, ..., xn) a polynomial in the noncommuting variables x1, .., xnthat we know to be in Fto rewrite fas f=W(α1, ..., αn). In general there is no factoring algorithm in H. For any monomial xi1· · · xikin Hwe call kthe block length of the monomial in analogy with that of a free group word. Theorem 2.2. (Algorithm to Recover the Free Group Decomposition of Elements in F). Suppose f=f(x1, ..., xn)∈Hand it is known that f∈ F. There is an algorithm that rewrites fin terms of the free generators α1, ..., αn, that is the algorithm uniquely expresses fas a free group word f=W(α1, ..., αn). 6 G. BAUMSLAG, Y. BRUKHOV, B. FINE AND G. ROSENBERGER The algorithm works as follows: Step 1: In flocate the monomial nxi1···xikof maximal block length where n∈Z\{0}, each variable that appears in fappears in this monomial, and each variable is to the power 1. This kgives the block length for the corresponding free group word. Further the free group word must have the form αn1 i1· · · αnk ik with each nia divisor of n. Step 2: For each divisor niof nboth positive and negative sequentially form (1 + xi1)−n1f. In exactly one such product the maximal block length will be k−1and there will be a unique monomial of block length k−1 containing each variable in fexcept perhaps xi1and each to the power 1. We then have f= (1 + xi1)n1f1 where f1is also in F. Step 3: Continue in this manner until we reach the identity. The free group decomposition of fis then f= (1 + xi1)n1· · · (1 + xik)nk=αn1 i1· · · αnk ik. Proof. Since we know that f∈Fwe know that there is a unique free group decomposition f=αn1 i1· · · αnk ik= (1 + xi1)n1· · · (1 + xik)nk. Hence, as in the proof that the representation is faithful, there is a unique monomial nxi1· · · xikof maximal block length where n∈Z\ {0}, each variable that appears in fappears in this monomial, and each variable is to the power 1. Again as in the proof of Theorem 2.2, kgives the block length for the corresponding free group word. Now, since the free group representation is unique we have for each divisor niof n (1 + xi1)−nif= (1 + xi1)n1−ni· · · (1 + xik)nk. Hence only for ni=n1will this term cancel. Hence there is exactly one such divisor such that (1 + xi)−niFwill now have maximal block length k−1 and have a unqiue monomial of the prescribed type. It follows then that one and only one such product will reduce fto a word of shorter block length. ¤ A modification of the above algorithm can be used to determine if a general element of His actually in F. ENCRYPTION METHODS USING FORMAL POWER SERIES RINGS 7 Theorem 2.3. (Algorithm to Determine if f∈His in F). Suppose f=f(x1, ..., xn)∈H. There is an algorithm that determines whether or not f∈Fand if it is, rewrites fin terms of the free generators α1, ..., αn. The algorithm works as follows: Step 1: If the constant term of f6= 1 then f /∈F. Further if fhas any nonintegral coefficients then f /∈F. Step 2: Assume fpasses Step 1. If fdoes not contain a unique monomial nxi1· · · xikof maximal block length in fwhere n∈Z\ {0}, each variable that appears in fappears in this monomial, and each variable is to the power 1then f /∈F. Step 3: Suppose fpasses Steps 1 and 2. Then in flocate the monomial with the characteristics described in Step 2. If f∈Fthen kgives the block length for the corresponding free group word. Further the free group word must have the form αn1 i1···αnk ik with each nia divisor of n. Step 4: For each divisor niof nboth positive and negative sequentially form (1+xi1)−n1f. If in such product the maximal block becomes k−1and there is a no new monomial having the descrined characteristics above then f /∈F. Otherwise continue. Step 5: If evenutally we arrive at the identity then f∈Fand the procedure yields the free product decomposition of f. Proof. The proof follows in exactly the same manner as the proof of Theorem 2.2. ¤ For certain cryptographic applications we need the full unit group U(H) of H. Over Qit can be described as those polynomials with nonzero constant term. Theorem 2.4. The unit group U(H)over Qconsists precisely of those polynomials with nonzero constant term. Proof. There are two ways to look at the proof of this. Algebraically, suppose that the defining power is d > 1 and P(x)∈Hwith nonzero constant term. Then P(x) is relatively prime to the polynomials xd iand so is invertible in the factor ring in the standard way. Analytically if P(x)∈Hwith nonzero constant term let P?(x) be the correpsoning polynomial in H. Then P?(x) can be made into part of a 8 G. BAUMSLAG, Y. BRUKHOV, B. FINE AND G. ROSENBERGER convergent power series P??(x) in C<< x1, ..., xn>> . Since P??(0) 6= 0 this power series is analytic at 0 and so its inverse is analytic at ) and so has a convergent power series around 0 say Q??(x). The image of Q??(x) in Hwould then be the inverse of P(x). Conversely if P(x)∈His invertible it must have nonzero constant term. ¤ Before we continue we mention one final item concerning multiplication within H. In general there is no factoring algorithm. However if f∈His known and g=fe with e∈Fis known then we can find e. We say that ecan be peeled off fe. The algorithm to do this is essentially the same as the above two algorithms. We briefly explain. Suppose we are given fand fe. Then in fe there is a unique monomial extending the monomials in f exactly as in the proof of theorem 2.2. By identifying this monomial we can find the free group decomposition of eand hence find e. 3. Cryptosystems Using the Formal Power Series Rings We now provide several methods for developing cryptosystems using the formal power series rings and the above quotients -together with the Magnus representation. The first method is a further extension to the nonabelian group setting of the Diffie-Hellman system. 3.1. A General Schema for Nonabelian Group Diffie-Hellman. In [BCFRX] a group theoretic encryption protocol analogous to the standard Diffie-Hellman scheme and generalizing RSA was described in the following manner. Suppose that Gis a finitely presented group that can be represented in a nice way - either as a matrix group or as words relative to a nice presentation. Further suppose that Ghas two large subgroups A1,A2 that commute elementwise. Alternatively we could use one large abelian subgroup Aof G. The meaning of large is of course hazy but relative to the encryption scheme means that within Git is difficult to determine when an arbitrary element is in A1or A2(or A) and further A1and A2(or A) is large enough so that random choices can be made from them. Now suppose that Bob wants to communicate with Alice via an open airway. The message (or the secret key telling them which encryption system to use) is encoded within the finitely generated group Gwith the properties given above. The two subgroups A1, A2which commute elementwise are kept secret by Bob and Alice. A1is the subgroup for Bob and A2the subgroup for Alice. Bob wants to send the key W∈Gto Alice. He chooses two random elements B1, B2∈A1and sends Alice the message ENCRYPTION METHODS USING FORMAL POWER SERIES RINGS 9 ( in encrypted form) B1WB2. Alice now chooses two random elements C1, C2∈A2and sends C1B1WB2C2back to Bob. These messages appear in the representation of Gand hence for example as matrices or as reduced words in the generators so they don’t appear as solely concatenation of letters. Since A1commutes elementwise with A2we have C1B1WB2C2=B1C1WC2B2. Further since Bob knows his chosen elements B1and B2he can multiply by their inverses to obtain C1WC2which he then sends back to Alice. Since Alice knows her chosen elements C1, C2she can multiply by their inverses to obtain the key W. It is assumed that for each message Bob and Alice would choose different pairs of random elements from either A1or A2. This method is a generalization of the Anshel, Anshel, Goldfeld and Ko-Lee schemes which used the classical Braid groups as platforms (see [BCFRX]). In [BCFRX] several additional potential platform groups are suggested. We now present an alternative version of this method which can use the formal power series ring and its quotients as platforms. The general schema goes as follows: We suppose that we have a ring Rwith a large unit group U(R). By large we mean that U(R) contains a nonabelian free subgroup so that random choices can be made from U(R). We suppose further that there is no factoring algorithm in R. Suppose that Bob wants to send a message to Alice. Encoding is done within Rso that elements of Rrepresent messages. Bob wants to send the message r∈Rto Alice. He randomly chooses an e∈U(R) and sends Alice re. Alice randomly chooses f∈U(R) and sends back fre. Bob knows (but presumably an attacker can’t figure out) e−1so forms free−1=fr and sends this back to Alice. Alice applies f−1to get the message r. This method can be applied using the ring Has the platform. The power ddefining His a shared secret. Encryption is done in a polynomial in the noncommuting variables. This encryption can be done in a variety of ways. The simplest is perhaps the following. The coefficients of our polynomials are rational numbers. Codethe plaintext letters by rational numbers and then the message can be read off form the coefficients. Bob wants to send Alice the message T∈Q[[x1, .., xn]] where xd i= 0 for all i. Let R=T+Swhere Sis an arbitrary polynomial with only powers higher than d. Bob chooses a random element of the unit group W. He sends Alice RW. Bob knows the inverse of W. Alice chooses another random Vof the unit group and sends Bob back V RW. Bob multiplies by W−1and sends Alice V R from which Alice recovers R. Since she knows d