- Snippet from Wikipedia: Discrete logarithm
In mathematics, for given real numbers and , the logarithm is a number such that . The discrete logarithm is an analogous concept in group theory. In any group , powers can be defined for all integers , and the discrete logarithm is an integer such that . In the special case of arithmetic modulo an integer , the more commonly used term is index: One can write when .
Discrete logarithms are quickly computable in a few special cases, but no efficient method is known for computing them in general. Several cryptographic systems, including Diffie–Hellman and ElGamal, base their security on the hardness assumption that the discrete logarithm problem over carefully chosen groups has no efficient solution. In general, there is no subexponential time solution for black box groups.
