Skip to content
Advertisement

Tag: finite-field

How to perform addition and multiplication in F_{2^8}

I want to perform addition and multiplication in F_{2^8} I currently have this code which seems to work for add but doesn’t work for multiply; the issue seems to be that when I modulo by 100011011 (which represents x^8 + x^4 + x^3 + x + 1), it doesn’t seem to do it. Another idea would be to use numpy.polynomial

Advertisement