Beruflich Dokumente
Kultur Dokumente
SECURITY
UNIT-I
Finite fields
Finite fields are field with a finite amount of elements. These are special types of sets that are
closed under addition, substraction, multiplication and division (except for 0).
It contains Group. A Group G is a non-empty set together with a binary operation (*), such that
the following three properties are satisfied:
Associativity-> (a*b)*c=a*(b*c) for all a,b,c G
Identity-> There is an element e G, such that a * e=e * a=a for all a G
Inverses-> For each element a G, there is an element b G such that a*b=b*a=e
i.
ii.
iii.
Note: A binary operation on G is a function that assigns each ordered pair of elements G, an
element of G (closure) (i.e.) if a and b belongs to G, then a*b is also in G.
Its Terminologies:
i.
ii.
iii.
iv.
gn=g y g
In a finite group, the order of each element of the group divides the order of the group.
Here
Properties of Group:
for all g G , g=e
for all n, m 1, g G ,
gn=g n1g
n
m
n +m
g g =g
(gn )1=gn = ( g1)n
(gm )n=gmn
V.MANOJKUMAR\AP\IT
Page 1
UNIT-I
SECURITY
Abelian Groups:
If G is a group and for all a,b G , we have a*b=b*a (communtating ) then G is called
an abelian Group.
In an abelian Group G,. for all a,b G ,
( ab )1 = b1a1=a1b1 .
Cyclic Groups:
.
Such an element g is called a generator of G.
Here |g|=|G|
z 4 (Group of integers modulo 4 is cyclic since)
z 4 = {0, 1, 2, 3} and 3+0=3,3+3=6 2 (mod 4)
3+3+3=9 1(mod 4) , 3+3+3+3=12 0 (mod 4 ) .
So 3 is a generator.
An integer K in z n is a generator of z n if and only if gcd (n, k) =1.
Rings:
A Rings R is a non-empty set with two binary operations, addition (denoted by a+b) and
Commutative Rings:
R.
a (b+c)=ab+ac=(b+c)a (commutativity).
A unit is a non-zero element of a commutative Ring with unity that has a multiplicative inverse.
Integral Domains:
A zero-divisor is a non-zero element a R, R is a commutative ring such that there is a nonzero element b R with ab=0.
An Integral Domain is a commutative ring with unity and no zero-divisors.
V.MANOJKUMAR\AP\IT
Page 2
UNIT-I
SECURITY
Fields:
A field is a commutative ring with unity in which every non-zero element is a unit. C,R,Q are all
examples of infinite fields.
Every field is an integral domain, infact a finite integral domain is a field.
Z p is a field:
For every prime P, Z p , the ring of integers modulo P, is a field.
V.MANOJKUMAR\AP\IT
Page 3
UNIT-I
SECURITY
Modular Arithmetic
For given any positive integer n and non-negative integer a, if we divide a/n, gets an
integer Quotent of the integer remainder r.
a=Qn+r 0 r n ; Q=
[]
a
.
n
Residue:
The remainder r is often called as residue.
Modules:
If a is an integer, n is a positive integer, we defined a mod n to be a remainder when a/n.
The integer A is called Modulus.
Hence for any integer a.
V.MANOJKUMAR\AP\IT
Page 4
UNIT-I
SECURITY
[]
a
n+ ( a mod n ) .
n
Congruent Modulo:
Divisors:
Properties:
If a/1, then a= 1.
any b 00.
(mod n) operator can map all integers into the set of integers {0,1,.(n-1))}, this
technique is called modular arithmetic.
Its Properties:
Z n ={ 0,1, .. ( n1 ) }
Properties of modular arithmetic for integers in Z n .
i)
Commutative laws.
(w+x) mod n= (x+w) mod n
(w*x) mod n=(x*w) mod n.
ii)
Associative Laws.
[(w+x)+y] mod n=[ w+(x+y)] mod n
[(w*x)*y] mod n=[w*(x*y)] mod n.
iii)
Distribution laws.
V.MANOJKUMAR\AP\IT
Page 5
UNIT-I
SECURITY
Identities
(o+w) mod n=w mod n
(l*w) mod n = w mod n.
v)
C is a divisor of a and b.
Any divisor of a and b, is a divisor of c.
An equivalent definition:
gcd(a, b)=max[k, such that k/a and k/b].
The gcd is positive.
Example:
Gcd(60,24)
Gcd(60,-24)=12
Finding Greatest Common Divisor:
The Euclidean algorithm is based on following theorem: For any non-negative a, and any
positive integer b,
gcd(a,b)=gcd(b,a mod b).
i.e gcd(55,22)
gcd(22, 55 mod 22)
V.MANOJKUMAR\AP\IT
Page 6
UNIT-I
SECURITY
gcd(22,11)
gcd(22,-11)=11
The Euclidean algorithm makes repeated use of above equation to determine gcd.
Algorithm assumes a>b>0.
The Algorithm Proces
A 1=B1Q1 + R1
A 2=B2Q 2+ R 2
A 3=B3Q3+R 3
A 4 =B 4Q4 + R4
Finite Fields of the form GF (p)
GF stands for Galois field, the mathematician, first studied finite fields.
Finite fields play important role in many cryptographic algorithms.
0 1
-w
0 0
0 1
Addition (XOR)
Multiplication
(logical AND)
Inverse
Polynomial Arithmetic:
There are three charges of Polynomial arithmetic:
i)
V.MANOJKUMAR\AP\IT
Page 7
UNIT-I
SECURITY
ii)
iii)
n
n1
i
f(x)= an x + an1 x ++ a , x +a 0= a i x
i=0
Gcd [a(x), b(x)] is the polynomial of maximum degree that divider both a(x) and b(x).
According to Euclidean algorithm to complete gcd of two polynomials:
Gcd[a(x),b(x)]=gcd[b(x),a(x)modb(x)].
V.MANOJKUMAR\AP\IT
Page 8