gf(2) mod

c = a % b

Calculate c = a/b, result is cremainder

gf(2) Polynomial long division

c = a/b

a = b0000000000000000000000000000000000000000000000000000000001000000
a = 0x0000000000000040
a = x6

b = b0000000000000000000000000000000000000000001001111000101010011001
b = 0x0000000000278a99
b = x21 + x18 + x17 + x16 + x15 + x11 + x9 + x7 + x4 + x3 + 1

  1000000 | 1001111000101010011001

cquotient = b0000000000000000000000000000000000000000000000000000000000000000
cquotient = 0x0000000000000000
cquotient = 0

cremainder = b0000000000000000000000000000000000000000000000000000000001000000
cremainder = 0x0000000000000040
cremainder = x6