python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
How to write a polynomial in x**3 instead of x using Polynomial
At the moment i have a polynomial (of a galois field) in function of x. But i want to "evaluate" it in x^3.
Any ideas on how to do it?
import galois
GF = galois.GF(31)
f = galois.Poly([1,...
kabooya
Votes: 0
Answers: 1
modulo reduction in field of non primitive order
I'm getting started with AES and need to calculate the inverse for S-byte table. I'm trying to generate exponential and logarithm table for inversion with generator 3. The exponents works fine till I ...
Shanks Limbu
Votes: 0
Answers: 1
how to caculate in GF(2^8) in Python?
x=Symbol('x')
M=Matrix([[1,x],[x^2,x^3]])
s=M.det()
f=lambdify(x,s)
I need to know f(2)=? in GF(2^8),the caculate rules obey the GF(2^8)
Marat
Votes: 0
Answers: 2