How to convert an Integer to a GF representation
Hi,
I would like to convert an Integer to a GF, however I do not seem to find anything about this or whether it is possible or not. I am using the following code:
e = 48
n = 2
m = 3
F.<t> = GF(2)[]
K.<q> = GF(2^48, name='q', modulus=t^48 + t^28 + t^27 + t + 1, repr='int')
test = 0x944a58ec1f29
print test
print Integer(test)
print K(test)
Thank you