Hi,

I have a finite field Fp with p = 11 mod(12) and I am trying to get the third nontrivial root of unity in Fp^2 = Fp[x]/(x^2+1). So, i need x where x^3=1.

Somehow I came into a source saying that it would be:
(p-1)/2 + (3^((p+1)/4)) mod(p))*i where i^2=-1.
But it seems not to be correct:
Any idea?