Alex says: http://en.wikipedia.org/wiki/Finite_field_arithmetic is a more explicit treatment of how to compute in finite fields, with emphasis on GF(2^q) and especially Rijndael's one