Cyclic Group & Generator
Now we know that with modulo, we can have a group with finite set that is what cryptography operation needs. We introduce a concept of Cyclic Group & generator
Definition
Cyclic Group & Generator
A group is cyclic if there exists an element ("a generator") such that every other element of the group can be written as a power of this generator.
Math Expression
Consider the Group with "Modular Multiplication" Operation. is cyclic if and only if there exists the element (called a generator), such that =
Example
Let’s say we work in (integers modulo 7, excluding 0), which consists of 6. We can check if 3 is a generator as follows:
Since 3 generates all elements of the group , 3 is a generator. Not every element will do this — for instance, 2 in the same group only generates some elements.
Give another example of cyclic group and its corresponding generator, including explaining why that group is cyclic and why that number is a generator.
The concept of Generator allows us to visit every possible element in our group by simple multiplication. This brings us to one of the most important assumptions in cryptography: the discrete logarithm assumption.”
Definition
Discrete Log Assumption
Hard to know from when , where is a generator, and is large prime
Discrete Log Problem
A specific math problem that asks you to solve , , where is a generator, and is large prime
What's the difference between Discrete Logarithm Problem and Discrete Logarithm Assumption?
Intuition Behind Difficulty
Imagine standing in a circle with numbered positions (the group elements) and repeatedly stepping forward (exponentiation) from some starting point. If I tell you where I end up (the result of exponentiation), it’s very hard for you to figure out how many steps I took (the exponent).
While it’s easy to compute (even for very large 𝑝), going in reverse — that is, finding 𝑥 given — is much harder. In the next chapter, we will see that this assumption is a cornerstone of cryptography and underpins protocols like Diffie-Hellman and elliptic curve cryptography.”
Why does the Discrete Logarithm Problem require a Cyclic Group and a Generator?