gf(2) mod

c = a % b

Calculate c = a/b, result is cremainder

gf(2) Polynomial long division

c = a/b

a = b0000000000000000000000000000000001000000000000000000000000000000
a = 0x0000000040000000
a = x30

b = b0000000000000000000000000000000010110000110000010101001011111001
b = 0x00000000b0c152f9
b = x31 + x29 + x28 + x23 + x22 + x16 + x14 + x12 + x9 + x7 + x6 + x5 + x4 + x3 + 1

  1000000000000000000000000000000 | 10110000110000010101001011111001

cquotient = b0000000000000000000000000000000000000000000000000000000000000000
cquotient = 0x0000000000000000
cquotient = 0

cremainder = b0000000000000000000000000000000001000000000000000000000000000000
cremainder = 0x0000000040000000
cremainder = x30