Class ReflectedLongCrc

    • Constructor Detail

      • ReflectedLongCrc

        ReflectedLongCrc​(java.lang.String algorithm,
                         int width,
                         long poly,
                         long init,
                         long xorOut)
    • Method Detail

      • initial

        protected long initial()
        Description copied from class: AbstractIncrementalLongHash
        The initial state of the hash function, which is the same as the output value for an empty input sequence.
        initial in class AbstractLongCrc
        the initial hash state/output
      • resumeRaw

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