Calculating the generator of a Finite Field

484 Views Asked by At

I'm trying to understand how to compute the generator of a finite field.

$\alpha \in GF(q)$

so for example if I was working with $GF(2^8)$

I think I would need to find

$\alpha ^ {256-1} \equiv 1 (\mod 256)$

How do I calculate that?