GF2n
GF(2^n) denotes a finite field with 2^n elements and characteristic 2. It can be constructed as the quotient GF(2)[x]/(f(x)) where f(x) is an irreducible polynomial over GF(2) of degree n. Each element of GF(2^n) can be represented as a polynomial of degree at most n−1 with coefficients in {0,1}, or equivalently as an n-bit binary vector. Different choices of f(x) yield different representations of the same abstract field; all fields GF(2^n) are isomorphic.
Arithmetic in GF(2^n) is defined with respect to this representation. Addition is performed by bitwise XOR of
Representations and optimization: GF(2^n) supports different basis choices, which affect hardware and software efficiency for field