1 | initial version |
Is this what you want?
R.<x> = GF(2)[]
K.<a> = GF(4, modulus=x^2+x+1)
L = lfsr_sequence([1,a], [0,1], 20)
print(L)
2 | No.2 Revision |
Is this what you want?
R.<x> = GF(2)[]
K.<a> = GF(4, modulus=x^2+x+1)
modulus=[1,1,1])
L = lfsr_sequence([1,a], [0,1], 20)
print(L)