Class ReflectedIntCrc

    • Constructor Detail

      • ReflectedIntCrc

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

      • initial

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

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