Cryptosystems with
Rédei Rational Function
via
Pellconics
P. Anuradha Kameswari
Department Of MathematicsAndhra University Visakhapatnam-530003
Andhra Pradesh
R. Chaya Kumari
Department Of MathematicsAndhra University Visakhapatnam-530003
Andhra Pradesh
ABSTRACT
In this paper, two cryptosystems are constructed using the fact that Rédei rational functions are permutation polynomials and exploiting the multiplicative properties of Rédei rational functions and the inverse property of Dickson polynomial extended to Rédei rational functions. The encryptions are based on evaluating Rédei rational functions
( , )
k n
Q d z
¢
with the valuesz
¢
n connected to the solutions of the Pell's equationx
2
dy
2
1
in¢
n. The connection between these evaluations and the convergents of solutions of Pell’s equation are used in the construction of the second cryptosystem.KEYWORDS:
Pell conics, Redei Rational function, Permutation Polynomial, Cryptosystem.1
.
INTRODUCTION
The equation
x
2
dy
2
N
with given integersd
andN
and unknownsx
andy
is called Pell's equation. Ifd
is negative or perfect square the equation has only finitely many solutions and the most interesting case is whend
is positive and non perfect square the equation has infinitely many solutions as in [7]. The study of solutions of Pell equation connected to Rédei rational functions is in [14]. There are various studies made on these solutions and the analysis of these solutions and their applications to cryptography has gained importance. In this paper, we construct a cryptosystem with Rédei rational functions [5] andPell conics by evaluating Rédeirational functions
Q d z
k( , )
in¢
n forz
connected to( , )
x y
, a solution of some Pell equation over¢
n.The set of all solutions of the Pell's equation in a domain
R
is denoted byP R
(
)
and is given as2 2
( ) {( , ) /
x y
x
dy
N
}
P R
R R
Let
p
be an odd prime andd
be a non-square positiveinteger i.e. a non-zero quadratic residue element in
F
p,
and letP F
(
p)
denote the set of all solutions of the Pell'sequation in
F
p,
given as2 2
(
p) {( , )
x y
p/
px
dy
1}.
P F
F
F
The point
N
(1, 0) (
P F
p)
is called the neutral pointand the lines through neutral point
N
= (1, 0) will intersect the Pell conic in exactly two different points i.e., inN
and inanother point
P
m depending on the slopem
of the line. For the lines through (1, 0) with slopem
, (except the linex
= 1),the point of intersection
P
m is2
2 2
1
2
(
,
)
1
1
m
dm
m
P
dm
dm
This is the parametrization of
m
onP F
(
p)
and group laws onP
( )
R
,R
an arbitrary ring in [8] are used for the construction of the cryptosystem with Rédei rational functions. In this context, basic concepts of Rédei rational functions and some of its properties are introduced in section2. Using the theory on permutation polynomials by M
..
u
llerand N
..
o
bauer in [15], the description of Rédei rational functions as permutation polynomials is given in section 3. In section 4, the construction of the proposed cryptosystem is described.2. RÉDEI RATIONAL FUNCTIONS
DEFINITION 1
:
Letd
0
be a non-square positive integer. The Rédei rational functions are developed from(
z
d
)
n for the non perfect square positive integerd
by taking the expression(
z
d
)
n
N d z
n( , )
D d z
n( , )
d
[n/2]
k n-2k n
k=0
n
for N (d, z)=
d z
2k
and
[ /2]
2 1
1
( , )
2
1
n
k n k n
k
n
D d z
d z
k
Then the Rédei rational functions denoted by
Q d z
n( , )
are defined as( , )
( , )
1,
( , )
n n
n
N d z
Q d z
n
n
D d z
¢
DEFINITION 2:
For any positive real numberd
,define the transform
d:
¡
¡
given as1
( )
1
d
x
x
d
x
and
d is such that(1)
,
(0)
,
( )
d d
d
dd
with inversegiven as d1
( )
x
x
d
x
d
and
dinduces the product
e
d, over¡
is given as:1 1
(
( )
( ))
d d d d
d
xy
x
y
x
y
x
y
e
Remark 1: Comparing
e
d with the usual product over¡
,d
plays the role of
and
d
plays the role of 0, byusing the relations for all
x
¡
.From the following proposition, the product
e
d on Rédei rational functions satisfy commutative property.PROPOSITION 1:
The producte
d on Rédeirational function satisfies
( , )
( , )
( , )
n d m n m
Q d z
e
Q d z
Q
d z
,
m n
1; , .
m n
¢
PROOF:
By definition of the producte
d on Rédei rational functions we have( , )
( , )
n d m
Q d z
e
Q d z
=
n mn m
d
Q Q
Q
Q
=
n m n m n m n m
N N
d
D D
N
N
D
D
n m n m
n m m n
N N
dD D
N D
N D
n m
n m
N
D
Q
n mLEMMA 1:
Ifz
ne
d
z
e
dz
e
d...
z
e
d is the thn
power ofz
with respect to the producte
d then( , ).
n
d n
z
e
Q d z
Proof:
We have for
n
= 1
1
1 1
(
z
d
)
N d z
( , )
D d z
( , )
d
1 1
1
( , )
( , )
( , )
N d z
Q d z
D d z
z
...
n
d d d
z
z
z
z
e
e
e
Q d z
1( , )
e
dQ d z
1( , )
e
d...
Q d z
1( , )
Q
1 ... 1 ( , )
d z
(by the proposition)
Q d z
n( , ).
THEOREM 1:
Rédei Rational functions satisfy the multiplicative property( , ) ( ,
( , ))
, .
nm n m
Q
d z
Q d Q d z
for m n
¢
Proof: By above lemma as each
z
n equalsQ d z
n( , )
we have( ,
( , ))
( , )
nn m m
Q d Q d z
Q d z
e
d
=
(
z
me
d)
ne
d=
z
nme
d=
z
ne
dz
ne
d...
z
ne
d
Q
nm( , )
d z
Therefore
Q d Q d z
n( ,
m( , ))
Q
nm( , ).
d z
3 RÉDEI RATIONAL FUNCTIONS AS
PERMUTATION
POLYNOMIALS
Forn
¢
that are trapdoor functions. Trapdoor functions may be obtained by using permutation polynomials modulon
, wherepermutation polynomials are the polynomials
P x
( )
which induce a permutation
of¢
n on substitution of elements of¢
n inP x
( )
i.e.,
:
¢
n
¢
n given as( )
P
( )
is a permutation on¢
n. For thepolynomial
P x
k( )
x
k, a polynomial in one variable:
k n n
¢
¢
given as
k( )
P
k( )
k is apermutation whenever
gcd k
( , ( )) 1
n
. The study of necessary and sufficient conditions for other polynomials to be permutation polynomials and the classification of permutation polynomials [5] was generated with the initiationmade by N
..
o
bauer and M..
u
ller for Dickson polynomials. RSA cryptosystem is based on the permutations on¢
ninduced by the polynomials
x
k for gcd(k,
( )
n
) = 1. M..
u
ller and Lidl [12] suggested the replacement of polynomial
( )
kk
P x
x
by the Dickson polynomialsg a x
k( , )
in constructing the RSA type cryptosystem. TheDickson
polynomials are the polynomials defined as
[ /2]
2
0
( , )
(
)
k
i k i k
i
k
i
k
g a x
a x
i
k
i
for a = 1
with some properties given as: The polynomials
g a x
k( , )
also satisfies( , )
( , )
( , )
k n kn
g a x g a x
g
a x
For
a
1,
there is a simple recurrence relation, for generating these polynomials2 1
0;
02;
1k k k
g
xg
g
g
g
x
In [12] M
..
u
ller and Lidl established that Dickson polynomials are permutation polynomials if and only if gcd(, ( )
k
n
) = 1, where
( )
n
(
p
2
1
q
2
1)
. In particular, form
pq
,p
andq
are prime that is aDickson polynomial
g a x
k( , )
induces a permutation if and only if( ,(
k p
2
1)(
q
2
1))
= 1. Also,g a x
n( , )
is the inverse ofg a x
k( , )
if and only if2 2
1
((
1)(
1))
kn
mod
p
q
. Now consider the twotheorems by N
..
o
bauer in [11], [6] as follows:THEOREM 2:
Ifn
ab
,( )
( )
g x
h x
is a permutationfunction modulo
n
if and only if( )
( )
g x
h x
is a permutationfunction modulo
a
and( )
( )
g x
h x
is a permutation functionmodulo
b
.THEORE M 3:
( )
( )
g x
h x
is a permutation functionmodulo
p
e whenever( )
( )
g x
h x
is a permutation functionmodulo
p
h r g r
( ) ( )
g r h r
( ) ( )
0
mod
p
. Inparticular,
g x
( )
is a permutation polynomial modulop
e wheneverg r
( )
0
mod .
p
REMARK 2
: Let( )
( )
( )
k k
k
g x
R x
h x
be a quotient ofpolynomials over
¢
whereg x
k( )
andh x
k( )
are relatively prime in¢
[ ].
x
It is assumed that
1
;
0
1
0
;
mb
forb
¢
;
b
;
forb
0
.
If the quantities
R b
k( )
are distinct for allb
¢
n{ }
. ThenR x
k( )
is called a permutation function for{ }
n
¢
.REMARK 3:
Moreover, a rational functionR x
k( )
is a permutation function for¢
n
{ }
and for¢
n if and only if the degree of the numerator is greater than the degreeof the denominator of
R x
k( )
.In [12] Müller and Lidl also established that Rédei rational functions are permutation polynomials by the fact that the quotients of Rédei rational functions are Dickson polynomials. Applying the above theorems and remark 3 it is
observed that
Q x
k( )
, a Rédei rational function is a permutation polynomial with necessary and sufficientto Rédei rational functions in construction of cryptosystems in the following section.
4. CRYPTOSYSTEMS WITH RÉDEI
RATIONAL
FUNCTIONS
VIA
PELLCONICS
In this section, two public key cryptosystems are constructed that are based on Rédei rational functions on elements in a finite ring that are connected to the solutions of Pell's equation. The properties of Rédei rational functions given as in section 2 and the inverse property of Dickson polynomial extended to Rédei rational functions are exploited in the constructions of following crypto-systems.
ENCRYPTION:
Let
m
be the plain text message in¢
n andn
pq
withgcd m n
( , )
1
. Choose the Pell's equation
x
2
dy
2
1(
modn
)
with
d
, a non perfect square modulon
and make it public. Compute
( )
n
(
p
2
1
q
2
1)
and choose aninteger
k
such that1
k
( )
n
, with gcd( , ( ))
k
n
1
andt
be the integer such that1
( ( ))
kt
mod
n
, thenk
is an encryption key which is made public andt
is the decryption key that is kept secret. Compute the point
P
m
(
x
m,
y
m)(
modn
)
, the parametrization ofm
which is a solution of Pell'sequation
x
2
dy
2
1(
modn
)
Choose a function
f
:P
(
¢
n)
¢
n and evaluate(
m,
m)(
).
f x
y
modn
Compute
C
m
Q d f P
k( , (
m))
, the Rédei rational functions evaluated atf
ford
. Send the cipher text message
C
m to the receiverR
.
( , , ( , ),
n d f x y C
m)
is the public key.DECRYPTION:
Evaluate
f P
(
m)
f x
(
m,
y
m)
from the cipher textmessage
C
m as follows: For the secret key
t
withkt
1(
mod
( )),
n
Q d C
t( ,
m)
Q d Q d f P
t( ,
k( , (
m)))
Q d f P
kt( , (
m))
1
( , (
)) by inverse property
iff
mod ( )
m n m
Q d f P
Q
Q
n
m
n
f P
(
m)
f x
(
m,
y
m)(
modn
)
Evaluate
P
m
(
x
m,
y
m)
by solving the equations
2 2
1(mod ) and
(
,
)
(
)(mod )
m m
m m m
x
dy
n
f x
y
f P
n
Retrieve the messagem
fromP
m, the parametrizationof
m
on the Pell conicx
2
dy
2
1(
modn
)
bysolving
2
2 2
1
2
(
,
)
(
,
).
1
1
m m m
dm
m
x
y
P
dm
dm
EXAMPLE 1:
Take
p
5
andq
7
,n
pq
35
andm
13
and ford
17
take the Pell’s equation2 2
17
1(
35)
x
y
mod
. Now for( )
n
(35)
1152
we may choosek
= 5, as the encryption key for whicht
= 461, is the decryption key. By the parametrization ofm
on the Pell conic we have(
x
m,
y
m)
P
m
(2,13)
and for the function1
( , )
x
f x y
y
we have(
m)
(2,13) 11(
35)
f P
f
mod
then the cipher text( , (
))
m k m
C
Q d f P
is evaluated as:5
1 1 1
1 1
( , (
))
(17,11)
(17,11)
(17,11)
(17,11)
(17,11)
(17,11)
k m
d d
d d
Q d f P
Q
Q
Q
Q
Q
Q
e
e
e
e
= 34.
Now for the decryption of the cipher text, with the public key
and the decryption key
t
= 461,f P
(
m)
modn
is evaluated as:461
(
m)
(17,34)
35 11
35.
Now solving the equations
2 2
17
1(
35)
(
,
) 11(
35).
m m m m
x
y
mod
andf x
y
mod
We have
P
m
(
x
m,
y
m)
(2,13)
, then the parametrization ofm
on the Pell conic gives2
2 2
17
1
2
(2,13)
(
,
)
17
1 17
1
m
m
m
P
m
m
from which weretrieve the message
m
asm
= 13.In this section, the relations between Rédei rational functions and solutions of Pell's equation
are studied in [14] to construct another public key
cryptosystem by exploiting the propertiesof Rédeirational
functions on
¢
n by using the following lemma.LEMMA 2:
For any solution( ,
x y
1 1)
of Pell's equation satisfyingx
12
dy
12
1
we have1 2
1
1
,
nn
n
x
x
Q
d
y
y
ENCRYPTION
:
Let
m
be the plain text message in¢
n andn
pq
withgcd m n
( , )
1
. Let
e
be an integer such that1
e
( )
n
with( , ( ))
1
gcd e
n
ande
is made public. Consider the Pell's equation
x
2
dy
2
1(
modn
)
with
d
, such thated
1
mod
( ( ))
n
e
is chosen such thatd
is a non perfect square modulon
. Compute
( )
n
(
p
2
1
q
2
1)
and choose aninteger
k
such that1
k
( )
n
, with gcd( , ( ))
k
n
1
andt
be the integer such that1
( ( ))
kt
mod
n
, thenk
is an encryption key which is made public andt
is the decryption key that is kept secret. Compute the point
P
m
(
x
m,
y
m)(
modn
)
, the parametrization ofm
which is a solution of Pell'sequation
x
2
dy
2
1(
modn
)
Compute m 2k
( ,
1
m)
m
x
C
Q
d
y
, the Rédei rationalfunction evaluated at
1
mm
x
y
for
d
. Send the cipher text message
C
m to the receiverR
.
( , ,
n e C
m)
is the public key.DECRYPTION:
Evaluate
(
x
m,
y
m)
from the cipher text messageC
m as follows:First find the value
u
m
Q d c
t( ,
m)
Next note
2
1
( ,
)
( ,
( ,
m))
t m t k
m
x
Q d C
Q d Q
d
y
2
1
( ,
m)
kt
m
x
Q
d
y
2
( ,
1
m)
m
x
Q d
y
(
)
[14]
m m
x
modn by
y
by the inverse property
Q
n
Q
m iff( )
n
mmod
n
Therefore we have
(
)
m m m
x
u
modn
y
Evaluate
P
m
(
x
m,
y
m)
by solving the equations
x
m2
dy
m2
1(
modn
)
x y
m m1
u
m(
modn
).
retrieve the message
m
fromP
m, the parametrization ofm
on the Pell conicx
2
dy
2
1(
modn
)
by solving2
2 2
1
2
(
,
)
(
,
).
1
1
m m m
dm
m
x
y
P
dm
dm
EXAMPLE 2:
Take
p
5
andq
7
,n
pq
35
andm
13
and takee
17
be an integer such that1 17
24)
with(17, 24)
1
17
d
such that17.17 1
mod
(24)
and consider thePell’s equation
x
2
17
y
2
1
mod
35)
.Now for
( )
n
(35)
1152
, we may choosek
= 5, as the encryption key for whicht
= 461, is the decryption key. By the parametrization ofm
on the pell conic we have(
x
m,
y
m)
P
m
(2,13)
. Then the cipher text2
1
( ,
m)
m k
m
x
C
Q
d
y
is evaluated as:2 10
1
( ,
m)
(17,11)
k
m
x
Q
d
Q
y
= 26
Now for the decryption of the cipher text, with the public key
and the decryption key
t
= 461, mm
x
y
modn
is evaluated as:461
(17, 26)
35
m m
x
Q
mod
y
19
mod
35
Now solving the equations
2 2
17
1
35
m m
x
y
mod
19
35
m m
x
mod
y
We have
P
m
(
x
m,
y
m)
(2,13)
, then the parametrization ofm
on the Pell conic gives2
2 2
17
1
2
(2,13)
(
,
)
17
1 17
1
m
m
m
P
m
m
from which weretrieve the message
m
asm
= 13.5. CONCLUSION
The cryptosystem constructed is based on super enciphering, the encryptions by pell conics with Rédei rational functions over finite ring that induce permutations. i.e. The encryptions of the proposed cryptosystems are based on evaluating Rédei
rational functions
Q d z
k( , )
¢
n with the valuesz
n
¢
connected to the solutions of the Pell’s equation2 2
1
x
dy
in¢
n. The connection between these evaluations and the convergents of solutions of Pell’s equation are used in the construction of the second cryptosystem. The security of the system depends on difficulty of factoringn
andthe role of
( )
n
as in RSA is replaced by
( )
n
. This makes the proposed cryptosystem more secure than RSA cryptosystem from the classical attacks with time algorithm( (exp lg( )))
O ld
d
. This idea may be extended to other cryptosystems involving permutation polynomials.REFERENCES
[1] A. K. Bhandari, The public key cryptography. Proceedings of the advanced instructional workshop on Algebraic number theory, HBA (2003)287-301.
[2] J. Buchmann, Introduction to cryptography , Springer-Verlag 2001.
[3] W.S.Chou, The factorization Dickson polynomials over finite fields, Finite fields Appl.3,1997.
[4] S.D.Cohen, Dickson permutations in Number-theoritic and Algebraic methods in computer science. Moscow, 1993.
[5] M.Fried-R.Lidl, On Dickson Polynomials And Rédei Function, Contributions to general algebra 5, Proceedings of the Salzburg conferene, Mai29-june1,1986.
[6] Hans Lausch and Wilfried Nobauer, Algebra of Polynomials, North Holland publishing company-1973. [7] M.jacobson, W.Hugh, Solving the pell equation, CMS
Books in mathematics, canadian mathematical society, 2009.
[8] F.Lemmermeyer, Higher descent on Pellconics. III. The
first 2-descent, available on
http://arxiv.org/abs/math/0311310v1,2003.
[9] Lenstra H.W Jr. Solving the pell equation. Notice of AMS v.49 no.2 186-192 (2002).
[10]Neal Koblitz, A course in number theory and cryptography. ISBN 3-578071-8,SPIN 10893308 . [11]Nobauer Wilfried, Uber Permutationspolynome und
Permutationsfunktionen fur Primzahlpotenzen.
[12]Rudolf Lidl and Winfried B. Muller, Permutation polynomials in RSA cryptosystems, Springer-Verlag(1998).
[13]Sahadeo Padhye, A Public key cryptosystem based on pell equation.
[14]Stefano Barbero, Umberto Cerruti and Nadir Murru, Solving the Pell Equation via Rédei rational functions. [15][Wilfried B.Muller and Rupert Nobauer, Cryptanalysis of