In my program , I am gonna be feeding integers as arguments from command line to a sage script that deals with finite fields.
I need to convert these ints to their corresponding finite field representation.
for example,
in a GF(2^8) : int(3) => a+1 in GF
I read the manual and I found this method of Givaro fields implementation
integer_representation
()
it does the opposite
for example
sage: k(a+1).integer_representation()
3
it seems that sage is aware about mapping GF to int representation,
so is there a way to execute my request ?