Class GF256

java.lang.Object
com.itextpdf.text.pdf.qrcode.GF256

public final class GF256 extends Object

This class contains utility methods for performing mathematical operations over the Galois Field GF(256). Operations use a given primitive polynomial in calculations.

Throughout this package, elements of GF(256) are represented as an int for convenience and speed (but at the cost of memory). Only the bottom 8 bits are really used.

Since:
5.0.2
Author:
Sean Owen
  • Field Details

    • QR_CODE_FIELD

      public static final GF256 QR_CODE_FIELD
    • DATA_MATRIX_FIELD

      public static final GF256 DATA_MATRIX_FIELD