Discrete Logarithm Problem
This lesson contains quite a few definitions written conceptually so as to resonate with the terminology which is applied to ECDSA.
Cyclic groups form the basis of discrete logarithm cryptosystems.
In very non-mathematical terms, a group is considered as a cyclic group when elements start repeating themselves after a certain known number. They have an essential property which is the "Generator" of the group, explained below -
Generator of the group - Consider a group G. An element g of the group is called the generator if g can generate the entire group, i.e., every element a of G can be written as gi, i.e., gi=a
The generator has practical implications and is used extensively for cryptosystems. Let us attempt to understand this using an example.
z11 is a cyclic group and where g denotes the generator.
Let β be an element of z11, then gx≡β mod 11. Finding the x involves the same process as solving the Discrete Logarithm Problem. Under certain conditions, it is computationally hard to solve the equation for x and hence this property can be leveraged and considered a security measure.

Discrete Logarithm Problem - Recall from elementary mathematics where in order to compute the exponent, we need to perform the logarithm. Hence, the name of the Discrete Logarithm Problem (DLP).
Let p and β be elements of Zp∗, with generator g.
We define the DLP in this instance as - find x such that gx≡β mod p
When p is large enough, finding x in the above equation is computationally hard to solve.
Generalised Discrete Logarithm Problem - One of the features of the DLP is that it is not restricted to Zp∗ but can be defined over any cyclic group. This makes it extremely useful in building crypto systems and why it is therefore used in ECDSA as well.

Last updated
