i am trying to create Generator polynomial for 7 error correction code words. i don't understand how coefficients calculate. The QR code specification says to use byte-wise modulo 100011101 arithmetic (where 100011101 is a binary number that is equivalent to 285 in decimal). This means that when a number is 256 or larger, it should be XORed with 285.
In other words: 2^8 = 256 xor 285 = 29 ok. But how can i calculate 5334?
5334 xor 285 = 5579 still bigger than 256.
the answer is 122. i don't understand how we found 122 ? thank you so much.