Class NormalLongCrc

All Implemented Interfaces:
Hash, IncrementalLongHash, StatelessHash, StatelessLongHash

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

    • NormalLongCrc

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

    • resumeRaw

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