Discrete Logarithm Problem
Last updated
Last updated
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 . An element of the group is called the generator if can generate the entire group, i.e., every element of can be written as , i.e.,
The generator has practical implications and is used extensively for cryptosystems. Let us attempt to understand this using an example.
is a cyclic group and where denotes the generator.
Let be an element of , then . Finding the involves the same process as solving the Discrete Logarithm Problem. Under certain conditions, it is computationally hard to solve the equation for 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 and be elements of , with generator .
We define the DLP in this instance as - find such that
When is large enough, finding 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 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.