[go: up one dir, main page]

0% found this document useful (0 votes)
43 views20 pages

Lecture 5a - Introduction To Mathematics - Part-3

The document provides an introduction to algebraic structures in cryptography, focusing on groups, rings, and fields. It explains the properties of groups, including closure, associativity, identity, and inverse, and discusses both commutative and non-commutative groups with examples. Additionally, it covers concepts like finite groups, subgroups, cyclic subgroups, and Lagrange's Theorem, illustrating these ideas with specific examples from integer sets.

Uploaded by

ankitsonwani14
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views20 pages

Lecture 5a - Introduction To Mathematics - Part-3

The document provides an introduction to algebraic structures in cryptography, focusing on groups, rings, and fields. It explains the properties of groups, including closure, associativity, identity, and inverse, and discusses both commutative and non-commutative groups with examples. Additionally, it covers concepts like finite groups, subgroups, cyclic subgroups, and Lagrange's Theorem, illustrating these ideas with specific examples from integer sets.

Uploaded by

ankitsonwani14
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 20

Course: Cryptography and Network Security

Code: CS-34310
Branch: M.C.A - 4th Semester
Lecture – 5a: Introduction to Cryptography Mathematics- Part-3

Faculty & Coordinator : Dr. J Sathish Kumar (JSK)

Department of Computer Science and Engineering


Motilal Nehru National Institute of Technology Allahabad,
Prayagraj-211004
ALGEBRAIC STRUCTURES
• Cryptography requires sets of integers and specific operations that
are defined for those sets.
• The combination of the set and the operations that are applied to the
elements of the set is called an algebraic structure.
• Three common algebraic structures:
• Groups
• Rings, and
• Fields.
Groups
• A group (G) is a set of elements with a binary operation (•) that satisfies
four properties (or axioms).
• Closure
• If a and b are elements of G, then c = a•b is also an element of G.
• Associativity
• If a, b and c are elements of G, then (a•b) •c=a•(b•c)
• Existence of identity
• For all a in G, there exist an element e, called the identity element, such that
e•a=a•e=a
• Existence of inverse
• For each a in G, there exists an element a’, called the inverse of a, such that
a•a’=a’•a=e
Groups
• A Commutative group (Abelian group) is group in which the operator
satisfies four properties plus an extra property that is commutativity.
• For all a and b in G, we have a • b = b • a
• Application
• Although a group involves a single operation, the properties imposed on the
operation allow the use of a pair of operations!!!!
• Example
• The set of residue integers with the addition operator,
G = < Zn , +>,
is a commutative group.
Check the properties….
Groups
Let us check the properties.
1. Closure is satisfied. The result of adding two integers in Zn is another
integer in Zn.
2. Associativity is satisfied. The result of 4 + (3 + 2) is the same as (4 + 3) + 2.
3. Commutativity is satisfied. We have 3 + 5 = 5 + 3.
4. The identify element is 0. We have 3 + 0 = 0 + 3 = 3.
5. Every element has an additive inverse. The inverse of an element is its
complement. For example, the inverse of 3 is −3 (n − 3 in Zn) and the inverse
of−3 is 3. The inverse allows us to perform subtraction on the set.
Groups
• The set Zn* with the multiplication operator, G = <Zn*, ×>, is also an
abelian group.
• We can perform multiplication and division on the elements of this
set without moving out of the set.
• It is easy to check the first three properties.
• The identity element is 1.
• Each element has an inverse that can be found according to the
extended Euclidean algorithm.
Groups
• Let us define a set G = < {a, b, c, d}, •> and the operation

Check for properties….


• Is the group abelian????
Groups
• This is an abelian group. All five properties are
satisfied:
1. Closure is satisfied. Applying the operation on any
pair of elements result in another elements in the set.
2. Associativity is also satisfied. To prove this we need
to check the property for any combination of three
elements. For example, (a + b) + c = a + (b + c) = d.
3. The operation is commutative. We have a + b = b + a.
4. The group has an identity element, which is a.
5. Each element has an inverse. The inverse pairs can
be found by finding the identity in each row (shaded).
The pairs are (a, a), (b, d), (c, c).
Groups
• A very interesting group is the permutation group.
• The set is the set of all permutations, and the operation is composition:
applying one permutation after another.

Read from right to left:


The first permutation is [1 3 2] followed by [3 1 2];
the result is [3 2 1].
Operation table for permutation group

Check for properties….


• Is the group abelian????
Permutation group
• Closure is satisfied.
• Associativity is also satisfied.
• The commutative property is not satisfied.
• The set has an identity element, which is [1 2 3] (no permutation).
• Each element has an inverse.
• Set of permutations with the composition operation is a group.
• This implies that using two permutations one after another cannot strengthen
the security of a cipher, because we can always find a permutation that can do
the same job because of the closure property.
Groups
• Finite Group
• If the set has a finite number of elements; otherwise, it is an infinite group.
• Order of a Group |G|
• The number of elements in the group.
• If the group is finite, its order is finite
• Subgroups
• A subset H of a group G is a subgroup of G if H itself is a group with respect to the
operation on G
• If G=<S, •> is a group, H=<T, •> is a group under the same operation, and T is a
nonempty subset of S, then H is a subgroup of G
• If a and b are members of both groups, then c=a•b is also member of both groups
• The group share the same identity element
• If a is a member of both groups, the inverse of a is also a member of both groups
• The group made of the identity element of G, H=<{e}, •>, is a subgroup of G
• Each group is a subgroup of itself
Groups
• Finite Group
• If the set has a finite number of elements; otherwise, it is an infinite group.
• Order of a Group |G|
• The number of elements in the group.
• If the group is finite, its order is finite
• Subgroups
• A subset H of a group G is a subgroup of G if H itself is a group with respect to the
operation on G
• If G=<S, •> is a group, H=<T, •> is a group under the same operation, and T is a
nonempty subset of S, then H is a subgroup of G
• If a and b are members of both groups, then c=a•b is also member of both groups
• The group share the same identity element
• If a is a member of both groups, the inverse of a is also a member of both groups
• The group made of the identity element of G, H=<{e}, •>, is a subgroup of G
• Each group is a subgroup of itself
Groups
• Is the group H = <Z10, +> a subgroup of the group G =
<Z12, +>?
• The answer is no. Although H is a subset of G, the
operations defined for these two groups are different.
The operation in H is addition modulo 10; the operation
in G is addition modulo 12.
Groups
• Cyclic subgroups
• If a subgroup of a group can be generated using the power of an element, the
subgroup is called the cyclic subgroup.
Groups
• Four cyclic subgroups can be made from the group G = <Z6, +>.
• They are H1 = <{0}, +>, H2 = <{0, 2, 4}, +>, H3 = <{0, 3}, +>, and H4 = G.
Groups
• Exercise:
– Find out the cyclic subgroups for group G =
<Z10∗, ×>.
Groups
• Three cyclic subgroups can be made from the group G = <Z10∗, ×>.
• G has only four elements: 1, 3, 7, and 9.
• The cyclic subgroups are H1 = <{1}, ×>, H2 = <{1, 9}, ×>, and H3 = G.
Groups
• Cyclic group
– A cyclic group is a group that is its own cyclic subgroup.

• Example:
• Three cyclic subgroups can be made from the group G = <Z10∗, ×>.
• The cyclic subgroups are H1 = <{1}, ×>, H2 = <{1, 9}, ×>, and H3 = G.
• The group G = <Z10∗, ×> is a cyclic group with two generators, g = 3 and g = 7.
• The group G = <Z6, +> is a cyclic group with two generators, g= 1 and g = 5.
Lagrange’s Theorem

• Assume that G is a group, and H is a subgroup of G.


• If the order of G and H are |G| and |H|, respectively, then, based on
this theorem, |H| divides |G| .
• Order of an Element
– The order of an element is the order of the cyclic group it generates.
• Example:
• In the group G = <Z6, +>, the orders of the elements are:
ord(0) = 1, ord(1) = 6, ord(2) = 3, ord(3) = 2, ord(4) = 3, ord(5) = 6.
• In the group G = <Z10*, ×>, the orders of the elements are:
ord(1) = 1, ord(3) = 4, ord(7) = 4, ord(9) = 2.

You might also like