com.aspose.note.infrastructure

Class Crc32

  • java.lang.Object
    • com.aspose.ms.System.Security.Cryptography.HashAlgorithm
      • com.aspose.note.infrastructure.Crc32
  • All Implemented Interfaces:
    com.aspose.ms.System.IDisposable, com.aspose.ms.System.Security.Cryptography.ICryptoTransform
    Direct Known Subclasses:
    Crc32One, Crc32OneToc2


    public abstract class Crc32
    extends com.aspose.ms.System.Security.Cryptography.HashAlgorithm

    The CRC-32.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean check(byte[] buffer, long crcValue)
      The check.
      long compute(byte[] buffer)
      The compute.
      void initialize()
      The initialize.
      • Methods inherited from class com.aspose.ms.System.Security.Cryptography.HashAlgorithm

        canReuseTransform, canTransformMultipleBlocks, clear, computeHash, computeHash, computeHash, create, create, dispose, getHash, getHashSize, getInputBlockSize, getOutputBlockSize, toString, transformBlock, transformFinalBlock
    • Method Detail

      • compute

        public long compute(byte[] buffer)

        The compute.

        Parameters:
        buffer - The buffer.
        Returns:
        The uint.
      • check

        public boolean check(byte[] buffer,
                             long crcValue)

        The check.

        Parameters:
        buffer - The buffer.
        crcValue - The CRC value.
        Returns:
        The bool.
      • initialize

        public final void initialize()

        The initialize.

        Specified by:
        initialize in class com.aspose.ms.System.Security.Cryptography.HashAlgorithm