(Easy to compute): There is a polynomial-time algorithm that on input outputs .
(Hard to invert): For all PPT algorithms there is a negligible function such that:
Definition. If an element has order , then .
In this case, we call a Cyclic Group and say that is a Generator of .
Theorem: If is a group of prime order , then is cyclic.
Furthermore, all elements of except the identity element are generators of .
Fix a cyclic group of order , and generator .
We know that: .
Equivalently, for every , there is a unique , such that .
Define to be this . This is the discrete logarithm of with respect to (in the group ).
Discrete Logarithm problem in : Given , and uniform , compute .
Discrete Logarithms obey same rules as standard logs:
Definition. The Discrete Logarithm problem is hard relative to if for all probabilistic polynomial time algorithms , there exists a negligible function such that:
Fix cyclic group of order , and generator .
Given elements , define .
That is, if , , then .
CDH problem in (Informal): Given , and uniform , compute .
Fix cyclic group of order , and generator .
Given elements , define .
That is, if , , then .
DDH problem in (Informal): Given , and uniform , distinguish from a uniform group element in .
Let be a group-generation algorithm. On input , outputs a cyclic group , its order , (with bit length ), and a generator .
Definition. The DDH problem is hard relative to if for all PPT algorithms , there is a negligible function such that:
where the probabilities are taken over the experiment in which outputs and then uniform are chosen.
— Mar 21, 2023
Made with ❤ at Earth.