The task is to find the generator of the finite field. There are multiple ways to do this:
Naive implementation (brute-force). Credits to Landryl
@ Cryptohack.
|
|
My solution in Sage:
|
|
Shorter solution in Sage:
|
|
The task is to find the generator of the finite field. There are multiple ways to do this:
Naive implementation (brute-force). Credits to Landryl
@ Cryptohack.
|
|
My solution in Sage:
|
|
Shorter solution in Sage:
|
|