Computing Logarithms in GF(2n)

Consider the finite field having q elements and denote it by GF(q). Let α be a generator for the nonzero elements of GF(q). Hence, for any element b≠0 there exists an integer x, 0≤x≤q−2, such that b=αx. We call x the discrete logarithm of b to the base α and we denote it by x=log α b and more simply by log b when the base is fixed for the discussion. The discrete logarithm problem is stated as follows: