Class NormalIntCrc

All Implemented Interfaces:
Hash, IncrementalIntHash, StatelessHash, StatelessIntHash

final class NormalIntCrc extends AbstractIntCrc
Implements a "normal" MSB-first int-width CRC function using a lookup table. Does not support bit-widths less than 8.
  • Constructor Details

    • NormalIntCrc

      NormalIntCrc(String algorithm, int bitWidth, int poly, int init, int xorOut)
  • Method Details

    • resumeRaw

      protected int resumeRaw(int crc, byte[] input, int index, int length)
      Specified by:
      resumeRaw in class AbstractIntCrc